mirror of
https://github.com/espressif/openthread.git
synced 2026-08-10 04:37:47 +00:00
[dhcp6] add dhcp6 server support to NCP (#3128)
This commit is contained in:
@@ -43,6 +43,9 @@
|
||||
#if OPENTHREAD_ENABLE_CHILD_SUPERVISION
|
||||
#include <openthread/child_supervision.h>
|
||||
#endif
|
||||
#if OPENTHREAD_ENABLE_DHCP6_SERVER
|
||||
#include <openthread/dhcp6_server.h>
|
||||
#endif
|
||||
#include <openthread/diag.h>
|
||||
#include <openthread/icmp6.h>
|
||||
#if OPENTHREAD_ENABLE_JAM_DETECTION
|
||||
@@ -3017,6 +3020,10 @@ void NcpBase::ProcessThreadChangedFlags(void)
|
||||
#if OPENTHREAD_ENABLE_DHCP6_CLIENT
|
||||
otDhcp6ClientUpdate(mInstance, mDhcpAddresses, OT_ARRAY_LENGTH(mDhcpAddresses), NULL);
|
||||
#endif
|
||||
|
||||
#if OPENTHREAD_ENABLE_DHCP6_SERVER
|
||||
otDhcp6ServerUpdate(mInstance);
|
||||
#endif
|
||||
}
|
||||
|
||||
mThreadChangedFlags &= ~threadFlag;
|
||||
|
||||
@@ -279,9 +279,6 @@ XFAIL_NCP_TESTS = \
|
||||
test_coaps.py \
|
||||
test_diag.py \
|
||||
test_service.py \
|
||||
Cert_5_2_05_AddressQuery.py \
|
||||
Cert_5_3_08_ChildAddressSet.py \
|
||||
Cert_5_3_09_AddressQuery.py \
|
||||
Cert_5_3_10_AddressQuery.py \
|
||||
Cert_8_1_01_Commissioning.py \
|
||||
Cert_8_1_02_Commissioning.py \
|
||||
|
||||
Reference in New Issue
Block a user