High level Bluetooth Low Energy API and radio abstraction layer
Dependents: BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate BLE_ANCS_SDAPI_IRC ... more
Overview
The BLE_API is a high level abstraction for using Bluetooth Low Energy on multiple platforms. For details and examples using the BLE_API please see the BLE_API Summary Page. Or click on the API Documentation tab above.
Supported Services
Supported services can be found in the BLE_API/services folder.
Diff: ble/UUID.h
- Revision:
- 1037:ec64da75c9ee
- Parent:
- 1035:d8ba3cb5a39a
- Child:
- 1038:ebf9746bff7d
--- a/ble/UUID.h Thu Dec 10 09:15:04 2015 +0000 +++ b/ble/UUID.h Thu Dec 10 09:15:04 2015 +0000 @@ -22,6 +22,11 @@ #include "blecommon.h" +/** + * A trivial converter for single hexadecimal character to unsigned-int. + * @param c hexadecimal character. + * @return the corresponding value as unsigned int. + */ static uint8_t char2int(char c) { if ((c >= '0') && (c <= '9')) { return c - '0';