CC13xx Driver Library
rf_ble_cmd.h
Go to the documentation of this file.
1 /******************************************************************************
2 * Filename: rf_ble_cmd.h
3 * Revised: 2016-02-18 12:46:56 +0100 (Thu, 18 Feb 2016)
4 * Revision: 45712
5 *
6 * Description: CC13xx API for Bluetooth Low Energy commands
7 *
8 * Copyright (c) 2015, Texas Instruments Incorporated
9 * All rights reserved.
10 *
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions are met:
13 *
14 * 1) Redistributions of source code must retain the above copyright notice,
15 * this list of conditions and the following disclaimer.
16 *
17 * 2) Redistributions in binary form must reproduce the above copyright notice,
18 * this list of conditions and the following disclaimer in the documentation
19 * and/or other materials provided with the distribution.
20 *
21 * 3) Neither the name of the ORGANIZATION nor the names of its contributors may
22 * be used to endorse or promote products derived from this software without
23 * specific prior written permission.
24 *
25 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
26 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
28 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
29 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
30 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35 * POSSIBILITY OF SUCH DAMAGE.
36 *
37 ******************************************************************************/
38 
39 #ifndef __BLE_CMD_H
40 #define __BLE_CMD_H
41 
42 #ifndef __RFC_STRUCT
43 #ifdef __GNUC__
44 #define __RFC_STRUCT __attribute__ ((aligned (4)))
45 #else
46 #define __RFC_STRUCT
47 #endif
48 #endif
49 
52 
55 
56 #include <stdint.h>
57 #include <driverlib/rf_mailbox.h>
59 
88 
92  uint16_t commandNo;
93  uint16_t status;
94  rfc_radioOp_t *pNextOp;
98  struct {
99  uint8_t triggerType:4;
100  uint8_t bEnaCmd:1;
101  uint8_t triggerNo:2;
103  uint8_t pastTrig:1;
104  } startTrigger;
106  struct {
107  uint8_t rule:4;
108  uint8_t nSkip:4;
109  } condition;
110  uint8_t channel;
111  struct {
116  uint8_t init:7;
117  uint8_t bOverride:1;
120  } whitening;
122  uint8_t* pParams;
123  uint8_t* pOutput;
124 };
125 
127 
130 #define CMD_BLE_SLAVE 0x1801
132  uint16_t commandNo;
133  uint16_t status;
134  rfc_radioOp_t *pNextOp;
138  struct {
139  uint8_t triggerType:4;
140  uint8_t bEnaCmd:1;
141  uint8_t triggerNo:2;
143  uint8_t pastTrig:1;
144  } startTrigger;
146  struct {
147  uint8_t rule:4;
148  uint8_t nSkip:4;
149  } condition;
150  uint8_t channel;
151  struct {
156  uint8_t init:7;
157  uint8_t bOverride:1;
160  } whitening;
164 };
165 
167 
170 #define CMD_BLE_MASTER 0x1802
172  uint16_t commandNo;
173  uint16_t status;
174  rfc_radioOp_t *pNextOp;
178  struct {
179  uint8_t triggerType:4;
180  uint8_t bEnaCmd:1;
181  uint8_t triggerNo:2;
183  uint8_t pastTrig:1;
184  } startTrigger;
186  struct {
187  uint8_t rule:4;
188  uint8_t nSkip:4;
189  } condition;
190  uint8_t channel;
191  struct {
196  uint8_t init:7;
197  uint8_t bOverride:1;
200  } whitening;
204 };
205 
207 
210 #define CMD_BLE_ADV 0x1803
212  uint16_t commandNo;
213  uint16_t status;
214  rfc_radioOp_t *pNextOp;
218  struct {
219  uint8_t triggerType:4;
220  uint8_t bEnaCmd:1;
221  uint8_t triggerNo:2;
223  uint8_t pastTrig:1;
224  } startTrigger;
226  struct {
227  uint8_t rule:4;
228  uint8_t nSkip:4;
229  } condition;
230  uint8_t channel;
231  struct {
236  uint8_t init:7;
237  uint8_t bOverride:1;
240  } whitening;
244 };
245 
247 
250 #define CMD_BLE_ADV_DIR 0x1804
252  uint16_t commandNo;
253  uint16_t status;
254  rfc_radioOp_t *pNextOp;
258  struct {
259  uint8_t triggerType:4;
260  uint8_t bEnaCmd:1;
261  uint8_t triggerNo:2;
263  uint8_t pastTrig:1;
264  } startTrigger;
266  struct {
267  uint8_t rule:4;
268  uint8_t nSkip:4;
269  } condition;
270  uint8_t channel;
271  struct {
276  uint8_t init:7;
277  uint8_t bOverride:1;
280  } whitening;
284 };
285 
287 
290 #define CMD_BLE_ADV_NC 0x1805
292  uint16_t commandNo;
293  uint16_t status;
294  rfc_radioOp_t *pNextOp;
298  struct {
299  uint8_t triggerType:4;
300  uint8_t bEnaCmd:1;
301  uint8_t triggerNo:2;
303  uint8_t pastTrig:1;
304  } startTrigger;
306  struct {
307  uint8_t rule:4;
308  uint8_t nSkip:4;
309  } condition;
310  uint8_t channel;
311  struct {
316  uint8_t init:7;
317  uint8_t bOverride:1;
320  } whitening;
324 };
325 
327 
330 #define CMD_BLE_ADV_SCAN 0x1806
332  uint16_t commandNo;
333  uint16_t status;
334  rfc_radioOp_t *pNextOp;
338  struct {
339  uint8_t triggerType:4;
340  uint8_t bEnaCmd:1;
341  uint8_t triggerNo:2;
343  uint8_t pastTrig:1;
344  } startTrigger;
346  struct {
347  uint8_t rule:4;
348  uint8_t nSkip:4;
349  } condition;
350  uint8_t channel;
351  struct {
356  uint8_t init:7;
357  uint8_t bOverride:1;
360  } whitening;
364 };
365 
367 
370 #define CMD_BLE_SCANNER 0x1807
372  uint16_t commandNo;
373  uint16_t status;
374  rfc_radioOp_t *pNextOp;
378  struct {
379  uint8_t triggerType:4;
380  uint8_t bEnaCmd:1;
381  uint8_t triggerNo:2;
383  uint8_t pastTrig:1;
384  } startTrigger;
386  struct {
387  uint8_t rule:4;
388  uint8_t nSkip:4;
389  } condition;
390  uint8_t channel;
391  struct {
396  uint8_t init:7;
397  uint8_t bOverride:1;
400  } whitening;
404 };
405 
407 
410 #define CMD_BLE_INITIATOR 0x1808
412  uint16_t commandNo;
413  uint16_t status;
414  rfc_radioOp_t *pNextOp;
418  struct {
419  uint8_t triggerType:4;
420  uint8_t bEnaCmd:1;
421  uint8_t triggerNo:2;
423  uint8_t pastTrig:1;
424  } startTrigger;
426  struct {
427  uint8_t rule:4;
428  uint8_t nSkip:4;
429  } condition;
430  uint8_t channel;
431  struct {
436  uint8_t init:7;
437  uint8_t bOverride:1;
440  } whitening;
444 };
445 
447 
450 #define CMD_BLE_GENERIC_RX 0x1809
452  uint16_t commandNo;
453  uint16_t status;
454  rfc_radioOp_t *pNextOp;
458  struct {
459  uint8_t triggerType:4;
460  uint8_t bEnaCmd:1;
461  uint8_t triggerNo:2;
463  uint8_t pastTrig:1;
464  } startTrigger;
466  struct {
467  uint8_t rule:4;
468  uint8_t nSkip:4;
469  } condition;
470  uint8_t channel;
471  struct {
476  uint8_t init:7;
477  uint8_t bOverride:1;
480  } whitening;
484 };
485 
487 
490 #define CMD_BLE_TX_TEST 0x180A
492  uint16_t commandNo;
493  uint16_t status;
494  rfc_radioOp_t *pNextOp;
498  struct {
499  uint8_t triggerType:4;
500  uint8_t bEnaCmd:1;
501  uint8_t triggerNo:2;
503  uint8_t pastTrig:1;
504  } startTrigger;
506  struct {
507  uint8_t rule:4;
508  uint8_t nSkip:4;
509  } condition;
510  uint8_t channel;
511  struct {
516  uint8_t init:7;
517  uint8_t bOverride:1;
520  } whitening;
524 };
525 
527 
530 #define CMD_BLE_ADV_PAYLOAD 0x1001
532  uint16_t commandNo;
533  uint8_t payloadType;
534  uint8_t newLen;
536  uint8_t* pNewData;
538 };
539 
541 
547  struct {
548  uint8_t bAutoFlushIgnored:1;
549  uint8_t bAutoFlushCrcErr:1;
550  uint8_t bAutoFlushEmpty:1;
551  uint8_t bIncludeLenByte:1;
552  uint8_t bIncludeCrc:1;
553  uint8_t bAppendRssi:1;
554  uint8_t bAppendStatus:1;
555  uint8_t bAppendTimestamp:1;
556  } rxConfig;
557  struct {
558  uint8_t lastRxSn:1;
559  uint8_t lastTxSn:1;
560  uint8_t nextTxSn:1;
561  uint8_t bFirstPkt:1;
562  uint8_t bAutoEmpty:1;
563  uint8_t bLlCtrlTx:1;
564  uint8_t bLlCtrlAckRx:1;
565  uint8_t bLlCtrlAckPending:1;
566  } seqStat;
567  uint8_t maxNack;
568  uint8_t maxPkt;
569  uint32_t accessAddress;
570  uint8_t crcInit0;
571  uint8_t crcInit1;
572  uint8_t crcInit2;
573 };
574 
576 
580 
584  struct {
585  uint8_t bAutoFlushIgnored:1;
586  uint8_t bAutoFlushCrcErr:1;
587  uint8_t bAutoFlushEmpty:1;
588  uint8_t bIncludeLenByte:1;
589  uint8_t bIncludeCrc:1;
590  uint8_t bAppendRssi:1;
591  uint8_t bAppendStatus:1;
592  uint8_t bAppendTimestamp:1;
593  } rxConfig;
594  struct {
595  uint8_t lastRxSn:1;
596  uint8_t lastTxSn:1;
597  uint8_t nextTxSn:1;
598  uint8_t bFirstPkt:1;
599  uint8_t bAutoEmpty:1;
600  uint8_t bLlCtrlTx:1;
601  uint8_t bLlCtrlAckRx:1;
602  uint8_t bLlCtrlAckPending:1;
603  } seqStat;
604  uint8_t maxNack;
605  uint8_t maxPkt;
606  uint32_t accessAddress;
607  uint8_t crcInit0;
608  uint8_t crcInit1;
609  uint8_t crcInit2;
610  struct {
611  uint8_t triggerType:4;
612  uint8_t bEnaCmd:1;
613  uint8_t triggerNo:2;
615  uint8_t pastTrig:1;
616  } endTrigger;
619 };
621 
623 
627 
631  struct {
632  uint8_t bAutoFlushIgnored:1;
633  uint8_t bAutoFlushCrcErr:1;
634  uint8_t bAutoFlushEmpty:1;
635  uint8_t bIncludeLenByte:1;
636  uint8_t bIncludeCrc:1;
637  uint8_t bAppendRssi:1;
638  uint8_t bAppendStatus:1;
639  uint8_t bAppendTimestamp:1;
640  } rxConfig;
641  struct {
642  uint8_t lastRxSn:1;
643  uint8_t lastTxSn:1;
644  uint8_t nextTxSn:1;
645  uint8_t bFirstPkt:1;
646  uint8_t bAutoEmpty:1;
647  uint8_t bLlCtrlTx:1;
648  uint8_t bLlCtrlAckRx:1;
649  uint8_t bLlCtrlAckPending:1;
650  } seqStat;
651  uint8_t maxNack;
652  uint8_t maxPkt;
653  uint32_t accessAddress;
654  uint8_t crcInit0;
655  uint8_t crcInit1;
656  uint8_t crcInit2;
657  struct {
658  uint8_t triggerType:4;
659  uint8_t bEnaCmd:1;
660  uint8_t triggerNo:2;
662  uint8_t pastTrig:1;
663  } timeoutTrigger;
666  uint16_t __dummy0;
668  uint8_t __dummy1;
669  struct {
670  uint8_t triggerType:4;
671  uint8_t bEnaCmd:1;
672  uint8_t triggerNo:2;
674  uint8_t pastTrig:1;
675  } endTrigger;
678 };
680 
682 
686 
689  struct {
690  uint8_t bAutoFlushIgnored:1;
691  uint8_t bAutoFlushCrcErr:1;
692  uint8_t bAutoFlushEmpty:1;
693  uint8_t bIncludeLenByte:1;
694  uint8_t bIncludeCrc:1;
695  uint8_t bAppendRssi:1;
696  uint8_t bAppendStatus:1;
697  uint8_t bAppendTimestamp:1;
698  } rxConfig;
699  struct {
700  uint8_t advFilterPolicy:2;
701  uint8_t deviceAddrType:1;
703  uint8_t peerAddrType:1;
704  uint8_t bStrictLenFilter:1;
705  uint8_t :2;
706  uint8_t rpaMode:1;
707  } advConfig;
710  uint8_t advLen;
711  uint8_t scanRspLen;
712  uint8_t* pAdvData;
713  uint8_t* pScanRspData;
714  uint16_t* pDeviceAddress;
716  uint16_t __dummy0;
717  uint8_t __dummy1;
718  struct {
719  uint8_t triggerType:4;
720  uint8_t bEnaCmd:1;
721  uint8_t triggerNo:2;
723  uint8_t pastTrig:1;
724  } endTrigger;
727 };
729 
731 
735 
738  struct {
739  uint8_t bAutoFlushIgnored:1;
740  uint8_t bAutoFlushCrcErr:1;
741  uint8_t bAutoFlushEmpty:1;
742  uint8_t bIncludeLenByte:1;
743  uint8_t bIncludeCrc:1;
744  uint8_t bAppendRssi:1;
745  uint8_t bAppendStatus:1;
746  uint8_t bAppendTimestamp:1;
747  } rxConfig;
748  struct {
749  uint8_t scanFilterPolicy:1;
750  uint8_t bActiveScan:1;
752  uint8_t deviceAddrType:1;
754  uint8_t :1;
755  uint8_t bStrictLenFilter:1;
756  uint8_t bAutoWlIgnore:1;
757  uint8_t bEndOnRpt:1;
758  uint8_t rpaMode:1;
759  } scanConfig;
762  uint16_t randomState;
763  uint16_t backoffCount;
764  struct {
765  uint8_t logUpperLimit:4;
766  uint8_t bLastSucceeded:1;
767  uint8_t bLastFailed:1;
769  } backoffPar;
771  uint8_t scanReqLen;
772  uint8_t* pScanReqData;
773  uint16_t* pDeviceAddress;
775  uint16_t __dummy0;
776  struct {
777  uint8_t triggerType:4;
778  uint8_t bEnaCmd:1;
779  uint8_t triggerNo:2;
781  uint8_t pastTrig:1;
782  } timeoutTrigger;
784  struct {
785  uint8_t triggerType:4;
786  uint8_t bEnaCmd:1;
787  uint8_t triggerNo:2;
789  uint8_t pastTrig:1;
790  } endTrigger;
793  ratmr_t endTime;
795 };
797 
799 
803 
806  struct {
807  uint8_t bAutoFlushIgnored:1;
808  uint8_t bAutoFlushCrcErr:1;
809  uint8_t bAutoFlushEmpty:1;
810  uint8_t bIncludeLenByte:1;
811  uint8_t bIncludeCrc:1;
812  uint8_t bAppendRssi:1;
813  uint8_t bAppendStatus:1;
814  uint8_t bAppendTimestamp:1;
815  } rxConfig;
816  struct {
817  uint8_t bUseWhiteList:1;
818  uint8_t bDynamicWinOffset:1;
822  uint8_t deviceAddrType:1;
823  uint8_t peerAddrType:1;
824  uint8_t bStrictLenFilter:1;
825  } initConfig;
826  uint8_t __dummy0;
827  uint8_t connectReqLen;
828  uint8_t* pConnectReqData;
829  uint16_t* pDeviceAddress;
832  uint16_t __dummy1;
835  struct {
836  uint8_t triggerType:4;
837  uint8_t bEnaCmd:1;
838  uint8_t triggerNo:2;
840  uint8_t pastTrig:1;
841  } timeoutTrigger;
843  struct {
844  uint8_t triggerType:4;
845  uint8_t bEnaCmd:1;
846  uint8_t triggerNo:2;
848  uint8_t pastTrig:1;
849  } endTrigger;
852  ratmr_t endTime;
854 };
856 
858 
862 
865  struct {
866  uint8_t bAutoFlushIgnored:1;
867  uint8_t bAutoFlushCrcErr:1;
868  uint8_t bAutoFlushEmpty:1;
869  uint8_t bIncludeLenByte:1;
870  uint8_t bIncludeCrc:1;
871  uint8_t bAppendRssi:1;
872  uint8_t bAppendStatus:1;
873  uint8_t bAppendTimestamp:1;
874  } rxConfig;
875  uint8_t bRepeat;
876  uint16_t __dummy0;
878  uint32_t accessAddress;
879  uint8_t crcInit0;
880  uint8_t crcInit1;
881  uint8_t crcInit2;
882  struct {
883  uint8_t triggerType:4;
884  uint8_t bEnaCmd:1;
885  uint8_t triggerNo:2;
887  uint8_t pastTrig:1;
888  } endTrigger;
891 };
893 
895 
899 
901  uint16_t numPackets;
902  uint8_t payloadLength;
904  uint8_t packetType;
905  ratmr_t period;
907  struct {
908  uint8_t bOverrideDefault:1;
909  uint8_t bUsePrbs9:1;
911  uint8_t bUsePrbs15:1;
913  } config;
915  uint8_t byteVal;
916  uint8_t __dummy0;
917  struct {
918  uint8_t triggerType:4;
919  uint8_t bEnaCmd:1;
920  uint8_t triggerNo:2;
922  uint8_t pastTrig:1;
923  } endTrigger;
926 };
928 
930 
934 
936  uint8_t nTx;
937  uint8_t nTxAck;
939  uint8_t nTxCtrl;
940  uint8_t nTxCtrlAck;
941  uint8_t nTxCtrlAckAck;
942  uint8_t nTxRetrans;
944  uint8_t nTxEntryDone;
945  uint8_t nRxOk;
946  uint8_t nRxCtrl;
947  uint8_t nRxCtrlAck;
948  uint8_t nRxNok;
950  uint8_t nRxIgnored;
951  uint8_t nRxEmpty;
953  uint8_t nRxBufFull;
954  int8_t lastRssi;
955  struct {
956  uint8_t bTimeStampValid:1;
957  uint8_t bLastCrcErr:1;
958  uint8_t bLastIgnored:1;
959  uint8_t bLastEmpty:1;
960  uint8_t bLastCtrl:1;
961  uint8_t bLastMd:1;
962  uint8_t bLastAck:1;
963  } pktStatus;
966 };
967 
969 
973 
975  uint16_t nTxAdvInd;
976  uint8_t nTxScanRsp;
977  uint8_t nRxScanReq;
978  uint8_t nRxConnectReq;
979  uint8_t __dummy0;
980  uint16_t nRxNok;
981  uint16_t nRxIgnored;
982  uint8_t nRxBufFull;
983  int8_t lastRssi;
985 };
986 
988 
992 
994  uint16_t nTxScanReq;
995  uint16_t nBackedOffScanReq;
996  uint16_t nRxAdvOk;
997  uint16_t nRxAdvIgnored;
998  uint16_t nRxAdvNok;
999  uint16_t nRxScanRspOk;
1001  uint16_t nRxScanRspNok;
1002  uint8_t nRxAdvBufFull;
1004  int8_t lastRssi;
1005  uint8_t __dummy0;
1007 };
1008 
1010 
1014 
1016  uint8_t nTxConnectReq;
1017  uint8_t nRxAdvOk;
1018  uint16_t nRxAdvIgnored;
1019  uint16_t nRxAdvNok;
1020  uint8_t nRxAdvBufFull;
1021  int8_t lastRssi;
1023 };
1024 
1026 
1030 
1032  uint16_t nRxOk;
1033  uint16_t nRxNok;
1034  uint16_t nRxBufFull;
1035  int8_t lastRssi;
1036  uint8_t __dummy0;
1038 };
1039 
1041 
1045 
1047  uint16_t nTx;
1048 };
1049 
1051 
1055 
1057  uint8_t size;
1058  struct {
1059  uint8_t bEnable:1;
1060  uint8_t addrType:1;
1061  uint8_t bWlIgn:1;
1062  uint8_t :1;
1064  uint8_t bIrkValid:1;
1065  } conf;
1067  uint16_t address;
1068  uint32_t addressHi;
1069 };
1070 
1072 
1076 
1078  struct {
1079  uint8_t channel:6;
1080  uint8_t bIgnore:1;
1082  uint8_t bCrcErr:1;
1083  } status;
1084 };
1085 
1087 
1090 #endif
uint8_t crcInit0
CRC initialization value used on the connection – least significant byte.
Definition: rf_ble_cmd.h:607
dataQueue_t * pTxQ
Pointer to transmit queue.
Definition: rf_ble_cmd.h:583
struct __RFC_STRUCT rfc_bleAdvOutput_s rfc_bleAdvOutput_t
Definition: rf_ble_cmd.h:81
ratmr_t endTime
Definition: rf_ble_cmd.h:726
rfc_bleWhiteListEntry_t * pWhiteList
Pointer to white list or peer address (directed advertiser)
Definition: rf_ble_cmd.h:715
struct __RFC_STRUCT rfc_bleSlavePar_s rfc_bleSlavePar_t
Definition: rf_ble_cmd.h:74
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_ble_cmd.h:457
uint16_t nBackedOffScanReq
Number of SCAN_REQ packets not sent due to backoff procedure.
Definition: rf_ble_cmd.h:995
int8_t lastRssi
The RSSI of the last received packet.
Definition: rf_ble_cmd.h:1004
uint16_t commandNo
The command ID number 0x1805.
Definition: rf_ble_cmd.h:292
uint16_t randomState
State for pseudo-random number generation used in backoff procedure.
Definition: rf_ble_cmd.h:762
uint16_t nTxAdvInd
Number of ADV*_IND packets completely transmitted.
Definition: rf_ble_cmd.h:975
uint8_t * pParams
Pointer to command specific parameter structure.
Definition: rf_ble_cmd.h:122
dataQueue_t * pRxQ
Pointer to receive queue.
Definition: rf_ble_cmd.h:805
uint16_t nRxNok
Number of packets received with CRC error.
Definition: rf_ble_cmd.h:980
rfc_bleInitiatorOutput_t * pOutput
Pointer to command specific output structure.
Definition: rf_ble_cmd.h:443
struct __RFC_STRUCT rfc_bleGenericRxOutput_s rfc_bleGenericRxOutput_t
Definition: rf_ble_cmd.h:84
struct __RFC_STRUCT rfc_bleMasterSlavePar_s rfc_bleMasterSlavePar_t
Definition: rf_ble_cmd.h:72
rfc_bleSlavePar_t * pParams
Pointer to command specific parameter structure.
Definition: rf_ble_cmd.h:162
rfc_bleAdvPar_t * pParams
Pointer to command specific parameter structure.
Definition: rf_ble_cmd.h:322
ratmr_t timeStamp
Time stamp of the last received packet.
Definition: rf_ble_cmd.h:1037
struct __RFC_STRUCT rfc_bleWhiteListEntry_s rfc_bleWhiteListEntry_t
Definition: rf_ble_cmd.h:86
struct __RFC_STRUCT rfc_CMD_BLE_ADV_PAYLOAD_s rfc_CMD_BLE_ADV_PAYLOAD_t
Definition: rf_ble_cmd.h:71
rfc_bleGenericRxPar_t * pParams
Pointer to command specific parameter structure.
Definition: rf_ble_cmd.h:482
ratmr_t timeStamp
Time stamp of the last successfully received ADV*_IND packet that was not ignored.
Definition: rf_ble_cmd.h:1006
uint16_t * pDeviceAddress
Pointer to device address used for this device.
Definition: rf_ble_cmd.h:773
uint8_t size
Number of while list entries. Used in the first entry of the list only.
Definition: rf_ble_cmd.h:1057
uint8_t scanReqLen
Size of scan request data.
Definition: rf_ble_cmd.h:771
rfc_bleWhiteListEntry_t * pWhiteList
Pointer to white list or peer address.
Definition: rf_ble_cmd.h:830
uint16_t nRxAdvIgnored
Number of ADV*_IND packets received with CRC OK, but ignored.
Definition: rf_ble_cmd.h:1018
rfc_bleMasterSlaveOutput_t * pOutput
Pointer to command specific output structure.
Definition: rf_ble_cmd.h:163
uint8_t nTxCtrl
Number of unique LL control packets from the Tx queue that have been transmitted. ...
Definition: rf_ble_cmd.h:939
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_ble_cmd.h:377
uint8_t crcInit0
CRC initialization value used on the connection – least significant byte.
Definition: rf_ble_cmd.h:879
rfc_bleInitiatorPar_t * pParams
Pointer to command specific parameter structure.
Definition: rf_ble_cmd.h:442
struct __RFC_STRUCT rfc_bleScannerOutput_s rfc_bleScannerOutput_t
Definition: rf_ble_cmd.h:82
struct __RFC_STRUCT rfc_bleGenericRxPar_s rfc_bleGenericRxPar_t
Definition: rf_ble_cmd.h:78
uint8_t maxNack
Maximum number of NACKs received before operation ends. 0: No limit.
Definition: rf_ble_cmd.h:604
struct __RFC_STRUCT rfc_CMD_BLE_MASTER_s rfc_CMD_BLE_MASTER_t
Definition: rf_ble_cmd.h:62
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_ble_cmd.h:297
rfc_bleScannerPar_t * pParams
Pointer to command specific parameter structure.
Definition: rf_ble_cmd.h:402
uint8_t * pScanReqData
Pointer to buffer containing SCAN_REQ data.
Definition: rf_ble_cmd.h:772
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_ble_cmd.h:137
uint8_t nRxScanReq
Number of SCAN_REQ packets received OK and not ignored.
Definition: rf_ble_cmd.h:977
struct __RFC_STRUCT rfc_bleRxStatus_s rfc_bleRxStatus_t
Definition: rf_ble_cmd.h:87
ratmr_t timeStamp
Slave operation: Time stamp of first received packet.
Definition: rf_ble_cmd.h:965
struct __RFC_STRUCT rfc_CMD_BLE_INITIATOR_s rfc_CMD_BLE_INITIATOR_t
Definition: rf_ble_cmd.h:68
rfc_bleMasterPar_t * pParams
Pointer to command specific parameter structure.
Definition: rf_ble_cmd.h:202
dataQueue_t * pRxQ
Pointer to receive queue. May be NULL; if so, received packets are not stored.
Definition: rf_ble_cmd.h:864
struct __RFC_STRUCT rfc_bleTxTestPar_s rfc_bleTxTestPar_t
Definition: rf_ble_cmd.h:79
uint16_t numPackets
Definition: rf_ble_cmd.h:901
dataQueue_t * pRxQ
Pointer to receive queue.
Definition: rf_ble_cmd.h:688
uint16_t commandNo
The command ID number 0x1802.
Definition: rf_ble_cmd.h:172
uint16_t * pDeviceAddress
Pointer to device address used for this device.
Definition: rf_ble_cmd.h:714
dataQueue_t * pRxQ
Pointer to receive queue.
Definition: rf_ble_cmd.h:629
uint8_t nTxEntryDone
Number of packets from the Tx queue that have been finished (ACK'ed)
Definition: rf_ble_cmd.h:944
uint8_t nRxAdvOk
Number of ADV*_IND packets received with CRC OK and not ignored.
Definition: rf_ble_cmd.h:1017
uint16_t commandNo
The command ID number 0x180A.
Definition: rf_ble_cmd.h:492
uint16_t address
Least significant 16 bits of the address contained in the entry.
Definition: rf_ble_cmd.h:1067
uint8_t scanRspLen
Size of scan response data.
Definition: rf_ble_cmd.h:711
ratmr_t timeoutTime
Definition: rf_ble_cmd.h:665
uint16_t nRxAdvOk
Number of ADV*_IND packets received with CRC OK and not ignored.
Definition: rf_ble_cmd.h:996
uint32_t accessAddress
Access address used on the connection.
Definition: rf_ble_cmd.h:878
uint8_t nRxAdvBufFull
Number of ADV*_IND packets received that did not fit in Rx queue.
Definition: rf_ble_cmd.h:1020
struct __RFC_STRUCT rfc_radioOp_s rfc_radioOp_t
Definition: rf_common_cmd.h:60
uint16_t commandNo
The command ID number 0x1808.
Definition: rf_ble_cmd.h:412
struct __RFC_STRUCT rfc_CMD_BLE_SCANNER_s rfc_CMD_BLE_SCANNER_t
Definition: rf_ble_cmd.h:67
uint8_t nRxConnectReq
Number of CONNECT_REQ packets received OK and not ignored.
Definition: rf_ble_cmd.h:978
#define __RFC_STRUCT
Definition: rf_ble_cmd.h:46
rfc_bleAdvOutput_t * pOutput
Pointer to command specific output structure.
Definition: rf_ble_cmd.h:363
struct __RFC_STRUCT rfc_CMD_BLE_ADV_DIR_s rfc_CMD_BLE_ADV_DIR_t
Definition: rf_ble_cmd.h:64
uint8_t crcInit2
CRC initialization value used on the connection – most significant byte.
Definition: rf_ble_cmd.h:656
uint16_t nRxOk
Number of packets received with CRC OK.
Definition: rf_ble_cmd.h:1032
uint16_t commandNo
The command ID number.
Definition: rf_ble_cmd.h:92
uint8_t nRxScanRspBufFull
Number of SCAN_RSP packets received that did not fit in Rx queue.
Definition: rf_ble_cmd.h:1003
uint16_t nRxScanRspIgnored
Number of SCAN_RSP packets received with CRC OK, but ignored.
Definition: rf_ble_cmd.h:1000
struct __RFC_STRUCT rfc_CMD_BLE_TX_TEST_s rfc_CMD_BLE_TX_TEST_t
Definition: rf_ble_cmd.h:70
rfc_bleAdvPar_t * pParams
Pointer to command specific parameter structure.
Definition: rf_ble_cmd.h:362
uint8_t maxPkt
Maximum number of packets transmitted in the operation before it ends. 0: No limit.
Definition: rf_ble_cmd.h:568
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_ble_cmd.h:417
uint16_t commandNo
The command ID number 0x1001.
Definition: rf_ble_cmd.h:532
ratmr_t timeStamp
Time stamp of the last received packet.
Definition: rf_ble_cmd.h:984
uint16_t status
Definition: rf_ble_cmd.h:93
uint8_t nRxCtrl
Number of LL control packets that have been received with CRC OK and not ignored. ...
Definition: rf_ble_cmd.h:946
uint16_t nRxScanRspOk
Number of SCAN_RSP packets received with CRC OK and not ignored.
Definition: rf_ble_cmd.h:999
uint16_t commandNo
The command ID number 0x1807.
Definition: rf_ble_cmd.h:372
uint8_t nRxOk
Number of packets that have been received with payload, CRC OK and not ignored.
Definition: rf_ble_cmd.h:945
uint16_t * pDeviceAddress
Pointer to device address used for this device.
Definition: rf_ble_cmd.h:829
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_ble_cmd.h:177
dataQueue_t * pRxQ
Pointer to receive queue.
Definition: rf_ble_cmd.h:545
struct __RFC_STRUCT rfc_bleAdvPar_s rfc_bleAdvPar_t
Definition: rf_ble_cmd.h:75
uint16_t commandNo
The command ID number 0x1806.
Definition: rf_ble_cmd.h:332
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_ble_cmd.h:217
uint8_t nTxScanRsp
Number of SCAN_RSP packets transmitted.
Definition: rf_ble_cmd.h:976
dataQueue_t * pRxQ
Pointer to receive queue.
Definition: rf_ble_cmd.h:582
uint8_t maxPkt
Maximum number of packets transmitted in the operation before it ends. 0: No limit.
Definition: rf_ble_cmd.h:605
rfc_bleAdvOutput_t * pOutput
Pointer to command specific output structure.
Definition: rf_ble_cmd.h:243
uint8_t connectReqLen
Size of connect request data.
Definition: rf_ble_cmd.h:827
dataQueue_t * pTxQ
Pointer to transmit queue.
Definition: rf_ble_cmd.h:630
rfc_bleAdvOutput_t * pOutput
Pointer to command specific output structure.
Definition: rf_ble_cmd.h:283
uint16_t nRxAdvIgnored
Number of ADV*_IND packets received with CRC OK, but ignored.
Definition: rf_ble_cmd.h:997
uint8_t crcInit2
CRC initialization value used on the connection – most significant byte.
Definition: rf_ble_cmd.h:881
uint8_t advLen
Size of advertiser data.
Definition: rf_ble_cmd.h:710
uint32_t accessAddress
Access address used on the connection.
Definition: rf_ble_cmd.h:653
uint8_t crcInit2
CRC initialization value used on the connection – most significant byte.
Definition: rf_ble_cmd.h:572
int8_t lastRssi
RSSI of last received packet.
Definition: rf_ble_cmd.h:954
uint8_t * pConnectReqData
Pointer to buffer containing LLData to go in the CONNECT_REQ.
Definition: rf_ble_cmd.h:828
uint16_t nRxBufFull
Number of packets that have been received and discarded due to lack of buffer space.
Definition: rf_ble_cmd.h:1034
uint32_t ratmr_t
Type definition for RAT.
Definition: rf_mailbox.h:58
uint16_t commandNo
The command ID number 0x1809.
Definition: rf_ble_cmd.h:452
struct __RFC_STRUCT rfc_bleScannerPar_s rfc_bleScannerPar_t
Definition: rf_ble_cmd.h:76
uint16_t nTxScanReq
Number of transmitted SCAN_REQ packets.
Definition: rf_ble_cmd.h:994
int8_t lastRssi
The RSSI of the last received packet.
Definition: rf_ble_cmd.h:983
rfc_bleWhiteListEntry_t * pWhiteList
Pointer to white list.
Definition: rf_ble_cmd.h:774
uint8_t maxNack
Maximum number of NACKs received before operation ends. 0: No limit.
Definition: rf_ble_cmd.h:567
struct __RFC_STRUCT rfc_bleMasterSlaveOutput_s rfc_bleMasterSlaveOutput_t
Definition: rf_ble_cmd.h:80
rfc_bleAdvPar_t * pParams
Pointer to command specific parameter structure.
Definition: rf_ble_cmd.h:242
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_ble_cmd.h:97
uint32_t accessAddress
Access address used on the connection.
Definition: rf_ble_cmd.h:606
struct __RFC_STRUCT rfc_CMD_BLE_ADV_NC_s rfc_CMD_BLE_ADV_NC_t
Definition: rf_ble_cmd.h:65
uint32_t accessAddress
Access address used on the connection.
Definition: rf_ble_cmd.h:569
uint8_t * pAdvData
Pointer to buffer containing ADV*_IND data.
Definition: rf_ble_cmd.h:712
uint16_t commandNo
The command ID number 0x1803.
Definition: rf_ble_cmd.h:212
int8_t lastRssi
The RSSI of the last received packet.
Definition: rf_ble_cmd.h:1021
uint16_t nRxAdvNok
Number of ADV*_IND packets received with CRC error.
Definition: rf_ble_cmd.h:1019
struct __RFC_STRUCT rfc_CMD_BLE_GENERIC_RX_s rfc_CMD_BLE_GENERIC_RX_t
Definition: rf_ble_cmd.h:69
uint16_t nTx
Number of packets transmitted.
Definition: rf_ble_cmd.h:1047
uint16_t nRxAdvNok
Number of ADV*_IND packets received with CRC error.
Definition: rf_ble_cmd.h:998
rfc_bleAdvOutput_t * pOutput
Pointer to command specific output structure.
Definition: rf_ble_cmd.h:323
uint8_t crcInit0
CRC initialization value used on the connection – least significant byte.
Definition: rf_ble_cmd.h:570
uint16_t nRxScanRspNok
Number of SCAN_RSP packets received with CRC error.
Definition: rf_ble_cmd.h:1001
struct __RFC_STRUCT rfc_bleRadioOp_s rfc_bleRadioOp_t
Definition: rf_ble_cmd.h:60
uint8_t * pNewData
Pointer to the buffer containing the new data.
Definition: rf_ble_cmd.h:536
rfc_bleTxTestPar_t * pParams
Pointer to command specific parameter structure.
Definition: rf_ble_cmd.h:522
int8_t lastRssi
The RSSI of the last received packet.
Definition: rf_ble_cmd.h:1035
dataQueue_t * pRxQ
Pointer to receive queue.
Definition: rf_ble_cmd.h:737
uint8_t nTxCtrlAck
Number of LL control packets from the Tx queue that have been finished (ACK'ed)
Definition: rf_ble_cmd.h:940
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_ble_cmd.h:337
rfc_bleTxTestOutput_t * pOutput
Pointer to command specific output structure.
Definition: rf_ble_cmd.h:523
uint8_t * pScanRspData
Pointer to buffer containing SCAN_RSP data.
Definition: rf_ble_cmd.h:713
Type definition for a data queue.
Definition: rf_mailbox.h:63
uint8_t byteVal
If config.bOverride is 1, value of each byte to be sent.
Definition: rf_ble_cmd.h:915
uint32_t addressHi
Most significant 32 bits of the address contained in the entry.
Definition: rf_ble_cmd.h:1068
uint8_t crcInit1
CRC initialization value used on the connection – middle byte.
Definition: rf_ble_cmd.h:655
uint16_t __dummy0
Definition: rf_ble_cmd.h:716
struct __RFC_STRUCT rfc_bleTxTestOutput_s rfc_bleTxTestOutput_t
Definition: rf_ble_cmd.h:85
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_ble_cmd.h:497
ratmr_t timeStamp
Time stamp of the received ADV*_IND packet that caused transmission of CONNECT_REQ.
Definition: rf_ble_cmd.h:1022
uint8_t crcInit1
CRC initialization value used on the connection – middle byte.
Definition: rf_ble_cmd.h:571
uint8_t crcInit0
CRC initialization value used on the connection – least significant byte.
Definition: rf_ble_cmd.h:654
uint8_t nRxBufFull
Number of packets received that did not fit in Rx queue.
Definition: rf_ble_cmd.h:982
rfc_bleMasterSlaveOutput_t * pOutput
Pointer to command specific output structure.
Definition: rf_ble_cmd.h:203
uint8_t * pOutput
Pointer to command specific output structure.
Definition: rf_ble_cmd.h:123
uint8_t crcInit2
CRC initialization value used on the connection – most significant byte.
Definition: rf_ble_cmd.h:609
uint16_t commandNo
The command ID number 0x1804.
Definition: rf_ble_cmd.h:252
dataQueue_t * pTxQ
Pointer to transmit queue.
Definition: rf_ble_cmd.h:546
Definition: rf_ble_cmd.h:1056
struct __RFC_STRUCT rfc_bleInitiatorPar_s rfc_bleInitiatorPar_t
Definition: rf_ble_cmd.h:77
uint16_t nRxIgnored
Number of packets received with CRC OK, but ignored.
Definition: rf_ble_cmd.h:981
struct __RFC_STRUCT rfc_bleInitiatorOutput_s rfc_bleInitiatorOutput_t
Definition: rf_ble_cmd.h:83
uint8_t maxPkt
Maximum number of packets transmitted in the operation before it ends. 0: No limit.
Definition: rf_ble_cmd.h:652
struct __RFC_STRUCT rfc_CMD_BLE_ADV_SCAN_s rfc_CMD_BLE_ADV_SCAN_t
Definition: rf_ble_cmd.h:66
struct __RFC_STRUCT rfc_CMD_BLE_SLAVE_s rfc_CMD_BLE_SLAVE_t
Definition: rf_ble_cmd.h:61
uint8_t crcInit1
CRC initialization value used on the connection – middle byte.
Definition: rf_ble_cmd.h:880
uint8_t nRxBufFull
Number of packets that have been received and discarded due to lack of buffer space.
Definition: rf_ble_cmd.h:953
rfc_bleGenericRxOutput_t * pOutput
Pointer to command specific output structure.
Definition: rf_ble_cmd.h:483
struct __RFC_STRUCT rfc_bleMasterPar_s rfc_bleMasterPar_t
Definition: rf_ble_cmd.h:73
struct __RFC_STRUCT rfc_CMD_BLE_ADV_s rfc_CMD_BLE_ADV_t
Definition: rf_ble_cmd.h:63
uint8_t maxNack
Maximum number of NACKs received before operation ends. 0: No limit.
Definition: rf_ble_cmd.h:651
uint8_t nRxAdvBufFull
Number of ADV*_IND packets received that did not fit in Rx queue.
Definition: rf_ble_cmd.h:1002
uint8_t __dummy1
Definition: rf_ble_cmd.h:717
rfc_bleAdvPar_t * pParams
Pointer to the parameter structure to update.
Definition: rf_ble_cmd.h:537
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_ble_cmd.h:257
uint8_t crcInit1
CRC initialization value used on the connection – middle byte.
Definition: rf_ble_cmd.h:608
uint16_t backoffCount
Parameter backoffCount used in backoff procedure, cf. Bluetooth 4.0 spec.
Definition: rf_ble_cmd.h:763
rfc_bleAdvPar_t * pParams
Pointer to command specific parameter structure.
Definition: rf_ble_cmd.h:282
uint16_t commandNo
The command ID number 0x1801.
Definition: rf_ble_cmd.h:132
uint16_t nRxNok
Number of packets received with CRC error.
Definition: rf_ble_cmd.h:1033
rfc_bleScannerOutput_t * pOutput
Pointer to command specific output structure.
Definition: rf_ble_cmd.h:403
uint8_t nTxConnectReq
Number of transmitted CONNECT_REQ packets.
Definition: rf_ble_cmd.h:1016