Firmware for the mbed in the BlueSync Sensor platform. Intended to communicate with a BlueGiga BLE112 Bluetooth LE module over UART.

Dependencies:   TimerCapture mbed

Committer:
dishbreak
Date:
Fri Jun 12 05:14:50 2015 +0000
Revision:
6:51884d3fd44d
Parent:
5:fd4773c12f93
got everything but offset reception working.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dishbreak 1:cb941edd7bce 1 union intByteArray {
dishbreak 1:cb941edd7bce 2 uint32_t integer;
dishbreak 2:ac474fccf29b 3 int32_t signed_integer;
dishbreak 1:cb941edd7bce 4 uint8_t byte[4];
dishbreak 2:ac474fccf29b 5 };
dishbreak 2:ac474fccf29b 6
dishbreak 2:ac474fccf29b 7 namespace EventCode {
dishbreak 2:ac474fccf29b 8 enum EventCodeEnum {
dishbreak 2:ac474fccf29b 9 ADV_RECV = 0x01,
dishbreak 2:ac474fccf29b 10 SLAVE_MODE = 0x02,
dishbreak 2:ac474fccf29b 11 MASTER_MODE = 0x03,
dishbreak 2:ac474fccf29b 12 GET_STATE = 0x04,
dishbreak 2:ac474fccf29b 13 SET_TIMESTAMP = 0x05,
dishbreak 5:fd4773c12f93 14 OFFSET_RECV = 0x06,
dishbreak 5:fd4773c12f93 15 SET_SENSOR_TIME = 0x07
dishbreak 2:ac474fccf29b 16 };
dishbreak 2:ac474fccf29b 17 }