Bluetooth Communication

      This project implements a Bluetooth communication between two devices running Windows Mobile 6.5. It consists of two applications, one acting as server and the other one acting as client.
    The core of both applications is represented by the BthUtils class, taken from MSDN Code Samples for Windows Mobile (http://msdn.microsoft.com/en-us/library/bb158664.aspx). This class offers methods for device discovering, connecting to devices and data sending to/receiving from connected devices.

Sender Sageata Receiver

    The server scan for devices and, if found, it can connect to them. Then, pressing a button (up, down, left, right or center) the server sends a command to the client. The client receives that command, process it, and check or unchek (if it is already checked) one of its check-boxes, according to the received command. Also, the received command is printed in the text-box. The button “Init” should be pressed in order to initialize the client (make device discoverable and set it in “wait for commands” state).
    To test these applications on Microsoft Device Emulator instead of a real device, installing a Bluetooth driver for the emulator is needed. Details can be found here: http://code.google.com/p/bthmsdevemul/.

Download the program code source for receiver and sender.

Keywords: Bluetooth, Windows Mobile and Embedded, BthMSDevEmul, BthUtils, Microsoft Device Emulator

The applications were written in Microsoft Visual Studio 2008.

Back
Main Frame (acces to all the site)
Course of Intelligent Embedded Systems
"Gheorghe Asachi" Technical University of Iasi
Faculty of Electronics, Telecommunications and Information Technology
Associate Professor Dan Marius Dobrea