Workings and tests to create custom GATT services, for use as part of peripheral communication in cars
Dependencies: BLE_API mbed nRF51822
Diff: ErrorService.h
- Revision:
- 12:f5b12e8b6043
- Parent:
- 11:35b63ab4c76c
--- a/ErrorService.h Thu Mar 26 15:06:21 2015 +0000 +++ b/ErrorService.h Fri Mar 27 12:21:12 2015 +0000 @@ -5,15 +5,15 @@ /** * @class BroadcasterService -* @brief Based heavily on the BLE Battery Service, the aim is to send key, pair values <br>. UPDATE: Should now be sending 8-byte string - 4 bytes for +* @brief Based heavily on the BLE Battery Services */ class ErrorService { public: enum { - ERROR_DISCONNECTION = 0x1234, - ERROR_ELECTRONIC = 0x0000, + ERROR_SERVER_DISCONNECTION = 0x1234, + ERROR_ELECTRONIC_DSICONNECTION = 0x1221, ERROR_GENERIC = 0x4321, }; /**