Spirit + 6LoWPAN: In STAR configuration, Spirit must use a configured well known hub address. 6LoWPAN cannot assume that the PAN coordinator is the STAR hub; it must ask the radio to provide it with the address of the star hub

This commit is contained in:
Gregory Nutt 2017-08-05 09:13:29 -06:00
parent c2fbef2062
commit a29a168086
9 changed files with 161 additions and 96 deletions

View file

@ -357,6 +357,9 @@ struct sixlowpan_properties_s
uint8_t sp_pktlen; /* Fixed packet/frame size (up to 255) */
struct netdev_varaddr_s sp_mcast; /* Multicast address */
struct netdev_varaddr_s sp_bcast; /* Broadcast address */
#ifdef CONFIG_NET_STARPOINT
struct netdev_varaddr_s sp_hubnode; /* Address of the hub node in a star */
#endif
};
/* The device structure for radio network device differs from the standard

View file

@ -123,6 +123,9 @@ struct pktradio_properties_s
uint8_t pp_pktlen; /* Fixed packet/frame size (up to 255) */
struct pktradio_addr_s pp_mcast; /* Multicast address */
struct pktradio_addr_s pp_bcast; /* Broadcast address */
#ifdef CONFIG_NET_STARPOINT
struct pktradio_addr_s pp_hubnode; /* Address of the hub node in a star */
#endif
};
/* This is the structure passed with all packet radio IOCTL commands.