Wednesday, September 26, 2007
Bluetooth
I recently purchased on book on Bluetooth programming from Amazon.com, Bluetooth Essentials for Programmers, and have succeed in making an application that can search for Bluetooth devices nearby, create a server, and create a client to connect to the server and send a message. This application uses the Microsoft Bluetooth stack, which is quite limited in its API. For the purposes of the class project and possibly ease of use, I will be temporarily programming for the Linux environment using the BlueZ stack, as well as programming for the Widcomm/Broadcomm stack in Windows. I think the Widcomm stack will still allow a reasonable level of compatibility as it is a stack installed by Windows automatically when I connect a Bluetooth adapter to the computer. Both of these APIs cover RFCOMM, L2CAP, SCO, and HCI protocols, whereas the Microsoft Stack API only allows for the RFCOMM protocol, which is an odd choice in my opinion. The L2CAP protocol encompasses the RFCOMM protocol, so I would think the L2CAP would make more since.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment