mirror of
https://github.com/apache/nuttx.git
synced 2026-08-14 17:03:29 +00: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:
parent
c2fbef2062
commit
a29a168086
9 changed files with 161 additions and 96 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue