nRF Connect SDK API 0.1.0
|
bool parse_hex_str | ( | char const * | in_str, |
uint8_t | in_str_len, | ||
uint8_t * | out_buff, | ||
uint8_t | out_buff_size, | ||
bool | reverse | ||
) |
#include <include/zigbee/zigbee_app_utils.h>
Read array of uint8_t from hex string.
in_str | Pointer to the input hex string. |
in_str_len | Length, in characters, of the input string. |
out_buff | Pointer to the output uint8_t array. |
out_buff_size | Size, in bytes, of the output uint8_t array. |
reverse | If true then parse from end to start. |
true | if the conversion succeed |
false | if the conversion failed |