mirror of
https://github.com/espressif/openthread.git
synced 2026-08-31 22:39:54 +00:00
[channelmask] add radio supported and preferred channel mask (#3732)
Add new radio platform APIs: * otPlatRadioGetSupportedChannelMask(); // supported channel mask: the device is allowed to be on; * otPlatRadioGetPreferredChannelMask(); // preferred channel mask: the device prefers to form on. Implement some default radio platform APIs. Add spinel property `SPINEL_PROP_PHY_CHAN_PREFERRED` to retrieve Preferred ChannelMask.
This commit is contained in:
@@ -163,6 +163,7 @@ LOCAL_SRC_FILES := \
|
||||
src/core/net/ip6_routes.cpp \
|
||||
src/core/net/netif.cpp \
|
||||
src/core/net/udp6.cpp \
|
||||
src/core/phy/radio_weak.cpp \
|
||||
src/core/thread/address_resolver.cpp \
|
||||
src/core/thread/announce_begin_server.cpp \
|
||||
src/core/thread/announce_sender.cpp \
|
||||
|
||||
Reference in New Issue
Block a user