Lines Matching refs:ext_addr
73 static inline int parse_extended_address(char *addr, uint8_t *ext_addr) in parse_extended_address() argument
75 return net_bytes_from_str(ext_addr, IEEE802154_EXT_ADDR_LENGTH, addr); in parse_extended_address()
82 char ext_addr[EXT_ADDR_STR_SIZE] = {0}; in cmd_ieee802154_associate() local
102 strncpy(ext_addr, argv[2], EXT_ADDR_STR_LEN); in cmd_ieee802154_associate()
104 if (strlen(ext_addr) == EXT_ADDR_STR_LEN) { in cmd_ieee802154_associate()
105 if (parse_extended_address(ext_addr, params.addr) < 0) { in cmd_ieee802154_associate()
112 params.short_addr = (uint16_t) atoi(ext_addr); in cmd_ieee802154_associate()
488 static char ext_addr[EXT_ADDR_STR_SIZE]; in cmd_ieee802154_get_ext_addr() local
492 pos += snprintk(ext_addr + pos, in cmd_ieee802154_get_ext_addr()
497 ext_addr[EXT_ADDR_STR_SIZE - 1] = '\0'; in cmd_ieee802154_get_ext_addr()
500 "Extended address: %s\n", ext_addr); in cmd_ieee802154_get_ext_addr()