Firmware for the mbed in the BlueSync Sensor platform. Intended to communicate with a BlueGiga BLE112 Bluetooth LE module over UART.
Dependencies: TimerCapture mbed
Diff: bluesync_types.h
- Revision:
- 2:ac474fccf29b
- Parent:
- 1:cb941edd7bce
- Child:
- 5:fd4773c12f93
--- a/bluesync_types.h Sun May 24 06:28:41 2015 +0000 +++ b/bluesync_types.h Sat May 30 01:53:17 2015 +0000 @@ -1,4 +1,16 @@ union intByteArray { uint32_t integer; + int32_t signed_integer; uint8_t byte[4]; -}; \ No newline at end of file +}; + +namespace EventCode { +enum EventCodeEnum { + ADV_RECV = 0x01, + SLAVE_MODE = 0x02, + MASTER_MODE = 0x03, + GET_STATE = 0x04, + SET_TIMESTAMP = 0x05, + OFFSET_RECV = 0x06 +}; +} \ No newline at end of file