Hi there,
Is there anyware some examples or any source code in the BlueZ utils. where they use the standard network select() function?
I really want to use this instead of the more "heavier" fork() function. :-)
examples? links?
Kind Regards.
/Steffen Larsen
Hi,
> Is there anyware some examples or any source code in the BlueZ utils.
> where they use the standard network select() function?
> I really want to use this instead of the more "heavier" fork() function. :-)
Marcel sent us some time ago an example which uses poll on hci raw sockets.
A cached version can be found here :
http://www.xgarreau.org/temp/bluetooth_docs/bluez/mh_hci_raw.c
Maybe Marcel has a more recent example ?
Regards,
Xavier Garreau
-------------------------------------------------------
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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Hi Steffen,
> Is there anyware some examples or any source code in the BlueZ utils.
> where they use the standard network select() function?
there is no difference between using select() with BlueZ. You use poll()
or select() as you used to. Check the manual pages for more help.
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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel