
BLE Nano Code.Tested with Integrated mDot code
Dependencies: BLE_API mbed nRF51822
Fork of eco_Labs_ble_Client by
Diff: ble_msg_handler.h
- Revision:
- 17:3fb1aafa4436
- Parent:
- 10:09d1a403eb14
- Child:
- 33:17b8c186eb07
--- a/ble_msg_handler.h Tue Oct 11 12:01:10 2016 +0000 +++ b/ble_msg_handler.h Thu Oct 13 14:44:46 2016 +0000 @@ -23,10 +23,12 @@ #define BLE_INIT_CMD 0xA1 #define BLE_START_ADV_CMD 0xA2 #define BLE_CONNECTION_EVNT_CMD 0xA3 -#define BLE_SEND_DATA_CMD 0xA4 -#define BLE_REC_DATA_CMD 0xA5 -#define BLE_DISCONNECTION_EVNT_CMD 0xA6 -#define BLE_ACK_CMD 0xA7 +#define BLE_START_OF_FILE 0xA4 +#define BLE_SEND_DATA_CMD 0xA5 +#define BLE_END_OF_FILE 0xA6 +#define BLE_REC_DATA_CMD 0xA7 +#define BLE_DISCONNECTION_EVNT_CMD 0xA8 +#define BLE_ACK_CMD 0xAA #define BLE_EOT_CMD 0x04