This commit is contained in:
Nanosonde 2020-11-10 14:36:42 +01:00
parent 108927cd15
commit 007742483a

View File

@ -171,10 +171,10 @@ rfc_CMD_PROP_TX_t RF_cmdPropTx =
.startTrigger.pastTrig = 0x0,
.condition.rule = 0x1,
.condition.nSkip = 0x0,
.pktConf.bFsOff = 0x0,
.pktConf.bUseCrc = 0x1,
.pktConf.bVarLen = 0x1,
.pktLen = 0x14, // SET APPLICATION PAYLOAD LENGTH
.pktConf.bFsOff = 0x0, // 0: Keep synthesizer running after end trigger
.pktConf.bUseCrc = 0x0, // CRC engine cannot be used
.pktConf.bVarLen = 0x0, // 0: Fixed length
.pktLen = 0x00, // SET APPLICATION PAYLOAD LENGTH
.syncWord = 0x547696,
.pPkt = 0, // INSERT APPLICABLE POINTER: (uint8_t*)&xxx
};
@ -192,15 +192,15 @@ rfc_CMD_PROP_RX_ADV_t RF_cmdPropRxAdv =
.startTrigger.pastTrig = 0x0,
.condition.rule = 0x1,
.condition.nSkip = 0x0,
.pktConf.bFsOff = 0x0,
.pktConf.bFsOff = 0x0, // 0: Keep synthesizer running after end trigger
.pktConf.bRepeatOk = 0x0,
.pktConf.bRepeatNok = 0x0,
.pktConf.bUseCrc = 0x0, // CRC engine cannot be used
.pktConf.bCrcIncSw = 0x0,
.pktConf.bCrcIncHdr = 0x1,
.pktConf.endType = 0x0,
.pktConf.filterOp = 0x0,
.rxConf.bAutoFlushIgnored = 0x0,
.pktConf.filterOp = 0x0, // 0: Abort packet reception and restart syncword search
.rxConf.bAutoFlushIgnored = 0x0, // Not supported for partial RX buffers
.rxConf.bAutoFlushCrcErr = 0x0,
.rxConf.bIncludeHdr = 0x1,
.rxConf.bIncludeCrc = 0x0,
@ -212,7 +212,7 @@ rfc_CMD_PROP_RX_ADV_t RF_cmdPropRxAdv =
.maxPktLen = 0,
.hdrConf.numHdrBits = 8, // One length byte in header
.hdrConf.lenPos = 0,
.hdrConf.numLenBits = 8, // Header length is just the length byte
.hdrConf.numLenBits = 0, // Engine shall not read the length itself. We set it later. (maxPktLen must be 0!)
.addrConf.addrType = 0, // Address bytes AFTER header
.addrConf.addrSize = 2, // use the two fixed bytes (0x44 and 0xff) after the length byte as address bytes
.addrConf.addrPos = 0,