Firmware for the mbed in the BlueSync Sensor platform. Intended to communicate with a BlueGiga BLE112 Bluetooth LE module over UART.
Dependencies: TimerCapture mbed
bluesync_types.h
- Committer:
- dishbreak
- Date:
- 2015-06-11
- Revision:
- 5:fd4773c12f93
- Parent:
- 2:ac474fccf29b
File content as of revision 5:fd4773c12f93:
union intByteArray { uint32_t integer; int32_t signed_integer; uint8_t byte[4]; }; namespace EventCode { enum EventCodeEnum { ADV_RECV = 0x01, SLAVE_MODE = 0x02, MASTER_MODE = 0x03, GET_STATE = 0x04, SET_TIMESTAMP = 0x05, OFFSET_RECV = 0x06, SET_SENSOR_TIME = 0x07 }; }