
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:
- 10:09d1a403eb14
- Child:
- 17:3fb1aafa4436
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ble_msg_handler.h Tue Oct 04 11:05:45 2016 +0000 @@ -0,0 +1,38 @@ +/** + ****************************************************************************** + * @file ble_msg_handler.h + * @author Happiesstminds Firmware Team + * @version v1.0 + * @date 4-Oct-2016 + * @brief + * + ****************************************************************************** + * @attention + * + * + ****************************************************************************** + */ + +#ifndef _BLE_MSG_HANDLER_H +#define _BLE_MSG_HANDLER_H + +/******************************************************************************/ +/* Defines */ +/******************************************************************************/ +#define BLE_SOF_CMD 0x01 +#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_EOT_CMD 0x04 + + + +#endif /* _BLE_MSG_HANDLER_H */ + +/******************************************************************************/ +/* END OF FILE */ +/******************************************************************************/ \ No newline at end of file