How to obtain CoAP IP addresses from Thread neighbors?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to obtain CoAP IP addresses from Thread neighbors?

1,464 Views
joachimk
Contributor II

Hi,

is there any way to get the CoAP IP addresses from the nearest Thread neighbors?

If I use THR_GetNeighborTable() I only get short and extended addresses.

Or: Can I send some simple messages to these adresses?

Thanks in advance.

Joachim

0 Kudos
Reply
1 Reply

1,000 Views
alejandra_guzman
NXP Employee
NXP Employee

You can try $getnodesip shell command. This instruction will send a Get Diagnostic /d/dq message over the air asking for the IPv6 address list.

pastedImage_3.png

pastedImage_2.png

After receiving this instruction a node will reply with a Get Diagnostic Answer /d/da containing its IPv6 addresses

pastedImage_4.png

pastedImage_5.png

0 Kudos
Reply