silicon zigbee host一些常用命令

参考文档:

ug129-zigbee-gateway-ref-design-guide.pdf

file:///D:/SiliconLabs/SimplicityStudio/v4/developer/sdks/gecko_sdk_suite/v2.5/protocol/zigbee/documentation/120-3023-000_AF_V2_API/index.html

打印设备表:

           plugin device-table print

设备退网:

         zdo leave 0x058a 0 0  usage:zdo leave [target:2(网络地址)] [removeChildren:1] [rejoin:1]

开放zigbee网络:

          plugin network-creator-security open-network

zdo绑定:

     zdo bind 0x81b5 1 1 0x0006 {D0CF5EFFFE540307} {D0CF5EFFFEF11582}

     zdo bind [destination:2] [source Endpoint:1] [destEndpoint:1] [cluster:2] [remoteEUI64:8] [destEUI64:8]

     绑定CLusterID 

  • destination - INT16U - 网络短地址
  • source Endpoint - INT8U - Remote device's source endpoint to bind
  • destEndpoint - INT8U - Remote endpoint to bind
  • cluster - INT16U - Cluster on which to bind
  • remoteEUI64 - IEEE_ADDRESS - Remote node EUI64
  • destEUI64 - IEEE_ADDRESS - Binding's dest EUI64. Usually the local node's EUI64

#根据短地址 查询MAC地址

zdo ieee 0x0000

#根据长地址 查询短地址

zdo nwk {00 00 00 00 00 00 00}

猜你喜欢

转载自blog.csdn.net/u013578795/article/details/86594207