Lancaster University's fork of the mbed BLE API. Lives on github, https://github.com/lancaster-university/BLE_API

Dependents:   microbit-dal microbit-dal microbit-ble-open microbit-dal ... more

Fork of BLE_API by Bluetooth Low Energy

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';