Here, you’ll get a good mix of sockets with virtual RFComm channels. Seeing a “WSA” prefix in the API declarations above, you might bet it has to deal with sockets somehow. For enumeration purposes, you will use the following functions: WSALookupServiceBegin Here, you may find client-level APIs to the BT stack. What you are interested in right now is located in winsock2.h. If you look at the SDK headers, you will see a few files related to Bluetooth. Code snippets here and there throughout the article should provide you a good basis for your own experiments. In this article, you will repeat those typical operations you might be needing to use in many cases (as in BT devices enumeration and so forth) as you did for the Widcomm stack. It follows the common Microsoft C-style paradigm and is quite different from, for example, the Widcomm stack. Now, you switch to yet another implementation of Bluetooth stack, this time from Microsoft as a part of the Windows Mobile OS SDK. The previous article, “ Experiencing This Mysterious Bluetooth Stack Programming,” gave you a very brief overview of the Widcomm BT stack and how to manage it from your own applications.
0 Comments
Leave a Reply. |