This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nrf5340pdk thread cli "ot diag send 20 100"

Hi all,

I got thread cli working and now I tried to set up a thread network.

I built the sample for the nrf5340PDK with overlay-minimal-multiprotocol.conf and overlay-thread_1_2.conf

uart:~$ ot factoryreset


[00:00:00.290,252] <inf> ieee802154_nrf5: nRF5 802154 radio initialized
[00:00:00.415,679] <inf> fs_nvs: 2 Sectors of 4096 bytes
[00:00:00.415,679] <inf> fs_nvs: alloc wra: 0, e38
[00:00:00.415,710] <inf> fs_nvs: data wra: 0, 350
[00:00:00.416,687] <inf> net_openthread: [INFO]-CORE----: Notifier: StateChanged (0x00038200) [NetData Pan~
[00:00:00.416,717] <inf> net_l2_openthread: State changed! Flags: 0x00038200 Current role: 0
[00:00:00.417,144] <inf> cli_sample:

OpenThread Command Line Interface is now running.
Use the 'ot' keyword to invoke OpenThread commands e.g. 'ot thread start.'
For the full commands list refer to the OpenThread CLI documentation at:
https://github.com/openthread/openthread/blob/master/src/cli/README.md

uart:~$ ot channel 11
Done
[00:01:00.691,558] <inf> net_openthread: [INFO]-CORE----: Notifier: StateChanged (0x30004000) [Channel Act~
[00:01:00.691,711] <inf> net_openthread: [INFO]-MLE-----: [announce-sender] StartingChannel:11
[00:01:00.691,711] <inf> net_l2_openthread: State changed! Flags: 0x30004000 Current role: 0
uart:~$ ot panid 0xabcd
Done
[00:01:17.228,485] <inf> net_openthread: [INFO]-CORE----: Notifier: StateChanged (0x30008000) [PanId ActDs~
[00:01:17.228,607] <inf> net_l2_openthread: State changed! Flags: 0x30008000 Current role: 0
uart:~$ ot networkkey 00112233445566778899aabbccddeeff
Done
[00:01:42.382,751] <inf> net_openthread: [INFO]-CORE----: Notifier: StateChanged (0x30040100) [KeySeqCntr ~
[00:01:42.382,843] <inf> net_l2_openthread: State changed! Flags: 0x30040100 Current role: 0
uart:~$ ot ifconfig up
Done
[00:01:52.590,087] <inf> net_openthread: [INFO]-CORE----: Notifier: StateChanged (0x01001009) [Ip6+ LLAddr~
[00:01:52.590,148] <inf> net_l2_openthread: State changed! Flags: 0x01001009 Current role: 0
uart:~$ ot thread start
Done
[00:02:00.837,310] <inf> net_openthread: [NOTE]-MLE-----: Role disabled -> detached
[00:02:00.837,799] <inf> net_openthread: [INFO]-MLE-----: AttachState Idle -> Start
[00:02:00.838,134] <inf> net_openthread: [INFO]-CORE----: Notifier: StateChanged (0x00001015) [Ip6+ Role M~
[00:02:00.838,256] <inf> net_openthread: [INFO]-MLE-----: [announce-sender] Stopped
[00:02:00.838,287] <inf> net_l2_openthread: State changed! Flags: 0x00001015 Current role: 1
[00:02:01.067,993] <inf> net_openthread: [NOTE]-MLE-----: Attempt to attach - attempt 1, any-partition
[00:02:01.068,084] <inf> net_openthread: [INFO]-MLE-----: AttachState Start -> ParentReqRouters
[00:02:01.069,091] <inf> net_openthread: [INFO]-MLE-----: Send Parent Request to routers (ff02:0:0:0:0:0:0~
[00:02:01.819,274] <inf> net_openthread: [INFO]-MLE-----: AttachState ParentReqRouters -> ParentReqReeds
[00:02:01.820,281] <inf> net_openthread: <log_strdup alloc failed>
[00:02:03.070,465] <inf> net_openthread: [INFO]-MLE-----: AttachState ParentReqReeds -> Idle
[00:02:03.071,441] <inf> net_openthread: [NOTE]-MLE-----: Allocate router id 18
[00:02:03.071,685] <inf> net_openthread: [NOTE]-MLE-----: RLOC16 fffe -> 4800
[00:02:03.072,021] <inf> net_openthread: [NOTE]-MLE-----: Role detached -> leader
[00:02:03.074,829] <inf> net_openthread: [INFO]-CORE----: [settings] Saved ActiveDataset
[00:02:03.074,920] <inf> net_openthread: [INFO]-MESH-CP-: Active dataset set
[00:02:03.075,195] <inf> net_openthread: [INFO]-MESH-CP-: Generated local dataset
[00:02:03.075,439] <inf> net_openthread: [NOTE]-MLE-----: Leader partition id 0x826cb77
[00:02:03.075,775] <inf> net_openthread: <log_strdup alloc failed>
[00:02:03.078,216] <inf> net_openthread: <log_strdup alloc failed>
[00:02:03.078,430] <inf> net_openthread: <log_strdup alloc failed>
[00:02:03.078,765] <inf> net_openthread: <log_strdup alloc failed>
[00:02:03.078,857] <inf> net_openthread: <log_strdup alloc failed>
[00:02:03.078,979] <inf> net_openthread: <log_strdup alloc failed>
[00:02:03.079,376] <inf> net_openthread: <log_strdup alloc failed>
[00:02:03.079,620] <inf> net_openthread: <log_strdup alloc failed>
[00:02:03.079,742] <inf> net_openthread: <log_strdup alloc failed>
[00:02:03.080,139] <inf> net_openthread: <log_strdup alloc failed>
[00:02:03.080,200] <inf> net_openthread: <log_strdup alloc failed>
[00:02:03.080,291] <inf> net_openthread: <log_strdup alloc failed>
[00:02:03.080,352] <inf> net_l2_openthread: State changed! Flags: 0x101812a5 Current role: 4
[00:02:03.404,357] <inf> net_openthread: [INFO]-DUA-----: PerformNextRegistration: InvalidState
[00:02:03.843,078] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
[00:02:05.935,363] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
[00:02:09.823,852] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
[00:02:15.676,391] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
[00:02:29.776,672] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
[00:02:56.876,892] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
uart:~$ ot state
leader
Done
[00:03:29.545,715] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
[00:04:01.658,386] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
[00:04:27.108,459] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
[00:04:59.088,195] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
[00:05:41.409,729] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
[00:06:07.582,946] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
[00:06:40.425,567] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
[00:07:14.561,584] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
[00:07:47.270,172] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
[00:08:15.139,526] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
[00:08:46.493,194] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
uart:~$ ot state
leader
Done
[00:09:22.478,027] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0:0:0:0:0:1)
uart:~$ ot version
OPENTHREAD/v1.7.0; Zephyr; Nov 29 2021 16:32:26
Done
uart:~$

My other development kit (nrf21540dk) is running:

uart:~$ ot factoryreset


uart:~$ ot channel 11
Done
[00:00:59.834,411] <inf> net_openthread: [INFO]-CORE----: Notifier: StateChanged (0x30~
[00:00:59.834,594] <inf> net_openthread: [INFO]-MLE-----: [announce-sender] StartingCh~
[00:00:59.834,625] <inf> net_l2_openthread: State changed! Flags: 0x30004000 Current role: 0
uart:~$ ot panid 0xabcd
Done
[00:01:09.419,097] <inf> net_openthread: [INFO]-CORE----: Notifier: StateChanged (0x30~
[00:01:09.419,219] <inf> net_l2_openthread: State changed! Flags: 0x30008000 Current role: 0
uart:~$ ot networkkey 00112233445566778899aabbccddeeff
Done
[00:01:35.188,690] <inf> net_openthread: [INFO]-CORE----: Notifier: StateChanged (0x30~
[00:01:35.188,812] <inf> net_l2_openthread: State changed! Flags: 0x30040100 Current role: 0
uart:~$ ot ifconfig up
Done
[00:01:44.243,194] <inf> net_openthread: [INFO]-CORE----: Notifier: StateChanged (0x01~
[00:01:44.243,286] <inf> net_l2_openthread: State changed! Flags: 0x01001009 Current role: 0
uart:~$ ot thread start
Done
[00:01:52.818,572] <inf> net_openthread: [NOTE]-MLE-----: Role disabled -> detached
[00:01:52.818,878] <inf> net_openthread: [INFO]-MLE-----: AttachState Idle -> Start
[00:01:52.819,305] <inf> net_openthread: [INFO]-CORE----: Notifier: StateChanged (0x00~
[00:01:52.819,458] <inf> net_openthread: [INFO]-MLE-----: [announce-sender] Stopped
[00:01:52.819,488] <inf> net_l2_openthread: State changed! Flags: 0x00001015 Current role: 1
[00:01:53.399,139] <inf> net_openthread: <log_strdup alloc failed>
[00:01:53.399,200] <inf> net_openthread: <log_strdup alloc failed>
[00:01:53.400,787] <inf> net_openthread: <log_strdup alloc failed>
[00:01:53.404,541] <inf> net_openthread: <log_strdup alloc failed>
[00:01:53.404,815] <inf> net_openthread: <log_strdup alloc failed>
[00:01:53.405,090] <inf> net_openthread: <log_strdup alloc failed>
[00:01:54.150,970] <inf> net_openthread: [INFO]-MLE-----: AttachState ParentReqRouters~
[00:01:54.152,587] <inf> net_openthread: [INFO]-MLE-----: Send Parent Request to route~
[00:01:54.157,287] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:84, c~
[00:01:54.157,562] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:01:54.157,806] <inf> net_openthread: <log_strdup alloc failed>
[00:01:55.402,801] <inf> net_openthread: [INFO]-MLE-----: AttachState ParentReqReeds -~
[00:01:55.403,808] <inf> net_openthread: [NOTE]-MLE-----: Allocate router id 32
[00:01:55.404,083] <inf> net_openthread: [NOTE]-MLE-----: RLOC16 fffe -> 8000
[00:01:55.404,174] <inf> net_openthread: [NOTE]-MLE-----: Role detached -> leader
[00:01:55.467,346] <inf> net_openthread: <log_strdup alloc failed>
[00:01:55.467,559] <inf> net_openthread: <log_strdup alloc failed>
[00:01:55.467,895] <inf> net_openthread: <log_strdup alloc failed>
[00:01:55.468,139] <inf> net_openthread: <log_strdup alloc failed>
[00:01:55.468,566] <inf> net_openthread: <log_strdup alloc failed>
[00:01:55.536,499] <inf> net_openthread: <log_strdup alloc failed>
[00:01:55.536,773] <inf> net_openthread: <log_strdup alloc failed>
[00:01:55.537,200] <inf> net_openthread: <log_strdup alloc failed>
[00:01:55.537,292] <inf> net_openthread: <log_strdup alloc failed>
[00:01:55.537,414] <inf> net_openthread: <log_strdup alloc failed>
[00:01:55.537,933] <inf> net_openthread: <log_strdup alloc failed>
[00:01:55.538,208] <inf> net_openthread: <log_strdup alloc failed>
[00:01:55.538,330] <inf> net_openthread: <log_strdup alloc failed>
[00:01:55.538,818] <inf> net_openthread: <log_strdup alloc failed>
[00:01:55.538,879] <inf> net_openthread: <log_strdup alloc failed>
[00:01:55.539,001] <inf> net_openthread: <log_strdup alloc failed>
[00:01:55.539,062] <inf> net_l2_openthread: State changed! Flags: 0x101812a5 Current role: 4
[00:01:55.544,342] <inf> net_openthread: <log_strdup alloc failed>
[00:01:55.544,616] <inf> net_openthread: <log_strdup alloc failed>
[00:01:55.544,891] <inf> net_openthread: <log_strdup alloc failed>
[00:01:56.016,662] <inf> net_openthread: [INFO]-DUA-----: PerformNextRegistration: Inv~
[00:01:56.105,804] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0~
[00:01:56.111,389] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, c~
[00:01:56.111,663] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:01:56.111,938] <inf> net_openthread: <log_strdup alloc failed>
[00:01:57.676,086] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0~
[00:01:57.681,396] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, c~
[00:01:57.681,671] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:01:57.681,945] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:02:00.934,539] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0~
[00:02:00.938,293] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, c~
[00:02:00.938,568] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:02:00.938,842] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:02:07.033,416] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0~
[00:02:07.039,367] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, c~
[00:02:07.039,642] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:02:07.039,916] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:02:23.874,206] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0~
[00:02:23.878,570] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, c~
[00:02:23.878,845] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:02:23.879,119] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:02:51.521,301] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0~
[00:02:51.525,329] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, c~
[00:02:51.525,604] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:02:51.525,878] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
uart:~$ ot state
leader
Done
[00:03:29.306,427] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0~
[00:03:29.311,401] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, c~
[00:03:29.311,676] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:03:29.311,950] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:03:58.803,619] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0~
[00:03:58.808,288] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, c~
[00:03:58.808,563] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:03:58.808,837] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:04:21.877,105] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0~
[00:04:21.882,720] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, c~
[00:04:21.882,995] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:04:21.883,270] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:05:00.318,389] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0~
[00:05:00.323,699] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, c~
[00:05:00.323,974] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:05:00.324,249] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:05:30.553,680] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0~
[00:05:30.557,434] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, c~
[00:05:30.557,708] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:05:30.557,983] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:06:02.776,245] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0~
[00:06:02.782,196] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, c~
[00:06:02.782,470] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:06:02.782,745] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:06:37.994,232] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0~
[00:06:37.998,535] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, c~
[00:06:37.998,809] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:06:37.999,084] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:07:03.376,953] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0~
[00:07:03.380,950] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, c~
[00:07:03.381,225] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:07:03.381,500] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:07:32.709,106] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0~
[00:07:32.714,050] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, c~
[00:07:32.714,355] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:07:32.714,630] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:07:46.401,611] <inf> net_openthread: [INFO]-MLE-----: [announce-sender] Schedule t~
[00:07:46.406,646] <inf> net_openthread: [INFO]-MLE-----: Send Announce on channel 11
[00:07:46.412,506] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:83, c~
[00:07:46.412,780] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:07:46.413,055] <inf> net_openthread: <log_strdup alloc failed>
[00:08:06.653,289] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0~
[00:08:06.658,905] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, c~
[00:08:06.659,179] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:08:06.659,454] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:08:07.536,224] <inf> net_openthread: <log_strdup alloc failed>
[00:08:07.542,785] <inf> net_openthread: <log_strdup alloc failed>
[00:08:07.543,060] <inf> net_openthread: <log_strdup alloc failed>
[00:08:07.543,334] <inf> net_openthread: <log_strdup alloc failed>
[00:08:28.568,572] <inf> net_openthread: [INFO]-MLE-----: Send Announce on channel 13
[00:08:28.573,547] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:83, c~
[00:08:28.573,852] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:08:28.574,127] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
uart:~$ ot state
leader
Done
[00:08:42.728,363] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0~
[00:08:42.734,313] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, c~
[00:08:42.734,588] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:08:42.734,863] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:08:49.846,923] <inf> net_openthread: [INFO]-MLE-----: Send Announce on channel 14
[00:08:49.852,508] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:83, c~
[00:08:49.852,783] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:08:49.853,057] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:09:10.991,394] <inf> net_openthread: [INFO]-MLE-----: Send Announce on channel 15
[00:09:10.996,673] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:83, c~
[00:09:10.996,948] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:09:10.997,222] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:09:21.365,722] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0~
[00:09:21.370,697] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, c~
[00:09:21.370,971] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:09:21.371,246] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:09:32.582,763] <inf> net_openthread: [INFO]-MLE-----: Send Announce on channel 16
[00:09:32.588,684] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:83, c~
[00:09:32.588,958] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:09:32.589,233] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:09:45.399,444] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0~
[00:09:45.405,029] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, c~
[00:09:45.405,303] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:09:45.405,609] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:09:54.093,231] <inf> net_openthread: [INFO]-MLE-----: Send Announce on channel 17
[00:09:54.099,792] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:83, c~
[00:09:54.100,067] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:09:54.100,341] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:10:15.593,627] <inf> net_openthread: [INFO]-MLE-----: Send Announce on channel 18
[00:10:15.598,632] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:83, c~
[00:10:15.598,907] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:10:15.599,182] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:10:24.354,888] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0~
[00:10:24.360,839] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, c~
[00:10:24.361,114] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:10:24.361,389] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:10:37.533,111] <inf> net_openthread: [INFO]-MLE-----: Send Announce on channel 19
[00:10:37.538,696] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:83, c~
[00:10:37.538,970] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:10:37.539,245] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:10:55.936,401] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0~
[00:10:55.940,490] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, c~
[00:10:55.940,765] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:10:55.941,040] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:10:58.989,868] <inf> net_openthread: [INFO]-MLE-----: Send Announce on channel 20
[00:10:58.996,093] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:83, c~
[00:10:58.996,368] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:10:58.996,643] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:11:14.543,701] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0~
[00:11:14.548,370] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, c~
[00:11:14.548,645] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:11:14.548,919] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:11:20.247,161] <inf> net_openthread: [INFO]-MLE-----: Send Announce on channel 21
[00:11:20.254,058] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:83, c~
[00:11:20.254,333] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:11:20.254,608] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:11:41.947,692] <inf> net_openthread: [INFO]-MLE-----: Send Announce on channel 22
[00:11:41.954,254] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:83, c~
[00:11:41.954,528] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:11:41.954,803] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:12:00.269,927] <inf> net_openthread: [INFO]-MLE-----: Send Advertisement (ff02:0:0~
[00:12:00.273,681] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:90, c~
[00:12:00.273,956] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:12:00.274,200] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
[00:12:03.087,127] <inf> net_openthread: [INFO]-MLE-----: Send Announce on channel 23
[00:12:03.094,329] <inf> net_openthread: [INFO]-MAC-----: Sent IPv6 UDP msg, len:83, c~
[00:12:03.094,604] <inf> net_openthread: [INFO]-MAC-----:     src:[fe80:0:0:0:f45c:4c1~
[00:12:03.094,879] <inf> net_openthread: [INFO]-MAC-----:     dst:[ff02:0:0:0:0:0:0:1]~
uart:~$ ot version
OPENTHREAD/v1.7.0; Zephyr; Nov 30 2021 11:11:19
Done
uart:~$

However they do not connect.

To figure out if the dk and pdk were actually doing something I used the "ot diag" command".

The nrf21540dk seem to receive some packets:

*** Booting Zephyr OS build v2.6.99-ncs1-1  ***
[00:00:01.912,536] <inf> cli_sample:

OpenThread Command Line Interface is now running.
Use the 'ot' keyword to invoke OpenThread commands e.g. 'ot thread start.'
For the full commands list refer to the OpenThread CLI documentation at:
https://github.com/openthread/openthread/blob/master/src/cli/README.md

uart:~$ ot diag start
start diagnostics mode
status 0x00
Done
uart:~$ ot diag stats
received packets: 0
sent packets: 0
first received packet: rssi=0, lqi=0
last received packet: rssi=0, lqi=0
Done
uart:~$ ot diag channel 11
set channel to 11
status 0x00
Done
uart:~$ ot diag send 20 100
sending 0x14 packet(s), length 0x64
status 0x00
Done
[00:00:21.988,311] <err> ieee802154_nrf5: Cannot send frame
uart:~$ ot diag stats
received packets: 197
sent packets: 20
first received packet: rssi=-74, lqi=76
last received packet: rssi=-69, lqi=96
Done
uart:~$ ot diag send 20 100
sending 0x14 packet(s), length 0x64
status 0x00
Done
uart:~$ ot diag stats
received packets: 210
sent packets: 40
first received packet: rssi=-74, lqi=76
last received packet: rssi=-45, lqi=192
Done
uart:~$ ot diag stats
received packets: 735
sent packets: 40
first received packet: rssi=-74, lqi=76
last received packet: rssi=-46, lqi=192
Done
uart:~$ ot diag stats
received packets: 5206
sent packets: 40
first received packet: rssi=-74, lqi=76
last received packet: rssi=-44, lqi=196
Done
uart:~$ ot diag stop
received packets: 5296
sent packets: 40
first received packet: rssi=-74, lqi=76
last received packet: rssi=-87, lqi=24

stop diagnostics mode
status 0x00
Done
uart:~$ ot diag start
start diagnostics mode
status 0x00
Done
uart:~$ ot diag stats
received packets: 4
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-84, lqi=36
Done
uart:~$ ot diag stats
received packets: 134
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-68, lqi=100
Done
uart:~$ ot diag stats
received packets: 149
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-67, lqi=100
Done
uart:~$ ot diag stats
received packets: 166
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-90, lqi=16
Done
uart:~$ ot diag stats
received packets: 220
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-82, lqi=40
Done
uart:~$ ot diag stats
received packets: 270
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-68, lqi=100
Done
uart:~$ ot diag stats
received packets: 270
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-68, lqi=100
Done
uart:~$ ot diag stats
received packets: 270
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-68, lqi=100
Done
uart:~$ ot diag stats
received packets: 306
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-85, lqi=32
Done
uart:~$ ot diag stats
received packets: 312
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-87, lqi=20
Done
uart:~$ ot diag stats
received packets: 312
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-87, lqi=20
Done
uart:~$ ot diag stats
received packets: 312
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-87, lqi=20
Done
uart:~$ ot diag stats
received packets: 312
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-87, lqi=20
Done
uart:~$ ot diag stats
received packets: 313
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-88, lqi=16
Done
uart:~$ ot diag stats
received packets: 318
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-86, lqi=32
Done
uart:~$ ot diag stats
received packets: 405
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-86, lqi=28
Done
uart:~$ ot diag stats
received packets: 471
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-88, lqi=16
Done
uart:~$ ot diag stats
received packets: 471
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-88, lqi=16
Done
uart:~$ ot diag stats
received packets: 472
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-88, lqi=16
Done
uart:~$ ot diag stats
received packets: 472
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-88, lqi=16
Done
uart:~$ ot diag stats
received packets: 473
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-44, lqi=196
Done
uart:~$ ot diag stats
received packets: 473
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-44, lqi=196
Done
uart:~$ ot diag stats
received packets: 475
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-86, lqi=28
Done
uart:~$ ot diag stats
received packets: 475
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-86, lqi=28
Done
uart:~$ ot diag stats
received packets: 476
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-71, lqi=88
Done
uart:~$ ot diag stats
received packets: 476
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-71, lqi=88
Done
uart:~$ ot diag stats
received packets: 476
sent packets: 0
first received packet: rssi=-87, lqi=20
last received packet: rssi=-71, lqi=88
Done
uart:~$ ot diag start
start diagnostics mode
status 0x00
Done
uart:~$ ot diag stats
received packets: 2
sent packets: 0
first received packet: rssi=-75, lqi=68
last received packet: rssi=-89, lqi=20
Done
uart:~$ ot diag stats
received packets: 5
sent packets: 0
first received packet: rssi=-75, lqi=68
last received packet: rssi=-89, lqi=16
Done
uart:~$ ot diag stats
received packets: 18
sent packets: 0
first received packet: rssi=-75, lqi=68
last received packet: rssi=-86, lqi=28
Done
uart:~$ ot diag stats
received packets: 18
sent packets: 0
first received packet: rssi=-75, lqi=68
last received packet: rssi=-86, lqi=28
Done
uart:~$ ot diag stats
received packets: 18
sent packets: 0
first received packet: rssi=-75, lqi=68
last received packet: rssi=-86, lqi=28
Done
uart:~$ ot diag stats
received packets: 20
sent packets: 0
first received packet: rssi=-75, lqi=68
last received packet: rssi=-89, lqi=16
Done
uart:~$
uart:~$ ot diag stats
received packets: 20
sent packets: 0
first received packet: rssi=-75, lqi=68
last received packet: rssi=-89, lqi=16
Done
uart:~$ ot diag stats
received packets: 20
sent packets: 0
first received packet: rssi=-75, lqi=68
last received packet: rssi=-89, lqi=16
Done
uart:~$ ot diag stats
received packets: 21
sent packets: 0
first received packet: rssi=-75, lqi=68
last received packet: rssi=-89, lqi=16
Done
uart:~$ ot diag stats
received packets: 39
sent packets: 0
first received packet: rssi=-75, lqi=68
last received packet: rssi=-71, lqi=88
Done
uart:~$ ot diag stats
received packets: 39
sent packets: 0
first received packet: rssi=-75, lqi=68
last received packet: rssi=-71, lqi=88
Done
uart:~$ ot diag stats
received packets: 41
sent packets: 0
first received packet: rssi=-75, lqi=68
last received packet: rssi=-74, lqi=80
Done
uart:~$
uart:~$ ot diag stats
received packets: 49
sent packets: 0
first received packet: rssi=-75, lqi=68
last received packet: rssi=-88, lqi=20
Done
uart:~$ ot diag stats
received packets: 55
sent packets: 0
first received packet: rssi=-75, lqi=68
last received packet: rssi=-77, lqi=64
Done
uart:~$ ot diag stats
received packets: 62
sent packets: 0
first received packet: rssi=-75, lqi=68
last received packet: rssi=-45, lqi=192
Done
uart:~$ ot diag stats
received packets: 69
sent packets: 0
first received packet: rssi=-75, lqi=68
last received packet: rssi=-87, lqi=20
Done
uart:~$ ot diag stats
received packets: 69
sent packets: 0
first received packet: rssi=-75, lqi=68
last received packet: rssi=-87, lqi=20
Done
uart:~$ ot diag stats
received packets: 75
sent packets: 0
first received packet: rssi=-75, lqi=68
last received packet: rssi=-90, lqi=20
Done
uart:~$ ot diag stats
received packets: 85
sent packets: 0
first received packet: rssi=-75, lqi=68
last received packet: rssi=-89, lqi=12
Done
uart:~$ ot diag stats
received packets: 108
sent packets: 0
first received packet: rssi=-75, lqi=68
last received packet: rssi=-88, lqi=20
Done
uart:~$ ot diag stats
received packets: 109
sent packets: 0
first received packet: rssi=-75, lqi=68
last received packet: rssi=-44, lqi=196
Done
uart:~$ ot diag stats
received packets: 127
sent packets: 0
first received packet: rssi=-75, lqi=68
last received packet: rssi=-88, lqi=20
Done
uart:~$

I'm not sure where these packets are coming from, I don't have any other thread devices running. I do have some zigbee devices here, could the nrf21540 be receiving zigbee packets?

But the nrf5340PDK does not seem to receive or send anything:

[00:00:00.530,303] <inf> cli_sample:

OpenThread Command Line Interface is now running.
Use the 'ot' keyword to invoke OpenThread commands e.g. 'ot thread start.'
For the full commands list refer to the OpenThread CLI documentation at:
https://github.com/openthread/openthread/blob/master/src/cli/README.md

uart:~$ ot diag start
start diagnostics mode
status 0x00
Done
uart:~$ ot diag channel 11
set channel to 11
status 0x00
Done
uart:~$ ot diag stats
received packets: 0
sent packets: 0
first received packet: rssi=0, lqi=0
last received packet: rssi=0, lqi=0
Done
uart:~$ ot diag send 20 100
sending 0x14 packet(s), length 0x64
status 0x00
Done
uart:~$ ot diag stats
received packets: 0
sent packets: 0
first received packet: rssi=0, lqi=0
last received packet: rssi=0, lqi=0
Done
uart:~$ ot diag stats
received packets: 0
sent packets: 0
first received packet: rssi=0, lqi=0
last received packet: rssi=0, lqi=0
Done
uart:~$ ot diag stats
received packets: 0
sent packets: 0
first received packet: rssi=0, lqi=0
last received packet: rssi=0, lqi=0
Done
uart:~$ ot diag stats
received packets: 0
sent packets: 0
first received packet: rssi=0, lqi=0
last received packet: rssi=0, lqi=0
Done
uart:~$

Is the nrf5340 Preview-DK not receiving or sending packets because it is no longer supported?

Parents Reply Children
Related