📄 apsmesap.nc
字号:
/** * this interface are aps layer management service access point (send and receive) * note that there may be several application use this interface, should avoid compete. */#include "ZBTYPES.h" interface ApsmeSap{/** * add bind, need not split * dstAddrMode = 0x01 indicate that dstAddr is group address and dstEndPoint does not make sense; * dstAddrMode = 0x03 indicate that dstAddr is 64bit long address and dstEndPoint is destination end point. * * note that binding do not use short address. **/async command aps_error_t bind(laddr_t srcAddr, uint8_t srcEndPoint, uint16_t clusterId, uint8_t dstAddrMode, addr_union_t dstAddr, uint8_t dstEndPoint); /** * remove bind, need not split * dstAddrMode = 0x01 indicate that dstAddr is group address and dstEndPoint does not make sense; * dstAddrMode = 0x03 indicate that dstAddr is 64bit long address and dstEndPoint is destination end point. * **/async command aps_error_t unBind(laddr_t srcAddr, uint8_t srcEndPoint, uint16_t clusterId, uint8_t dstAddrMode, addr_union_t dstAddr, uint8_t dstEndPoint); /** * add a endpoint into a group, need not split. * **/async command aps_error_t groupAddEp(uint16_t groupId, uint8_t endpoint);/** * delete a endpoint from a group, need not split. **/ async command aps_error_t groupDelEp(uint16_t groupId, uint8_t endpoint);/** * remove endpoint in every group, need not split. **/async command aps_error_t groupDelAllEp(uint8_t endpoint);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -