Radio Control Layer (RCL)
ble5.h File Reference
#include <ti/drivers/rcl/RCL_Command.h>
#include <ti/drivers/rcl/handlers/ble5.h>
#include <ti/drivers/utils/List.h>
#include <ti/devices/DeviceFamily.h>
+ Include dependency graph for ble5.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

union  RCL_Ble5_RxPktStatus
 Appended packet status field from RX buffer. More...
 
struct  RCL_FL_Entry
 Filter list entry. More...
 
struct  RCL_FilterList
 Filter list object. More...
 
struct  RCL_AddrType
 Address type. More...
 
struct  RCL_CmdBle5Advertiser
 Advertiser command. More...
 
struct  RCL_CtxAdvertiser
 Advertiser context. More...
 
struct  RCL_CmdBle5Initiator
 Initiator command. More...
 
struct  RCL_CmdBle5Scanner
 Scanner command. More...
 
struct  RCL_CtxScanInit
 Scanner and initiator context. More...
 
struct  RCL_StatsAdvScanInit
 Statistics structure for advertiser, scanner and initiator. More...
 
struct  RCL_CmdBle5Connection
 Connection command. More...
 
struct  RCL_CtxConnection
 Connection context. More...
 
struct  RCL_StatsConnection
 Statistics structure for connection. More...
 
struct  RCL_CmdBle5DtmTx
 DTM TX command. More...
 
struct  RCL_CmdBle5GenericRx
 Generic RX command. More...
 
struct  RCL_CtxGenericRx
 Generic RX context. More...
 
struct  RCL_StatsGenericRx
 Statistics structure for generic RX. More...
 
struct  RCL_CmdBle5GenericTx
 Generic TX command. More...
 
struct  RCL_CtxGenericTx
 Generic TX context. More...
 
struct  RCL_CmdBle5TxTest
 BLE5 transmitter test command. More...
 
struct  RCL_Ble5_RxPktStatus.__unnamed__
 
union  RCL_FL_ENTRY_t.__unnamed__
 
struct  RCL_FL_ENTRY_t.__unnamed__.ctl
 
struct  RCL_CTX_SCAN_INIT_t.backoffStatus
 
struct  RCL_STATS_ADV_SCAN_INIT_t.config
 
struct  RCL_STATS_CONNECTION_t.config
 
struct  RCL_CTX_GENERIC_RX_t.config
 
struct  RCL_STATS_GENERIC_RX_t.config
 
struct  RCL_CMD_BLE5_TX_TEST_t.config
 

Macros

#define RCL_BLE5_RX_PKT_STATUS_INVALID   0xFF
 
#define RCL_CMDID_BLE5_ADVERTISER   0x1001U
 
#define RCL_CMDID_BLE5_INITIATOR   0x1002U
 
#define RCL_CMDID_BLE5_SCANNER   0x1003U
 
#define RCL_CMDID_BLE5_CONNECTION   0x1004U
 
#define RCL_CMDID_BLE5_DTM_TX   0x1005U
 
#define RCL_CMDID_BLE5_GENERIC_RX   0x1006U
 
#define RCL_CMDID_BLE5_GENERIC_TX   0x1007U
 
#define RCL_CMDID_BLE5_TX_TEST   0x1008U
 
#define BLE_CUSTOM_FREQ_BM   0x80U
 Bit mask indicating the use of a custom frequency. More...
 
#define RCL_CmdBle5Advertiser_Default()
 
#define RCL_CmdBle5Advertiser_DefaultRuntime()   (RCL_CmdBle5Advertiser) RCL_CmdBle5Advertiser_Default()
 
#define RCL_CtxAdvertiser_Default()
 
#define RCL_CtxAdvertiser_DefaultRuntime()   (RCL_CtxAdvertiser) RCL_CtxAdvertiser_Default()
 
#define RCL_CmdInitiator_Default()
 
#define RCL_CmdInitiator_DefaultRuntime()   (RCL_CmdBle5Initiator) RCL_CmdInitiator_Default()
 
#define RCL_CmdScanner_Default()
 
#define RCL_CmdScanner_DefaultRuntime()   (RCL_CmdBle5Scanner) RCL_CmdScanner_Default()
 
#define RCL_CtxScanInit_Default()
 
#define RCL_CtxScanInit_DefaultRuntime()   (RCL_CtxScanInit) RCL_CtxScanInit_Default()
 
#define RCL_StatsAdvScanInit_Default()
 
#define RCL_StatsAdvScanInit_DefaultRuntime()   (RCL_StatsAdvScanInit) RCL_StatsAdvScanInit_Default()
 
#define RCL_CmdBle5Connection_Default()
 
#define RCL_CmdBle5Connection_DefaultRuntime()   (RCL_CmdBle5Connection) RCL_CmdBle5Connection_Default()
 
#define _INIT_SEQSTAT
 
#define RCL_CtxConnection_Default()
 
#define RCL_CtxConnection_DefaultRuntime()   (RCL_CtxConnection) RCL_CtxConnection_Default()
 
#define RCL_StatsConnection_Default()
 
#define RCL_StatsConnection_DefaultRuntime()   (RCL_StatsConnection) RCL_StatsConnection_Default()
 
#define RCL_CmdBle5DtmTx_Default()
 
#define RCL_CmdBle5DtmTx_DefaultRuntime()   (RCL_CmdBle5DtmTx) RCL_CmdBle5DtmTx_Default()
 
#define RCL_CmdBle5GenericRx_Default()
 
#define RCL_CmdBle5GenericRx_DefaultRuntime()   (RCL_CmdBle5GenericRx) RCL_CmdBle5GenericRx_Default()
 
#define RCL_CtxGenericRx_Default()
 
#define RCL_CtxGenericRx_DefaultRuntime()   (RCL_CtxGenericRx) RCL_CtxGenericRx_Default()
 
#define RCL_StatsGenericRx_Default()
 
#define RCL_StatsGenericRx_DefaultRuntime()   (RCL_StatsGenericRx) RCL_StatsGenericRx_Default()
 
#define RCL_CmdBle5GenericTx_Default()
 
#define RCL_CmdBle5GenericTx_DefaultRuntime()   (RCL_CmdBle5GenericTx) RCL_CmdBle5GenericTx_Default()
 
#define RCL_CtxGenericTx_Default()
 
#define RCL_CtxGenericTx_DefaultRuntime()   (RCL_CtxGenericTx) RCL_CtxGenericTx_Default()
 
#define RCL_CmdBle5TxTest_Default()
 
#define RCL_CmdBle5TxTest_DefaultRuntime()   (RCL_CmdBle5TxTest) RCL_CmdBle5TxTest_Default()
 
#define RCL_CMD_BLE5_WH_MODE_DEFAULT   0
 
#define RCL_CMD_BLE5_WH_MODE_PRBS9   1
 
#define RCL_CMD_BLE5_WH_MODE_PRBS15   2
 
#define RCL_CMD_BLE5_WH_MODE_PRBS32   3
 

Typedefs

typedef uint8_t RCL_Ble5Channel
 Type for BLE channels. More...
 

Enumerations

enum  RCL_Ble5_RxPhy { RCL_Ble5_RxPhy1Mbps = 0, RCL_Ble5_RxPhy2Mbps = 1, RCL_Ble5_RxPhyCodedS8 = 2, RCL_Ble5_RxPhyCodedS2 = 3 }
 PHY returned in status of recieved packets. More...
 

Data Structure Documentation

◆ RCL_Ble5_RxPktStatus

union RCL_Ble5_RxPktStatus

Appended packet status field from RX buffer.

Data Fields
struct RCL_Ble5_RxPktStatus __unnamed__
uint8_t value

◆ RCL_FL_ENTRY_t

struct RCL_FL_ENTRY_t

Filter list entry.

Accept or reject filter entry

Data Fields
union RCL_FL_ENTRY_t __unnamed__
uint16_t address[3]

Address of entry

◆ RCL_FILTER_LIST_t

struct RCL_FILTER_LIST_t

Filter list object.

Accept or reject filter list

Data Fields
uint32_t numEntries
RCL_FL_Entry entries[16]

◆ RCL_ADDR_TYPE_t

struct RCL_ADDR_TYPE_t

Address type.

Address type for own address and peer address

Data Fields
uint8_t peer:1

Address type for peer device (0: public. 1: random)

uint8_t own:1

Address type for this device (0: public. 1: random)

uint8_t reserved: 6

Reserved, set to 0

◆ RCL_CMD_BLE5_ADV

struct RCL_CMD_BLE5_ADV

Advertiser command.

Command to run BLE advertiser. The advertisement type is found from the packet type transmitted.

+ Collaboration diagram for RCL_CmdBle5Advertiser:
Data Fields
RCL_Command common
uint8_t chanMap

Channel map. Bit positions 0-2 correspond to channels 37-39; a 1 means channel enabled

uint8_t order

Order to run channels. 0: Run in increasing order. 1-5: Other order. Others: Reserved

RCL_Command_TxPower txPower

Transmit power

uint8_t highDuty

High duty-cycle advertising (directed advertising only) 0: Disabled. 1 Enabled

uint32_t connectPktTime

Time of received CONNECT_IND packet is returned if connection is formed

RCL_CtxAdvertiser * ctx

Pointer to context structure

RCL_StatsAdvScanInit * stats

Pointer to statistics structure

◆ RCL_CTX_ADVERTISER_t

struct RCL_CTX_ADVERTISER_t

Advertiser context.

Context for advertiser command

Data Fields
RCL_FilterList * filterListConn

Filter list for initiator packets

RCL_FilterList * filterListScan

Filter list for scanner packets

List_List txBuffers

Linked list of packets to transmit: Advertisement followed by scan response

List_List rxBuffers

Linked list of buffers for storing received packets

uint16_t advA[3]

Advertiser address of type addrType.own

uint16_t peerA[3]

Directed advertising: Peer device address of type addrType.peer

RCL_AddrType addrType

Address types

uint8_t filterPolicy: 2

Filter policy

uint8_t privIgnMode:1

Privacy ignore mode. 0: Use filter list only when filter policy says. 1: Use filter list to ignore packets with privIgn bit set for all filter policies

uint8_t rpaModePeer:1

RPA mode for peer address. 0: Treat RPA normally. 1: Report packets where advertiser address is an unknown RPA

uint8_t acceptAllRpaConnectInd: 1

CONNECT_IND RPA treatment. 0: Treat RPA in InitA normally. 1: Accept all RPA in InitA of CONNECT_IND.

◆ RCL_CMD_BLE5_INITIATOR_t

struct RCL_CMD_BLE5_INITIATOR_t

Initiator command.

Command to run BLE initiator.

+ Collaboration diagram for RCL_CmdBle5Initiator:
Data Fields
RCL_Command common
RCL_Ble5Channel channel

Channel index

RCL_Command_TxPower txPower

Transmit power

bool dynamicWinOffset

Window offset processing. 0: Fixed. 1: Dynamic

uint32_t connectTime

For dynamic window offset, wanted connect time is given as input. In all cases, actual connect time is returned.

RCL_CtxScanInit * ctx

Pointer to context structure

RCL_StatsAdvScanInit * stats

Pointer to statistics structure

◆ RCL_CMD_BLE5_SCANNER_t

struct RCL_CMD_BLE5_SCANNER_t

Scanner command.

Command to run BLE scanner

+ Collaboration diagram for RCL_CmdBle5Scanner:
Data Fields
RCL_Command common
RCL_Ble5Channel channel

Channel index

RCL_Command_TxPower txPower

Transmit power

bool activeScan

Scan type. 0: Passive. 1: Active

RCL_CtxScanInit * ctx

Pointer to context structure

RCL_StatsAdvScanInit * stats

Pointer to statistics structure

◆ RCL_CTX_SCAN_INIT_t

struct RCL_CTX_SCAN_INIT_t

Scanner and initiator context.

Context for scanner or initiator command

Data Fields
RCL_FilterList * filterList

Filter list

List_List txBuffers

Linked list of packets to transmit: Only CONNECT_IND

List_List rxBuffers

Linked list of buffers for storing received packets

uint16_t ownA[3]

Own device address of type addrType.own

uint16_t peerA[3]

Initiator: Peer device address of type addrType.peer

RCL_AddrType addrType

Address types

uint8_t filterPolicy: 1

Filter policy

uint8_t scanExtFilterPolicy: 1

Extended filter policy for scanners

uint8_t rpaModeOwn:1

RPA mode for own address. 0: Treat RPA normally. 1: Report packets where target address is an unknown RPA

uint8_t rpaModePeer:1

RPA mode for peer address. 0: Treat RPA normally. 1: Report packets where advertiser address is an unknown RPA

uint16_t initialBackoff

Initial backoff value

uint8_t backoffUpper

Backoff parameter

struct RCL_CTX_SCAN_INIT_t backoffStatus

Backoff parameter

◆ RCL_STATS_ADV_SCAN_INIT_t

struct RCL_STATS_ADV_SCAN_INIT_t

Statistics structure for advertiser, scanner and initiator.

Statistics for advertiser, scanner or initiator command

Data Fields
struct RCL_STATS_ADV_SCAN_INIT_t config

Configuration provided to RCL

uint8_t timestampValid

Returns 1 if lastTimestamp is updated; 0 otherwise

int8_t lastRssi

RSSI of last received packet

uint32_t lastTimestamp

Timestamp of last successfully received packet

uint16_t nRxNok

Number of packets received with CRC error

uint16_t nRxIgnored

Number of packets to be ignored received

uint16_t nRxOk

Number of correctly received, accepted packets

uint8_t nRxFifoFull

Number of packets received which could not be stored

uint8_t nTx

Number of packets transmitted

◆ RCL_CMD_BLE5_CONNECTION_t

struct RCL_CMD_BLE5_CONNECTION_t

Connection command.

Command to run connection event as central or peripheral

+ Collaboration diagram for RCL_CmdBle5Connection:
Data Fields
RCL_Command common
RCL_Ble5Channel channel

Channel index

RCL_Command_TxPower txPower

Transmit power

uint16_t relRxTimeoutTime

Peripheral only: Time before timing out the first packet of the event (0.25 us units). 0: No timeout.

RCL_CtxConnection * ctx

Pointer to context structure

RCL_StatsConnection * stats

Pointer to statistics structure

◆ RCL_CTX_CONNECTION_t

struct RCL_CTX_CONNECTION_t

Connection context.

Context for a connection

Data Fields
List_List txBuffers

Linked list of packets to transmit. RCL will pop packets that have been ACKed

List_List rxBuffers

Linked list of buffers for storing received packets

bool isPeripheral

0: Run as central. 1: Run as peripheral

uint16_t seqStat

Sequencer status. Use default initialization for a new connection and keep unchanged between connection events on the same connection.

uint32_t accessAddress

Access address

uint32_t crcInit

CRC initialization value (24 bits)

◆ RCL_STATS_CONNECTION_t

struct RCL_STATS_CONNECTION_t

Statistics structure for connection.

Statistics for connection command

Data Fields
struct RCL_STATS_CONNECTION_t config

Configuration provided to RCL

uint8_t anchorValid

Returns 1 if anchorPoint is updated; 0 otherwise

int8_t lastRssi

RSSI of last received packet

uint32_t anchorPoint

Peripheral only: Timestamp of first received packet

uint8_t nTxDone

Number of TX buffers finished because ACK is received

uint8_t nTxAck

Number of ACKs received on transmitted packets

uint8_t nTxCtlAck

Number of ACKs received on transmitted control packets

uint8_t nTxCtl

Number of control packets transmitted

uint8_t nTxRetrans

Number of packets retransmitted

uint8_t nRxNok

Number of packets received with CRC error

uint8_t nRxIgnored

Number of packets to be ignored received

uint8_t nRxEmpty

Number of empty packets received

uint8_t nRxFifoFull

Number of packets received which could not be stored

uint8_t nRxOk

Number of correctly received, accepted packets

uint8_t nTx

Number of packets transmitted

uint8_t nRxCtl

Number of control packets received

uint8_t nRxCtlAck

Number of ACKs transmitted on received control packets

◆ RCL_CMD_BLE5_DTM_TX

struct RCL_CMD_BLE5_DTM_TX

DTM TX command.

Command to send BLE direct test mode packets

+ Collaboration diagram for RCL_CmdBle5DtmTx:
Data Fields
RCL_Command common
RCL_Ble5Channel channel

Channel index

RCL_Command_TxPower txPower

Transmit power

uint8_t pduHeader

PDU header to transmit; payload is given according to BLE DTM spec

uint8_t pduLength

PDU length

uint8_t cteInfo

CTE info; decides length of CTE. Ignored if bit #5 of pduHeader is 0. Not supported in this version.

uint16_t periodUs

Time between start of each packet in 1 us units

uint16_t numPackets

Number of packets to transmit. 0: Transmit indefinitely until command times out or is stopped.

◆ RCL_CMD_BLE5_GENERIC_RX_t

struct RCL_CMD_BLE5_GENERIC_RX_t

Generic RX command.

Command to receive generic BLE packets

Data Fields
RCL_Command common
RCL_Ble5Channel channel

Channel index

RCL_CtxGenericRx * ctx

Pointer to context structure

RCL_StatsGenericRx * stats

Pointer to statistics structure

◆ RCL_CTX_GENERIC_RX_t

struct RCL_CTX_GENERIC_RX_t

Generic RX context.

Context for generic RX command

Data Fields
List_List rxBuffers

Linked list of buffers for storing received packets

uint32_t accessAddress

Access address

uint32_t crcInit

CRC initialization value (24 bits)

uint8_t maxPktLen

Maximum payload length of received packets

struct RCL_CTX_GENERIC_RX_t config

◆ RCL_STATS_GENERIC_RX_t

struct RCL_STATS_GENERIC_RX_t

Statistics structure for generic RX.

Statistics for generic RX command

Data Fields
struct RCL_STATS_GENERIC_RX_t config

Configuration provided to RCL

uint8_t timestampValid

Returns 1 if lastTimestamp is updated; 0 otherwise

int8_t lastRssi

RSSI of last received packet

uint32_t lastTimestamp

Timestamp of last successfully received packet

uint16_t nRxNok

Number of packets received with CRC error

uint16_t nRxOk

Number of correctly received, accepted packets

uint8_t nRxFifoFull

Number of packets received which could not be stored

◆ RCL_CMD_BLE5_GENERIC_TX_t

struct RCL_CMD_BLE5_GENERIC_TX_t

Generic TX command.

Command to transmit a generic BLE packet with no restriction on packet contents

+ Collaboration diagram for RCL_CmdBle5GenericTx:
Data Fields
RCL_Command common
RCL_Ble5Channel channel

Channel index

RCL_Command_TxPower txPower

Transmit power

RCL_CtxGenericTx * ctx

Pointer to context structure

◆ RCL_CTX_GENERIC_TX_t

struct RCL_CTX_GENERIC_TX_t

Generic TX context.

Context for generic TX command

Data Fields
List_List txBuffers

Linked list of packets to transmit. First packet will be transmitted and consumed.

uint32_t accessAddress

Access address

uint32_t crcInit

CRC initialization value (24 bits)

◆ RCL_CMD_BLE5_TX_TEST_t

struct RCL_CMD_BLE5_TX_TEST_t

BLE5 transmitter test command.

Command to transmit continuously, either a modulated signal or continuous wave

+ Collaboration diagram for RCL_CmdBle5TxTest:
Data Fields
RCL_Command common
uint8_t channel

Channel index

RCL_Command_TxPower txPower

Transmit power

uint16_t txWord

Repeated word to transmit

struct RCL_CMD_BLE5_TX_TEST_t config

◆ RCL_Ble5_RxPktStatus.__unnamed__

struct RCL_Ble5_RxPktStatus.__unnamed__
Data Fields
RCL_Ble5_RxPhy phy:2

Received PHY

uint8_t crcError:1

True if packet had CRC error

uint8_t ignored:1

True if packet was ignored

uint8_t ignoredRpa:1

True if packet should have been ignored due to unknown RPA, but was kept due to rpaMode

uint8_t reserved:3

◆ RCL_FL_ENTRY_t.__unnamed__

union RCL_FL_ENTRY_t.__unnamed__
Data Fields
__unnamed__ ctl
uint16_t ctlWord

◆ RCL_FL_ENTRY_t.__unnamed__.ctl

struct RCL_FL_ENTRY_t.__unnamed__.ctl
Data Fields
uint16_t enabled: 1

1 if the entry is used; 0 otherwise

uint16_t addType: 1

Address type of this entry

uint16_t duplicateIgn: 1

1 to ignore the entry due to duplicate address filtering (scanners only)

uint16_t privIgn: 1

1 to ignore the entry due to privacy (initiators only)

uint16_t reserved: 12

Reserved, set to 0

◆ RCL_CTX_SCAN_INIT_t.backoffStatus

struct RCL_CTX_SCAN_INIT_t.backoffStatus
Data Fields
uint8_t backOffLastFail: 1
uint8_t backOffLastSucceed: 1
uint8_t reserved: 6

◆ RCL_STATS_ADV_SCAN_INIT_t.config

struct RCL_STATS_ADV_SCAN_INIT_t.config
Data Fields
uint8_t accumulate: 1

0: Reset counters to 0 at start of command. 1: Add to incoming value of counters.

uint8_t activeUpdate: 1

0: Update only at end of command. 1: Update after receiving or transmitting packets.

uint8_t reserved: 6

Reserved, set to 0

◆ RCL_STATS_CONNECTION_t.config

struct RCL_STATS_CONNECTION_t.config
Data Fields
uint8_t accumulate: 1

0: Reset counters to 0 at start of command. 1: Add to incoming value of counters.

uint8_t activeUpdate: 1

0: Update only at end of command. 1: Update after receiving or transmitting packets.

uint8_t reserved: 6

Reserved, set to 0

◆ RCL_CTX_GENERIC_RX_t.config

struct RCL_CTX_GENERIC_RX_t.config
Data Fields
uint8_t repeated: 1

0: End after receiving one packet. 1: Go back to sync search after receiving.

uint8_t disableSync: 1

0: Listen for sync 1: Do not listen for sync

uint8_t discardRxPackets: 1

0: Store received packets in rxBuffers. 1: Do not store packets, useful for link tests where CRC result is enough

uint8_t reserved: 4

Reserved, set to 0

◆ RCL_STATS_GENERIC_RX_t.config

struct RCL_STATS_GENERIC_RX_t.config
Data Fields
uint8_t accumulate: 1

0: Reset counters to 0 at start of command. 1: Add to incoming value of counters.

uint8_t activeUpdate: 1

0: Update only at end of command. 1: Update after receiving or transmitting packets.

uint8_t reserved: 6

Reserved, set to 0

◆ RCL_CMD_BLE5_TX_TEST_t.config

struct RCL_CMD_BLE5_TX_TEST_t.config
Data Fields
uint8_t whitenMode: 2

0. No or default whitening. 1: PRBS-9. 2: PRBS-15. 3: PRBS-32

uint8_t sendCw: 1

0: Send modulated signal. 1: Send CW

uint8_t reserved: 5

Reserved, set to 0

Macro Definition Documentation

◆ RCL_BLE5_RX_PKT_STATUS_INVALID

#define RCL_BLE5_RX_PKT_STATUS_INVALID   0xFF

◆ RCL_CMDID_BLE5_ADVERTISER

#define RCL_CMDID_BLE5_ADVERTISER   0x1001U

◆ RCL_CMDID_BLE5_INITIATOR

#define RCL_CMDID_BLE5_INITIATOR   0x1002U

◆ RCL_CMDID_BLE5_SCANNER

#define RCL_CMDID_BLE5_SCANNER   0x1003U

◆ RCL_CMDID_BLE5_CONNECTION

#define RCL_CMDID_BLE5_CONNECTION   0x1004U

◆ RCL_CMDID_BLE5_DTM_TX

#define RCL_CMDID_BLE5_DTM_TX   0x1005U

◆ RCL_CMDID_BLE5_GENERIC_RX

#define RCL_CMDID_BLE5_GENERIC_RX   0x1006U

◆ RCL_CMDID_BLE5_GENERIC_TX

#define RCL_CMDID_BLE5_GENERIC_TX   0x1007U

◆ RCL_CMDID_BLE5_TX_TEST

#define RCL_CMDID_BLE5_TX_TEST   0x1008U

◆ BLE_CUSTOM_FREQ_BM

#define BLE_CUSTOM_FREQ_BM   0x80U

Bit mask indicating the use of a custom frequency.

If a channel or chanMap parameter has this bit set, the RF frequency used must be programmed with RCL_BLE5_setDefaultRfFrequency(), and the whitening is initialzed by bits 0-6 of channel or chanMap

◆ RCL_CmdBle5Advertiser_Default

#define RCL_CmdBle5Advertiser_Default ( )
Value:
{ \
.chanMap = 0x7, \
.order = 0, \
.txPower = {.dBm = 0, .fraction = 0}, \
.highDuty = 0, \
.ctx = NULL, \
.stats = NULL, \
}

◆ RCL_CmdBle5Advertiser_DefaultRuntime

#define RCL_CmdBle5Advertiser_DefaultRuntime ( )    (RCL_CmdBle5Advertiser) RCL_CmdBle5Advertiser_Default()

◆ RCL_CtxAdvertiser_Default

#define RCL_CtxAdvertiser_Default ( )
Value:
{ \
.filterListConn = NULL, \
.filterListScan = NULL, \
.txBuffers = { 0 }, \
.rxBuffers = { 0 }, \
.advA = { 0 }, \
.peerA = { 0 }, \
.addrType = { 0 }, \
.filterPolicy = 0, \
.privIgnMode = 0, \
.rpaModePeer = 0, \
.acceptAllRpaConnectInd = 0 \
}

◆ RCL_CtxAdvertiser_DefaultRuntime

#define RCL_CtxAdvertiser_DefaultRuntime ( )    (RCL_CtxAdvertiser) RCL_CtxAdvertiser_Default()

◆ RCL_CmdInitiator_Default

#define RCL_CmdInitiator_Default ( )
Value:
{ \
.channel = 37, \
.txPower = {.dBm = 0, .fraction = 0}, \
.dynamicWinOffset = 0, \
.connectTime = 0, \
.ctx = NULL, \
.stats = NULL, \
}

◆ RCL_CmdInitiator_DefaultRuntime

#define RCL_CmdInitiator_DefaultRuntime ( )    (RCL_CmdBle5Initiator) RCL_CmdInitiator_Default()

◆ RCL_CmdScanner_Default

#define RCL_CmdScanner_Default ( )
Value:
{ \
.channel = 37, \
.txPower = {.dBm = 0, .fraction = 0}, \
.activeScan = 0, \
.ctx = NULL, \
.stats = NULL, \
}

◆ RCL_CmdScanner_DefaultRuntime

#define RCL_CmdScanner_DefaultRuntime ( )    (RCL_CmdBle5Scanner) RCL_CmdScanner_Default()

◆ RCL_CtxScanInit_Default

#define RCL_CtxScanInit_Default ( )
Value:
{ \
.filterList = NULL, \
.txBuffers = { 0 }, \
.rxBuffers = { 0 }, \
.ownA = { 0 }, \
.peerA = { 0 }, \
.addrType = { 0 }, \
.filterPolicy = 0, \
.scanExtFilterPolicy = 0, \
.rpaModeOwn = 0, \
.rpaModePeer = 0, \
.initialBackoff = 1, \
.backoffUpper = 0, \
.backoffStatus = { 0 }, \
}

◆ RCL_CtxScanInit_DefaultRuntime

#define RCL_CtxScanInit_DefaultRuntime ( )    (RCL_CtxScanInit) RCL_CtxScanInit_Default()

◆ RCL_StatsAdvScanInit_Default

#define RCL_StatsAdvScanInit_Default ( )
Value:
{ \
.config = { 0 }, \
.timestampValid = 0, \
.lastRssi = LRF_RSSI_INVALID, \
}

◆ RCL_StatsAdvScanInit_DefaultRuntime

#define RCL_StatsAdvScanInit_DefaultRuntime ( )    (RCL_StatsAdvScanInit) RCL_StatsAdvScanInit_Default()

◆ RCL_CmdBle5Connection_Default

#define RCL_CmdBle5Connection_Default ( )
Value:
{ \
.channel = 0, \
.txPower = {.dBm = 0, .fraction = 0}, \
.ctx = NULL, \
.stats = NULL, \
}

◆ RCL_CmdBle5Connection_DefaultRuntime

#define RCL_CmdBle5Connection_DefaultRuntime ( )    (RCL_CmdBle5Connection) RCL_CmdBle5Connection_Default()

◆ _INIT_SEQSTAT

#define _INIT_SEQSTAT
Value:
(PBE_BLE5_RAM_SEQSTAT_LASTRXSN_BM | \
PBE_BLE5_RAM_SEQSTAT_LASTTXSN_BM | \
PBE_BLE5_RAM_SEQSTAT_FIRSTPKT_BM )

◆ RCL_CtxConnection_Default

#define RCL_CtxConnection_Default ( )
Value:
{ \
.txBuffers = { 0 }, \
.rxBuffers = { 0 }, \
.isPeripheral = 0, \
.seqStat = _INIT_SEQSTAT, \
.accessAddress = 0, \
.crcInit = 0, \
}

◆ RCL_CtxConnection_DefaultRuntime

#define RCL_CtxConnection_DefaultRuntime ( )    (RCL_CtxConnection) RCL_CtxConnection_Default()

◆ RCL_StatsConnection_Default

#define RCL_StatsConnection_Default ( )
Value:
{ \
.config = { 0 }, \
.anchorValid = 0, \
.lastRssi = LRF_RSSI_INVALID, \
}

◆ RCL_StatsConnection_DefaultRuntime

#define RCL_StatsConnection_DefaultRuntime ( )    (RCL_StatsConnection) RCL_StatsConnection_Default()

◆ RCL_CmdBle5DtmTx_Default

#define RCL_CmdBle5DtmTx_Default ( )
Value:
{ \
.channel = 64, \
.txPower = {.dBm = 0, .fraction = 0}, \
.pduHeader = 0x00, \
.pduLength = 37, \
.cteInfo = 0x14, \
.periodUs = 625, \
.numPackets = 0, \
}

◆ RCL_CmdBle5DtmTx_DefaultRuntime

#define RCL_CmdBle5DtmTx_DefaultRuntime ( )    (RCL_CmdBle5DtmTx) RCL_CmdBle5DtmTx_Default()

◆ RCL_CmdBle5GenericRx_Default

#define RCL_CmdBle5GenericRx_Default ( )
Value:
{ \
.channel = 64, \
.ctx = NULL, \
.stats = NULL, \
}

◆ RCL_CmdBle5GenericRx_DefaultRuntime

#define RCL_CmdBle5GenericRx_DefaultRuntime ( )    (RCL_CmdBle5GenericRx) RCL_CmdBle5GenericRx_Default()

◆ RCL_CtxGenericRx_Default

#define RCL_CtxGenericRx_Default ( )
Value:
{ \
.rxBuffers = { 0 }, \
.accessAddress = 0x71764129U, \
.crcInit = 0x555555, \
.config = { \
.repeated = 1, \
.disableSync = 0, \
.discardRxPackets = 1, \
.reserved = 0, \
}, \
}

◆ RCL_CtxGenericRx_DefaultRuntime

#define RCL_CtxGenericRx_DefaultRuntime ( )    (RCL_CtxGenericRx) RCL_CtxGenericRx_Default()

◆ RCL_StatsGenericRx_Default

#define RCL_StatsGenericRx_Default ( )
Value:
{ \
.config = { 0 }, \
.timestampValid = 0, \
.lastRssi = LRF_RSSI_INVALID, \
}

◆ RCL_StatsGenericRx_DefaultRuntime

#define RCL_StatsGenericRx_DefaultRuntime ( )    (RCL_StatsGenericRx) RCL_StatsGenericRx_Default()

◆ RCL_CmdBle5GenericTx_Default

#define RCL_CmdBle5GenericTx_Default ( )
Value:
{ \
.channel = 64, \
.txPower = {.dBm = 0, .fraction = 0}, \
.ctx = NULL, \
}

◆ RCL_CmdBle5GenericTx_DefaultRuntime

#define RCL_CmdBle5GenericTx_DefaultRuntime ( )    (RCL_CmdBle5GenericTx) RCL_CmdBle5GenericTx_Default()

◆ RCL_CtxGenericTx_Default

#define RCL_CtxGenericTx_Default ( )
Value:
{ \
.txBuffers = { 0 }, \
.accessAddress = 0x71764129U, \
.crcInit = 0x555555, \
}

◆ RCL_CtxGenericTx_DefaultRuntime

#define RCL_CtxGenericTx_DefaultRuntime ( )    (RCL_CtxGenericTx) RCL_CtxGenericTx_Default()

◆ RCL_CmdBle5TxTest_Default

#define RCL_CmdBle5TxTest_Default ( )
Value:
{ \
.channel = 64, \
.txPower = {.dBm = 0, .fraction = 0}, \
.txWord = 0, \
.config = { \
.whitenMode = 2, \
.sendCw = 0, \
.reserved = 0, \
}, \
}

◆ RCL_CmdBle5TxTest_DefaultRuntime

#define RCL_CmdBle5TxTest_DefaultRuntime ( )    (RCL_CmdBle5TxTest) RCL_CmdBle5TxTest_Default()

◆ RCL_CMD_BLE5_WH_MODE_DEFAULT

#define RCL_CMD_BLE5_WH_MODE_DEFAULT   0

config.whitenMode: Deafult (or no) whitening

◆ RCL_CMD_BLE5_WH_MODE_PRBS9

#define RCL_CMD_BLE5_WH_MODE_PRBS9   1

config.whitenMode: PRBS-9

◆ RCL_CMD_BLE5_WH_MODE_PRBS15

#define RCL_CMD_BLE5_WH_MODE_PRBS15   2

config.whitenMode: PRBS-15

◆ RCL_CMD_BLE5_WH_MODE_PRBS32

#define RCL_CMD_BLE5_WH_MODE_PRBS32   3

config.whitenMode: PRBS-32

Typedef Documentation

◆ RCL_Ble5Channel

typedef uint8_t RCL_Ble5Channel

Type for BLE channels.

0-39: BLE channel number, indicates standard BLE whitening 64-103: Physical channel number; 64 is 2402 MHz, 65 is 2404 MHz, etc. Whitening disabled 128-255: Custom frequency programmed with RCL_BLE5_setDefaultRfFrequency(); custom whitening. See BLE_CUSTOM_FREQ_BM.

Enumeration Type Documentation

◆ RCL_Ble5_RxPhy

PHY returned in status of recieved packets.

Enumerator
RCL_Ble5_RxPhy1Mbps 
RCL_Ble5_RxPhy2Mbps 
RCL_Ble5_RxPhyCodedS8 
RCL_Ble5_RxPhyCodedS2 
RCL_Handler_BLE5_dtmTx
RCL_Events RCL_Handler_BLE5_dtmTx(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn)
Definition: ble5.c:1673
RCL_Handler_BLE5_conn
RCL_Events RCL_Handler_BLE5_conn(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn)
Definition: ble5.c:1335
RCL_Command_Default
#define RCL_Command_Default(_id, _handler)
Definition: RCL_Command.h:174
RCL_CMDID_BLE5_CONNECTION
#define RCL_CMDID_BLE5_CONNECTION
Definition: ble5.h:110
RCL_CMDID_BLE5_ADVERTISER
#define RCL_CMDID_BLE5_ADVERTISER
Definition: ble5.h:107
RCL_CMDID_BLE5_DTM_TX
#define RCL_CMDID_BLE5_DTM_TX
Definition: ble5.h:111
LRF_RSSI_INVALID
#define LRF_RSSI_INVALID
Definition: LRF.h:83
RCL_Handler_Ble5_txTest
RCL_Events RCL_Handler_Ble5_txTest(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn)
Definition: ble5.c:2289
_INIT_SEQSTAT
#define _INIT_SEQSTAT
Definition: ble5.h:397
RCL_Handler_BLE5_adv
RCL_Events RCL_Handler_BLE5_adv(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn)
Definition: ble5.c:300
RCL_CMDID_BLE5_TX_TEST
#define RCL_CMDID_BLE5_TX_TEST
Definition: ble5.h:114
RCL_Handler_BLE5_scan_init
RCL_Events RCL_Handler_BLE5_scan_init(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn)
Definition: ble5.c:765
RCL_Handler_BLE5_genericRx
RCL_Events RCL_Handler_BLE5_genericRx(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn)
Definition: ble5.c:1911
RCL_CMDID_BLE5_GENERIC_RX
#define RCL_CMDID_BLE5_GENERIC_RX
Definition: ble5.h:112
RCL_CMDID_BLE5_GENERIC_TX
#define RCL_CMDID_BLE5_GENERIC_TX
Definition: ble5.h:113
RCL_Handler_BLE5_genericTx
RCL_Events RCL_Handler_BLE5_genericTx(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn)
Definition: ble5.c:2156
RCL_CMDID_BLE5_SCANNER
#define RCL_CMDID_BLE5_SCANNER
Definition: ble5.h:109
RCL_CMDID_BLE5_INITIATOR
#define RCL_CMDID_BLE5_INITIATOR
Definition: ble5.h:108