prova invio BLE
Dependents: BLE_HeartRate_IDB04A1
Fork of BLE_API by
Diff: ble/UUID.h
- Revision:
- 1037:ec64da75c9ee
- Parent:
- 1035:d8ba3cb5a39a
- Child:
- 1038:ebf9746bff7d
diff -r 7af23cdcfcac -r ec64da75c9ee ble/UUID.h --- 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';