mirror of
https://github.com/espressif/openthread.git
synced 2026-07-11 06:40:19 +00:00
2f683e6e76
This commit introduces a few enhancements: - In NCP architecture forward the IPv6 fragments instead of the full reassembled IPv6 packet (which in the default configuration can't be forwarder due to SPINEL limitations). Without this fix the fragmentation does not work if Thread device wants to send more than MTU data through the Border Router (to the IPv6 address of NCP). - Use OPENTHREAD_CONFIG_IP6_MAX_ASSEMBLED_DATAGRAM only for the receiving path. For transmitting path, relay on the message buffers pool. This is especially important for some of the use-cases we have, and also reduce a need for regenerating OpenThread libraries. - In case receiving IPv6 packet is bigger than supported OPENTHREAD_CONFIG_IP6_MAX_ASSEMBLED_DATAGRAM, exit before trying to allocate the next message buffer.
OpenThread Certification Tests
Inspector
Inspect nodes status by the following modification:
- Insert the inspector to where you want to inspect.
import debug
debug.Inspector(self).inspect()
- Run the test and it will stop at the line above and prompt
#.
./script/test clean build cert tests/scripts/thread-cert/Cert_5_1_01_RouterAttach.py
- Inspect
#
# 1
> state
leader
> exit
# 2
> panid
face
> exit
# exit
CLI reference
# mode
This is selection mode. You may select the node to inspect here.
list- list available nodes.exit- end inspecting, continue running test case.- <number> - select the node with id <number>. This will result in entering
>mode.
> mode
This is node mode. You may run OpenThread CLI here.
exit- go back to#mode.