Other Parts Discussed in Thread: Z-STACK
Dear all,
In 07-5123-06-zigbee-cluster-library-specification, 3.13.2.4.5 RSSI Ping Command. Since the zdoIncomingMsg_t structure don’t have the field of RSSI value, how can the pfnLocationRsp function knows the value of RSSI?
// codes inside zclGeneral_ProcessInLocationClient()
case COMMAND_LOCATION_RSSI_PING: if ( pCBs->pfnLocationRsp ) { rsp.un.locationType = *pData; rsp.srcAddr = &(pInMsg->msg->srcAddr); rsp.cmdID = pInMsg->hdr.commandID; // Notify the Application pCBs->pfnLocationRsp( &rsp ); } break; //... other codes
typedef struct { osal_event_hdr_t hdr; zAddrType_t srcAddr; uint8 wasBroadcast; cId_t clusterID; uint8 SecurityUse; uint8 TransSeq; uint8 asduLen; uint16 macDestAddr; uint8 *asdu; uint16 macSrcAddr; } zdoIncomingMsg_t;
BR,
Barry