nRF Connect SDK API 2.8.99
|
Go to the source code of this file.
Functions | |
int | hexstr2hex (const char *in, size_t in_len, unsigned char *out, size_t out_len) |
Convert hex string into hex Example: in = {'D', 'E', 'A', 'D'} -> out = {0xDE, 0xAD}. | |
int | get_line_len (const char *buf, size_t buf_len) |
Get length of a string (or a line). String shall be '\0' terminated. Newline characters are not included in the count. Example: "+CEREG: 1" -> 9 "+CEREG: 1\\r\\n" -> 9. | |