mirror of
https://github.com/apache/nuttx.git
synced 2026-09-19 12:21:54 +08:00
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:
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user