
BLE Nano Code.Tested with Integrated mDot code
Dependencies: BLE_API mbed nRF51822
Fork of eco_Labs_ble_Client by
ble_msg_handler.h
- Committer:
- jinu
- Date:
- 2016-10-13
- Revision:
- 17:3fb1aafa4436
- Parent:
- 10:09d1a403eb14
- Child:
- 33:17b8c186eb07
File content as of revision 17:3fb1aafa4436:
/** ****************************************************************************** * @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_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 #endif /* _BLE_MSG_HANDLER_H */ /******************************************************************************/ /* END OF FILE */ /******************************************************************************/