
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:
- vidyasagarbhat
- Date:
- 2016-10-04
- Revision:
- 10:09d1a403eb14
- Child:
- 17:3fb1aafa4436
File content as of revision 10:09d1a403eb14:
/** ****************************************************************************** * @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 */ /******************************************************************************/