netutils/netlib: Add a help to decode short addresses.

This commit is contained in:
Gregory Nutt 2017-08-18 12:07:41 -06:00
parent 767b29335c
commit c433e07a27
2 changed files with 2 additions and 1 deletions

View File

@ -120,6 +120,7 @@ int netlib_getmacaddr(FAR const char *ifname, FAR uint8_t *macaddr);
int netlib_seteaddr(FAR const char *ifname, FAR const uint8_t *eaddr); int netlib_seteaddr(FAR const char *ifname, FAR const uint8_t *eaddr);
int netlib_getpanid(FAR const char *ifname, FAR uint8_t *panid); int netlib_getpanid(FAR const char *ifname, FAR uint8_t *panid);
bool netlib_saddrconv(FAR const char *hwstr, FAR uint8_t *hw);
bool netlib_eaddrconv(FAR const char *hwstr, FAR uint8_t *hw); bool netlib_eaddrconv(FAR const char *hwstr, FAR uint8_t *hw);
#endif #endif

View File

@ -88,7 +88,7 @@ endif
ifeq ($(CONFIG_NET_6LOWPAN),y) ifeq ($(CONFIG_NET_6LOWPAN),y)
ifeq ($(CONFIG_WIRELESS_IEEE802154),y) ifeq ($(CONFIG_WIRELESS_IEEE802154),y)
CSRCS += netlib_seteaddr.c netlib_getpanid.c netlib_eaddrconv.c CSRCS += netlib_seteaddr.c netlib_getpanid.c netlib_saddrconv.c netlib_eaddrconv.c
endif endif
ifeq ($(CONFIG_WIRELESS_PKTRADIO),y) ifeq ($(CONFIG_WIRELESS_PKTRADIO),y)
CSRCS += netlib_getproperties.c netlib_getnodeaddr.c netlib_setnodeaddr.c CSRCS += netlib_getproperties.c netlib_getnodeaddr.c netlib_setnodeaddr.c