how to detect if a device is up.
suppose you manage a list of 'seen' but not necessarily paired devices. How can you figure out if a certain device is UP or not ?
l2ping apparently not since you need to be paired with that device or else you get permission denied
W
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Wim,
Quoted 2 lines
suppose you manage a list of 'seen' but not necessarily paired devices. How can you figure out if a certain device is UP or not ?
for remote device you have to page them.
Quoted 2 lines
l2ping apparently not since you need to be paired with that device or else you get permission denied
This is only true is the remote device uses security mode 3.
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 4 lines · wim delvaux
suppose you manage a list of 'seen' but not necessarily paired devices. How can you figure out if a certain device is UP or not ? l2ping apparently not since you need to be paired with that device or else you get permission denied
How about an inquiry? You can also use name requests for instance. We use this in kdebluetooth for the device discovery service to poll undiscoverable devices. But you can't do that frequently and for a lot of devices of course. Apart from that, if you get "permission denied" with l2ping, then the device *is* reachable, isn't it?
Fred
Signature · 13 lines
Fred Schaettgen [email protected] ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Bluez-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-users