RE: BlueZ
Brought to you by:
marcinello
From: Marcin W. <ma...@mw...> - 2007-03-23 15:08:12
|
For start ------------------------------------------- There is a really good documented DBus API in the hcid directory of=3D20 bluez-utils sources (dbus-api.txt). For example discovering devies = requires=3D =3D20 only to send "DiscoverDevices" via DBus to the hcid daemon. Afterwards = you=3D =3D20 will receive signals via DBus like: RemoteDeviceFound RemoteNameUpdated (for each device) and finally: DiscoveryCompleted The arguemnt list of the RemoteDeviceFound list looks like this: RemoteDeviceFound(string address, uint32 class, int16 rssi) This only includes the address of a remote device, the RemoteNameUpdate = sto=3D res=3D20 the name of the remote device: RemoteNameUpdate(string address, string name) This are non blocking signals and requires that your application can = handle=3D =3D20 asynchron communication. ------------------------------------------- It's required to create functions for connecting/sending/receiving bytes/closing connection (the best in new driver in = common/device/bluetoth). Good, if searching for devices and/or searching over channels would be implemented too. Pozdrowienia/Best Regards -- Marcin Wiacek (www.gammu.org, www.mwiacek.com, I'm looking for a job) =20 > -----Original Message----- > From: gpl...@li...=20 > [mailto:gpl...@li...] On Behalf=20 > Of Carlos Castaneda > Sent: Friday, March 23, 2007 3:42 PM > To: gpl...@li... > Subject: Re: BlueZ >=20 >=20 > Have any documentation about, or must start from scratch ? >=20 >=20 > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the=20 > chance to share your opinions on IT & business topics through=20 > brief surveys-and earn cash=20 > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge &CID=3DDEVDEV _______________________________________________ Gplus-users mailing list - https://lists.sourceforge.net/lists/listinfo/gplus-users |