Thanks, Jonathan!
I've got a little further with my port. Now, I have 2 nodes(FTD) they started to TX/RX packages, but the Mesh network is not created.
Few questions:
1. As far as I've understood, they are receiving each-other Advertisements (forever, some 10mins max I've tried) and [INFO]-MLE-----: Different partition (peer:4971684, local:7376247)... but the 2 partitions don't merge in a single Thread network, and I don't understand why.
2. Due to my platform high latency (details bellow), any ideas what other parameters should I tune?
3. In general, for understanding and debugging MLE, what would you recommend? Checking the logs from codelabs platform/or running locally using posix emulator?
4. What's raw-link-api, I did not understood this feature, do I need it? It seems to be enabled, on my platform as I've used the openthread-windows-config.h.
I will attach the logs from both (Leader and potentially, Child).
Some notes about my platform:
* does not support by hardware 802.15.4, so I've adapted the 802.15.4 posix implementation (so software ACK seems to work)
* the RX/TX is quite slow (up to 4 seconds for a packet+ACK round-time, A->B->A), for this reason I've tuned some parameters:
- in mac.hpp:
kAckTimeout = 4000, ///< Timeout for waiting on an ACK (milliseconds).
kDataPollTimeout = 5000, ///< Timeout for receiving Data Frame (milliseconds).
kSleepDelay = 5000, ///< Max sleep delay when frame is pending (milliseconds).
- in openthread-core-default-config.h
#define OPENTHREAD_CONFIG_ENABLE_SOFTWARE_ACK_TIMEOUT 1
#define OPENTHREAD_CONFIG_ENABLE_SOFTWARE_RETRANSMIT 1
#define OPENTHREAD_CONFIG_ATTACH_DATA_POLL_PERIOD 1000
* For now, I've not included Commissioner/Joiner role, just DHCP and single instance openthread.