Hello everyone,
I want to use CC2650 in SOC mode to send and receive Zigbee frames.
I want to use github.com/.../api
I want to use this API not to include Z-STACK which will leave me less avaliable memory for my application
I managed to send a frame using
RFCDoorbellSendTo ((uint32_t) cmd);
Where cmd is pointer to rfc_CMD_IEEE_TX_t
And gtbluc_Frame is my Frame
{
.commandNo = CMD_IEEE_TX, / * Create frame with command Tx * /
.status = 0x0000, / * status * /
.pNextOp = 0x00000000, / * pNextOp * /
.startTime = 0x00000000, / * startTime * /
.startTrigger.bEnaCmd = 0, / * startTrigger * /
.startTrigger.triggerType = TRIG_NOW,
.startTrigger.triggerNo = 0,
.startTrigger.pastTrig = 0,
.condition.rule = COND_NEVER, / * condition * /
.condition.nSkip = 0,
.txOpt.bIncludePhyHdr = 0, / * Phy address auto * /
.txOpt.bIncludeCrc = 0, / * CRC computed auto * /
.payloadLen = 0x0D, / * Number of bytes in the payload * /
.pPayload = & gtbluc_Frame [0], / * Pointer to payload buffer of size (payloadLen) * /
.timeStamp = 0x00000000 / * Time stamp of transmitted frame * /
};
but I do not know how :
Put the component into reception mode
Know that a frame is received
Able to read the contents of the frame
Can you help me please