[maemo-developers] [maemo-developers] Re: Disconnect rfcomm stays between bt_disconnected and rf_disconnected
From: koos vriezen koos.vriezen at gmail.comDate: Tue Mar 28 21:02:57 EEST 2006
- Previous message: [maemo-developers] 770 display failure workaround
- Next message: [maemo-developers] [Iscsitarget-devel] Core-iSCSI/Nokia 770
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2006/3/28, Jari Tenhunen <jari.tenhunen at iki.fi>: > On Tue, Mar 28, 2006 at 04:45:05PM +0200, koos vriezen wrote: > > > 2006/3/27, Jari Tenhunen <jari.tenhunen at iki.fi>: > > > > > > > I don't really follow, what are you trying to say here? > > > > > > > > We will release the BT plugin soon and Tapio will probably release an > > > > updated GpsDrive package that will work with it. > > > > > > That is great. I got the impression that there wasn't any work being > > > done for this. The version at ApplicationCatalogWip is from nov'05. > > > Is there a public CVS repository or snapshots available. (my problem > > > is that I need it ASAP, will be on the road a lot the coming weeks). > > > Would be great if I can test your newly BT plugin and see if it's any > > > better than what I have now (eg. could be my el-cheapo GPS receiver as > > > well). > > > > Can you answer this please, I really want to get this going real soon. > > Currently there is no CVS or SVN repository for the project but we hope > to get one real soon. The updated GpsDrive might available already > tonight, I'll send you an email once it's there. > > If you're *really* in a hurry and can't wait for the official release > (should happen some time this week) I can send you a binary pre-release > of the BT plugin (the configuration tool I mentioned) that works with > the updated GpsDrive. > > Patience, my friend ... =) Ok, this week sound fast enough ;-) > > Maybe you can help solving the PIN issue. If I connect, I get the > > 'pin_req' signal, but where should I send the pin to? I did register > > an object path with 'com.nokia.btpin.request.register' (and I did do > > 'dbus_bus_acquire_service' and 'dbus_connection_register_object_path' > > for it), but the callback is never called. > > How does that work? > > What now happens is a pin popup, which also works for setting up this > > connection. > > My code is based on Tomas Junnonen's btkeyboard-plugin, > http://770.fs-security.com/keyboards.html, you may find some help there. > I can get back on this issue later when I'm not so busy... Darn I made a mistake, shouldn't have added the 'request' path on btpin. Anyhow, my version works for me. Attached the source for anyone that may need some extra references on dbus-0.23 (I didn't find anything useful for this version, only at https://stage.maemo.org/viewcvs.cgi/maemo/projects/haf/branches/libosso/0.9-branch/src/ ). This is really a quick & dirty tool to get it working, run as LD_LIBRARY_PATH=/var/lib/install/usr/lib bt-gps <BT-Address> <PIN> (library path is for launching gpsd) I also noted that once gpsdrive reports a timeout on the GPS, gpsd hangs and isn't killable w/ INT or TERM. Only KILL will do then, so this little app also does that :-) Koos -------------- next part -------------- A non-text attachment was scrubbed... Name: bt-gps.cpp Type: text/x-c++src Size: 14364 bytes Desc: not available Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20060328/7097afa6/attachment.cpp
- Previous message: [maemo-developers] 770 display failure workaround
- Next message: [maemo-developers] [Iscsitarget-devel] Core-iSCSI/Nokia 770
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]