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-05-30
Revision:
2:ac474fccf29b
Parent:
1:cb941edd7bce
Child:
5:fd4773c12f93

File content as of revision 2:ac474fccf29b:

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
};
}