nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ parse_short_address()

static bool parse_short_address ( const char *  input,
zb_uint16_t *  addr 
)
inlinestatic

#include <include/zigbee/zigbee_app_utils.h>

Function for parsing a null-terminated string of hex characters into 16-bit address.

The function will skip 0x suffix from input if present.

Parameters
inputPointer to the input string representing the address in big endian.
addrPointer to the variable where address will be placed.
Return values
trueif the conversion succeed
falseif the conversion failed