80 00 1A 00 0F D7

My dabbling with Bluetooth continues. Using WSASetService it’s pretty easy to get your device to advertise a standard Bluetooth service on one of its sockets. Simply create your socket with the Bluetooth address family, bind and listen as normal and then call WSASetService to start advertising a service on this socket to other devices within range. Now call accept and wait…

I chose the File Transfer Service as my hello world service. Get one of your other devices to discover your services and the new service should appear. Connect and your accept will return a connected socket. Issue a recv and you get the bytes that form the title to this piece. That’s the start of an OBEX Connect packet…