nRF Connect SDK API 2.8.99
|
int slm_util_atoh | ( | const char * | ascii, |
uint16_t | ascii_len, | ||
uint8_t * | hex, | ||
uint16_t | hex_len ) |
Decode hexdecimal string (ASCII text) to hex array.
[in] | ascii | encoded hexdecimal string |
[in] | ascii_len | size of hexdecimal string |
[out] | hex | decoded hex arrary |
[in] | hex_len | reserved size of hex array |