Bluetooth interface communication

This program is very similar to the program for the serial interface and enables communication via the Bluetooth interface on the opensensor.

 

The jumpers  J1 and J2 must be set on the opensensor board in order to use the Bluetooth interface.

 

The settings for the Terminal program e.g. Hyper Terminal are:

  • Com port of your Bluetooth dongle
  • 115200 bit/s
  • 8 databits
  • No parity
  • 1 stopbit
  • Flow-control: None
  • Ascii settings: Send new line and show written characters locally

 

To test the program you can write the following commands and press enter:

  • B - Turns the green LED on
  • A - Turns the green LED off

 

main.c

serial.c

led.h

Department of Electronic Systems | Aalborg University | Niels Jernes Vej 12 | DK-9220 Aalborg | Denmark
Phone: (+45) 9635 8695 | Fax (+45) 9815 1583 | E-mail ies(at)ies.aau.dk
Copyright © 2006 Department of Electronic Systems

Last update:17-02-2009