Other Parts Discussed in Thread: Z-STACK
各位大神
z-stack里面有个发送队列,就是最多能存3个设备,最多能存9条数据的那个队列的名称叫什么?
还有,那个队列我能操作吗?
拜托拜托!
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
typedef struct{ void *next; uint16 len; uint8 dest_id;} osal_msg_hdr_t;

typedef struct{ osal_event_hdr_t hdr; /* OSAL Message header */ uint16 groupId; /* Message's group ID - 0 if not set */ uint16 clusterId; /* Message's cluster ID */ afAddrType_t srcAddr; /* Source Address, if endpoint is STUBAPS_INTER_PAN_EP, it's an InterPAN message */ uint16 macDestAddr; /* MAC header destination short address */ uint8 endPoint; /* destination endpoint */ uint8 wasBroadcast; /* TRUE if network destination was a broadcast address */ uint8 LinkQuality; /* The link quality of the received data frame */ uint8 correlation; /* The raw correlation value of the received data frame */ int8 rssi; /* The received RF power in units dBm */ uint8 SecurityUse; /* deprecated */ uint32 timestamp; /* receipt timestamp from MAC */ afMSGCommandFormat_t cmd; /* Application Data */} afIncomingMSGPacket_t;typedef struct{ union { uint16 shortAddr; //16位网络地址 ZLongAddr_t extAddr; //设备IEEE64位物理地址 } addr; afAddrMode_t addrMode; byte endPoint; uint16 panId; } afAddrType_t;typedef enum{ afAddrNotPresent = AddrNotPresent, afAddr16Bit = Addr16Bit, //点播 afAddr64Bit = Addr64Bit, afAddrGroup = AddrGroup, //组播 afAddrBroadcast = AddrBroadcast //广播} afAddrMode_t;afStatus_t AF_DataRequest( afAddrType_t *dstAddr, endPointDesc_t *srcEP, uint16 cID, uint16 len, uint8 *buf, uint8 *transID, uint8 options, uint8 radius )