Hi Jonathan
Following on from your email below, I thought I had this sorted
but I really don't understand what I am seeing.
I installed Wireshark so I could check the packets I captured
using tcpdump as you advised "The
dropped packets are due to an invalid UDP checksum"
I examined the first login CoAP request comparing both the good
and bad pcap files and under UDP they show the same as follows.
They both have the same checksum 0x1196 and state "checksum
unverified"

Can you please advise how you diagnozed the checksum error.
I also compared the CoAP section and apart from the Message ID and
Token, they look the same.
You asked me to double check that the Mesh Local Prefix in the
Active Operational Dataset matches on both the "good" and "bad"
REEDs?
My Border-Router RCP MLEID is:
> ipaddr mleid
fdde:ad00:0:0:758d:1e3a:ab54:d5d1
Done
> dataset active
Active Timestamp: 1
Channel: 15
Channel Mask: 0x07fff800
Ext PAN ID: 1111111122222222
Mesh Local Prefix: fdde:ad00:0:0::/64
Master Key: f34dd4690e631a68b0611565036cc853
Network Name: AGS-FCC-OT-1
PAN ID: 0x1234
PSKc: dc260358c2f24888fd9110ac0850b27d
Security Policy: 0, onrcb
Done
I only give my REEDs a partial dataset consisting of the networkname
and the masterkey (now networkkey)
I found that the older Silab SDK my working REED the
MLEID is:
> ipaddr mleid
fdde:ad00:0:0:1133:7529:9efa:f41e
Done
After connection the dataset is completed and reports:
> dataset active
Active Timestamp: 1
Channel: 15
Channel Mask: 0x07fff800
Ext PAN ID: 1111111122222222
Mesh Local Prefix: fdde:ad00:0:0::/64
Master Key: f34dd4690e631a68b0611565036cc853
Network Name: AGS-FCC-OT-1
PAN ID: 0x1234
PSKc: dc260358c2f24888fd9110ac0850b27d
Security Policy: 0, onrcb
Done
So the first 64 bits of the MLEID matches fdde:ad00:0:0
On the new Silab SDK my problem REED the MLEID is:
> ipaddr mleid
fdde:ad00:beef:0:1c37:1851:cef8:a7a5
Done
So only the first 32 bits of the MLEID matches fdde:ad00
Although the REED state changes to child, it doesn't get a complete
dataset
> dataset active
Network Key: f34dd4690e631a68b0611565036cc853
Network Name: AGS-FCC-OT-1
Done
I tried adding the mesh link to my partial dataset before I activate
it as follows:
// Set Mesh Local Prefix
uint8_t extMeshLocalPrefix[OT_MESH_LOCAL_PREFIX_SIZE] = {0xFD,
0xDE, 0xAD, 0x00, 0x00, 0x00, 0x00, 0x00};
memcpy(aDataset.mMeshLocalPrefix.m8, extMeshLocalPrefix[0],
sizeof(aDataset.mMeshLocalPrefix.m8));
aDataset.mComponents.mIsMeshLocalPrefixPresent = true;
Now my REED MLEID changes to:
> ipaddr mleid
fdde:ad00:0:0:1c37:1851:cef8:a7a5
Done
So now the first 64 bits of the MLEID matches fdde:ad00
Now my REED can logon to my controller app running on the Linux
platform of the OTBR and get response back.
But the active dataset still does not get completed.
> dataset active
Mesh Local Prefix: fdde:ad00:0:0::/64
Network Key: f34dd4690e631a68b0611565036cc853
Network Name: AGS-FCC-OT-1
Done
I set the meshlink address to fdde:ad00:0:0::/64 to match my OTBR /
RCP.
I am forming my Thread network using the following script:
sudo ot-ctl reset
sleep 4
sudo ot-ctl dataset init new
sleep 2
sudo ot-ctl dataset channel 15
sudo ot-ctl dataset meshlocalprefix
fdde:ad00::
sudo ot-ctl dataset panid 0x1234
sudo ot-ctl dataset extpanid 1111111122222222
sudo ot-ctl dataset networkname AGS-FCC-OT-1
sudo ot-ctl dataset masterkey f34dd4690e631a68b0611565036cc853
sudo ot-ctl dataset commit active
sleep 1
sudo ot-ctl ifconfig up
sleep 3
sudo ot-ctl thread start
sleep 10
sudo ot-ctl state
I don't understand the requirements for the meshlocalprefix. Should
it be set in the dataset for the OTBR which forms the network and
the REEDs with partial datasets which join the network?
Or should it be left unset and get passed to the REEDs when they
connect to the network which I form on the OTBR?
otbr-web does not provide any configuration for the meshlocalprefix
but if it forms the network it reports as below in red.
> dataset active
Active Timestamp: 0
Channel: 15
Channel Mask: 0x07fff800
Ext PAN ID: 1111111122222222
Mesh Local Prefix: fda5:2878:1b6e:3e0d::/64
Master Key: f34dd4690e631a68b0611565036cc853
Network Name: AGS-FCC-OT-1
PAN ID: 0x1234
PSKc: 16e480b755b5261b9419e46b154fc045
Security Policy: 672, onrcb
Done
Kind regards
Michael