This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具与软件:
大家好、我有一个关于在 Wi-SUN 网络中生成 IP 地址的问题。 o 取消证明 IPv6基于主 IEEE 地址。 但我在一个字节中有不匹配情况。 我有两个例子:
主要 IEEE 地址-> Wi-SUN 地址
00:12:4B:00:33:88:1A:A4 -> 2020:ABCD:0000:0000:0212:4B00:3388:1AA4
00:12:4B:00:33:88:1A:A0 -> 2020:ABCD:0000:0000:0212:4B00:3388:1AA0
第一个 IEEE 字节从00更改为02。 其他字节相同。 您能告诉我原因吗?
当我在 pySpinel 中使用"RSSI"命令时、我有一个好的 IEEE、第一个字节为00号02
spinel-cli > rssi Number of Neighbor Nodes = 1 Neighbor Node RSSI metrics are (EUI, RSSI_IN, RSSI_OUT): 00124b0033881aa0, -162.625dBm, -162.375dBm
您好、Arthur、
我使用 Uniflash 读取 IEEE 主地址、使用 PySpinel 脚本读取 IP 地址。 我使用connecteddevices
PySpinel 命令。
spinel-cli > connecteddevices List of connected devices currently in routing table: 2020:abcd::212:4b00:3388:1aa0 Number of connected devices: 1 Done
我通过测试调查了问题。 它们显示了该不同的半字节是由编号为0x02的 XOR 运算创建的。
0x00 -> 0x02
0x01 -> 0x03
0x03 -> 0x01
-------
0x0D -> 0x0F
0x0E -> 0x0C
0x0F -> 0x0D