Haromnise names of ZStack message structs
pwood opened this issue · comments
The naming of ZStack message stucts is inconsistent. Sometimes the shimmeringbee code has created a "Resp" struct which is the response to a "Req", but ZStack natively calls some async responses "Resp".
Messages should be renamed to be, for example:
SYS_VERSION = SysVersion and SysVersionReply
ZB_BIND_DEVICE = ZbBindDevice/ZbBindDeviceReply
ZB_BIND_CONFIRM = ZbBindConfirm
ZDO_ACTIVE_EP_REQ = ZdoActiveEpReq/ZdoActiveEpReqReply
ZDO_ACTIVE_EP_RSP = ZdoActiveEpResp
That is, when a message is syncronous the name of the SRSP is the same as SREQ, with Reply appended.