傻傻紫菜

文章
4
资源
1
加入时间
3年2月3天

ZigBee协调器向子节点发消息

  在一般的ZigBee教程中,子节点如何向协调器发送消息已经被描述得非常清楚了,即子节点直接使用API向地址为0x0000的协调器发送消息即可。用到的函数如下:afStatus_t AF_DataRequest ( afAddrType_t *dstAddr, endPointDesc_t *srcEP, uint16 cID, uint16 len, uint8 *buf, uint8 *transID, uint8 options, u