maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   BLUEZ: How to determine if known device is reachable (https://talk.maemo.org/showthread.php?t=35256)

skomialek 2009-11-27 16:35

Re: BLUEZ: How to determine if known device is reachable
 
Quote:

Originally Posted by fredoll (Post 396285)
I was thinking that you could look the source code ...

yeah .. :) sorry - misunderstanding :)... I'm bit to tired..
anyway - problem solved :)

lma 2009-11-27 20:16

Re: BLUEZ: How to determine if known device is reachable
 
I think l2ping (in package bluez-test, from the tools repository) does what you want (at the L2CAP level, ie without needing RFCOMM channels etc), but the catch is that it requires root permissions to create the raw bluetooth socket.

Sveinn 2009-12-05 02:18

Re: BLUEZ: How to determine if known device is reachable
 
Hi Skomialek,

I am trying to do the same thing as you actually. Can you tell me a little bit more about how you do a bluetooth scan using the bluez api (like what api calls and stuff) ?

Thanks,
Sveinn

hopbeat 2009-12-05 21:01

Re: BLUEZ: How to determine if known device is reachable
 
Hello @Sveinn.
@Skomialek is still struggling with this issue (we are doing the project together :) ). It should be ready in a few days, we will be happy to help you with this. Please also note, that it will be a part of a library (context toolbox), so if our functionality will be enough, you could just use it :)
Drop me a PM so I can keep a track of people interested in APIs :)


All times are GMT. The time now is 15:58.

vBulletin® Version 3.8.8