How to obtain CoAP IP addresses from Thread neighbors?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to obtain CoAP IP addresses from Thread neighbors?

1,395 次查看
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 项奖励
回复
1 回复

931 次查看
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 项奖励
回复