add "LE Device Address" 0x1B to advertising data types
Fork of BLE_API by
Revision 1037:ec64da75c9ee, committed 2015-12-10
- Comitter:
- rgrover1
- Date:
- Thu Dec 10 09:15:04 2015 +0000
- Parent:
- 1036:7af23cdcfcac
- Child:
- 1038:ebf9746bff7d
- Commit message:
- Synchronized with git rev 9c648dc3
Author: Rohit Grover
add comment header for UUID::char2int
Changed in this revision
ble/UUID.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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';