drivers: ieee80154_nrf5: Add support for PAN coordinator mode
Implement `IEEE802154_CONFIG_PAN_COORDINATOR` handling. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This commit is contained in:
parent
ca5489d99f
commit
cce9d19ca8
1 changed files with 4 additions and 0 deletions
|
@ -490,6 +490,10 @@ int nrf5_configure(struct device *dev, enum ieee802154_config_type type,
|
|||
|
||||
break;
|
||||
|
||||
case IEEE802154_CONFIG_PAN_COORDINATOR:
|
||||
nrf_802154_pan_coord_set(config->pan_coordinator);
|
||||
break;
|
||||
|
||||
case IEEE802154_CONFIG_PROMISCUOUS:
|
||||
nrf_802154_promiscuous_set(config->promiscuous);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue