mirror of
https://github.com/espressif/openthread.git
synced 2026-07-29 23:27:46 +00:00
[ncp] ensure JOINER_STATE is not limited to FTD only (#5129)
This commit fixes the entry for getter in `ncp_dispacther` for spinel `SPINEL_PROP_MESHCOP_JOINER_STATE` ensuring it is available in MTD build as well as FTD when joiner feature is enabled.
This commit is contained in:
@@ -129,10 +129,10 @@ NcpBase::PropertyHandler NcpBase::FindGetPropertyHandler(spinel_prop_key_t aKey)
|
||||
OT_NCP_GET_HANDLER_ENTRY(SPINEL_PROP_IPV6_ICMP_PING_OFFLOAD),
|
||||
OT_NCP_GET_HANDLER_ENTRY(SPINEL_PROP_IPV6_MULTICAST_ADDRESS_TABLE),
|
||||
OT_NCP_GET_HANDLER_ENTRY(SPINEL_PROP_IPV6_ICMP_PING_OFFLOAD_MODE),
|
||||
#if OPENTHREAD_FTD
|
||||
#if OPENTHREAD_CONFIG_JOINER_ENABLE
|
||||
OT_NCP_GET_HANDLER_ENTRY(SPINEL_PROP_MESHCOP_JOINER_STATE),
|
||||
#endif
|
||||
#if OPENTHREAD_FTD
|
||||
#if OPENTHREAD_CONFIG_COMMISSIONER_ENABLE
|
||||
OT_NCP_GET_HANDLER_ENTRY(SPINEL_PROP_MESHCOP_COMMISSIONER_STATE),
|
||||
OT_NCP_GET_HANDLER_ENTRY(SPINEL_PROP_MESHCOP_COMMISSIONER_PROVISIONING_URL),
|
||||
|
||||
Reference in New Issue
Block a user