Data Structures | |
struct | LlExtAdvParam_t |
Extended advertising parameters. More... | |
struct | LlExtAdvEnableParam_t |
Extended advertising enable parameters. More... | |
struct | LlPerAdvParam_t |
Periodic advertising parameters. More... | |
Macros | |
#define | LL_ADDR_RANDOM_BIT LL_ADDR_RANDOM |
#define | LL_ADDR_IDENTITY_BIT LL_ADDR_PUBLIC_IDENTITY |
#define | LL_ADV_EVT_PROP_NON_CONN_NON_SCAN 0 |
Enumerations |
Functions | |
void | LlSetAdvTxPower (int8_t advTxPwr) |
Set advertising transmit power. More... | |
uint8_t | LlGetAdvTxPower (int8_t *pAdvTxPwr) |
Get advertising transmit power. More... | |
uint8_t | LlSetAdvParam (uint16_t advIntervalMin, uint16_t advIntervalMax, uint8_t advType, uint8_t ownAddrType, uint8_t peerAddrType, const uint8_t *pPeerAddr, uint8_t advChanMap, uint8_t advFiltPolicy) |
Set advertising parameter. More... | |
uint8_t | LlSetAdvData (uint8_t len, const uint8_t *pData) |
Set advertising data. More... | |
uint8_t | LlSetScanRespData (uint8_t len, const uint8_t *pData) |
Set scan response data. More... | |
void | LlAdvEnable (uint8_t enable) |
Advertising enable. More... | |
uint8_t | LlSetAdvSetRandAddr (uint8_t handle, const uint8_t *pAddr) |
Set advertising set random device address. More... | |
uint64_t | LlGetPeriodicChanMap (uint16_t handle, bool_t isAdv) |
Get periodic channel map. More... | |
uint8_t | LlGetAdvSetRandAddr (uint8_t handle, uint8_t *pAddr) |
Get advertising set random device address. More... | |
uint8_t | LlSetExtAdvParam (uint8_t handle, LlExtAdvParam_t *pExtAdvParam) |
Set extended advertising parameters. More... | |
uint8_t | LlGetExtAdvTxPowerLevel (uint16_t handle, int8_t *pLevel) |
Get extended advertising TX power level. More... | |
uint8_t | LlSetExtAdvData (uint8_t handle, uint8_t op, uint8_t fragPref, uint8_t len, const uint8_t *pData) |
Set extended advertising data. More... | |
uint8_t | LlSetExtScanRespData (uint8_t handle, uint8_t op, uint8_t fragPref, uint8_t len, const uint8_t *pData) |
Set extended scan response data. More... | |
void | LlExtAdvEnable (uint8_t enable, uint8_t numAdvSets, LlExtAdvEnableParam_t enaParam[]) |
Extended advertising enable. More... | |
uint8_t | LlReadMaxAdvDataLen (uint16_t *pLen) |
Read maximum advertising data length. More... | |
uint8_t | LlReadNumSupAdvSets (uint8_t *pNumSets) |
Read number of supported advertising sets. More... | |
uint8_t | LlRemoveAdvSet (uint8_t handle) |
Remove advertising set. More... | |
uint8_t | LlClearAdvSets (void) |
Clear advertising sets. More... | |
uint8_t | LlSetPeriodicAdvParam (uint8_t handle, LlPerAdvParam_t *pPerAdvParam) |
Set periodic advertising parameters. More... | |
uint8_t | LlSetPeriodicAdvData (uint8_t handle, uint8_t op, uint8_t len, const uint8_t *pData) |
Set periodic advertising data. More... | |
void | LlSetPeriodicAdvEnable (uint8_t enable, uint8_t handle) |
Set periodic advertising enable. More... | |
uint8_t | LlSetAuxOffsetDelay (uint8_t handle, uint32_t delayUsec) |
Set auxiliary packet offset delay. More... | |
uint8_t | LlSetExtAdvDataFragLen (uint8_t handle, uint8_t fragLen) |
Set extended advertising data fragmentation length. More... | |
uint8_t | LlSetExtAdvTxPhyOptions (uint8_t handle, uint8_t priPhyOpts, uint8_t secPhyOpts) |
Set extended advertising transmit PHY options. More... | |
void | LlReadSupTxPower (int8_t *pMinTxPwr, int8_t *pMaxTxPwr) |
Read supported transmit power. More... | |
void | LlReadRfPathComp (int16_t *pTxPathComp, int16_t *pRxPathComp) |
Read RF path compensation. More... | |
uint8_t | LlWriteRfPathComp (int16_t txPathComp, int16_t rxPathComp) |
Write RF path compensation. More... | |
void | LlScanReportEnable (uint8_t enable) |
Scan report enable. More... | |
#define LL_ADDR_IDENTITY_BIT LL_ADDR_PUBLIC_IDENTITY |
#define LL_ADDR_RANDOM_BIT LL_ADDR_RANDOM |
#define LL_ADV_EVT_PROP_NON_CONN_NON_SCAN 0 |
anonymous enum |
The advertising type indicates the connectable and discoverable nature of the advertising packets transmitted by a device.
anonymous enum |
The address type indicates whether an address is public or random.
anonymous enum |
anonymous enum |
anonymous enum |
Advertising event properties.
anonymous enum |
anonymous enum |
void LlAdvEnable | ( | uint8_t | enable | ) |
Advertising enable.
enable | Set to TRUE to enable advertising, FALSE to disable advertising. |
Enable or disable advertising.
uint8_t LlClearAdvSets | ( | void | ) |
Clear advertising sets.
Remove all existing advertising sets from the LL.
void LlExtAdvEnable | ( | uint8_t | enable, |
uint8_t | numAdvSets, | ||
LlExtAdvEnableParam_t | enaParam[] | ||
) |
Extended advertising enable.
enable | Set to TRUE to enable advertising, FALSE to disable advertising. |
numAdvSets | Number of elements in enaParam[]. |
enaParam | Enable parameter table. |
Enable or disable extended advertising.
uint8_t LlGetAdvSetRandAddr | ( | uint8_t | handle, |
uint8_t * | pAddr | ||
) |
Get advertising set random device address.
handle | Advertising handle. |
pAddr | Random Bluetooth device address. |
Get the random address to be used by a advertising set.
uint8_t LlGetAdvTxPower | ( | int8_t * | pAdvTxPwr | ) |
Get advertising transmit power.
pAdvTxPwr | Advertising transmit power level. |
Return the advertising transmit power.
uint8_t LlGetExtAdvTxPowerLevel | ( | uint16_t | handle, |
int8_t * | pLevel | ||
) |
Get extended advertising TX power level.
handle | Advertising handle. |
pLevel | Transmit power level. |
Get the TX power of an advertising set.
uint64_t LlGetPeriodicChanMap | ( | uint16_t | handle, |
bool_t | isAdv | ||
) |
Get periodic channel map.
handle | Periodic advertiser/scanner handle. |
isAdv | TRUE for periodic advertiser, FALSE for periodic scanner. |
Get the 64-bit channel mask of the channel map
uint8_t LlReadMaxAdvDataLen | ( | uint16_t * | pLen | ) |
Read maximum advertising data length.
pLen | Return buffer for Maximum data length. |
Read maximum advertising data length.
uint8_t LlReadNumSupAdvSets | ( | uint8_t * | pNumSets | ) |
Read number of supported advertising sets.
pNumSets | Return buffer for number of advertising sets. |
Read number of supported advertising sets.
void LlReadRfPathComp | ( | int16_t * | pTxPathComp, |
int16_t * | pRxPathComp | ||
) |
Read RF path compensation.
pTxPathComp | Return buffer for RF transmit path compensation value. |
pRxPathComp | Return buffer for RF receive path compensation value. |
Read the RF Path Compensation Values parameter used in the Tx Power Level and RSSI calculation.
void LlReadSupTxPower | ( | int8_t * | pMinTxPwr, |
int8_t * | pMaxTxPwr | ||
) |
Read supported transmit power.
pMinTxPwr | Return buffer for minimum transmit power. |
pMaxTxPwr | Return buffer for maximum transmit power. |
Read the minimum and maximum transmit powers supported by the LL.
uint8_t LlRemoveAdvSet | ( | uint8_t | handle | ) |
Remove advertising set.
handle | Advertising handle. |
Removes the an advertising set from the LL.
void LlScanReportEnable | ( | uint8_t | enable | ) |
Scan report enable.
enable | Set to TRUE to enable scan reports, FALSE to disable scan reports. |
Enable or disable reports about the scanners from which an advertiser receives scan requests.
uint8_t LlSetAdvData | ( | uint8_t | len, |
const uint8_t * | pData | ||
) |
Set advertising data.
len | Data buffer length. |
pData | Advertising data buffer. |
Set advertising data data.
uint8_t LlSetAdvParam | ( | uint16_t | advIntervalMin, |
uint16_t | advIntervalMax, | ||
uint8_t | advType, | ||
uint8_t | ownAddrType, | ||
uint8_t | peerAddrType, | ||
const uint8_t * | pPeerAddr, | ||
uint8_t | advChanMap, | ||
uint8_t | advFiltPolicy | ||
) |
Set advertising parameter.
advIntervalMin | Minimum advertising interval. |
advIntervalMax | Maximum advertising interval. |
advType | Advertising type. |
ownAddrType | Address type used by this device. |
peerAddrType | Address type of peer device. Only used for directed advertising. |
pPeerAddr | Address of peer device. Only used for directed advertising. |
advChanMap | Advertising channel map. |
advFiltPolicy | Advertising filter policy. |
Set advertising parameters.
uint8_t LlSetAdvSetRandAddr | ( | uint8_t | handle, |
const uint8_t * | pAddr | ||
) |
Set advertising set random device address.
handle | Advertising handle. |
pAddr | Random Bluetooth device address. |
Set the random address to be used by a advertising set.
void LlSetAdvTxPower | ( | int8_t | advTxPwr | ) |
Set advertising transmit power.
advTxPwr | Advertising transmit power level. |
Set the advertising transmit power.
uint8_t LlSetAuxOffsetDelay | ( | uint8_t | handle, |
uint32_t | delayUsec | ||
) |
Set auxiliary packet offset delay.
handle | Advertising handle. |
delayUsec | Additional time in microseconds. "0" to disable. |
Additional delay given to auxiliary packets specified by AuxPtr. Offset values are limited by the advertising interval.
uint8_t LlSetExtAdvData | ( | uint8_t | handle, |
uint8_t | op, | ||
uint8_t | fragPref, | ||
uint8_t | len, | ||
const uint8_t * | pData | ||
) |
Set extended advertising data.
handle | Advertising handle. |
op | Operation. |
fragPref | Fragment preference. |
len | Data buffer length. |
pData | Advertising data buffer. |
Set extended advertising data data.
uint8_t LlSetExtAdvDataFragLen | ( | uint8_t | handle, |
uint8_t | fragLen | ||
) |
Set extended advertising data fragmentation length.
handle | Advertising handle. |
fragLen | Fragmentation length. |
Fragmentation size for Advertising Data and Scan Response Data when selected by the host.
uint8_t LlSetExtAdvParam | ( | uint8_t | handle, |
LlExtAdvParam_t * | pExtAdvParam | ||
) |
Set extended advertising parameters.
handle | Advertising handle. |
pExtAdvParam | Extended advertising parameters. |
Set extended advertising parameters.
uint8_t LlSetExtAdvTxPhyOptions | ( | uint8_t | handle, |
uint8_t | priPhyOpts, | ||
uint8_t | secPhyOpts | ||
) |
Set extended advertising transmit PHY options.
handle | Advertising handle. |
priPhyOpts | Primary advertising channel PHY options. |
secPhyOpts | Secondary advertising channel PHY options. |
PHY options for extended advertising transmissions. New values are applied dynamically.
uint8_t LlSetExtScanRespData | ( | uint8_t | handle, |
uint8_t | op, | ||
uint8_t | fragPref, | ||
uint8_t | len, | ||
const uint8_t * | pData | ||
) |
Set extended scan response data.
handle | Advertising handle. |
op | Operation. |
fragPref | Fragment preference. |
len | Data buffer length. |
pData | Scan response data buffer. |
Set extended scan response data.
uint8_t LlSetPeriodicAdvData | ( | uint8_t | handle, |
uint8_t | op, | ||
uint8_t | len, | ||
const uint8_t * | pData | ||
) |
Set periodic advertising data.
handle | Advertising handle. |
op | Operation. |
len | Data buffer length. |
pData | Advertising data buffer. |
Set periodic advertising data.
void LlSetPeriodicAdvEnable | ( | uint8_t | enable, |
uint8_t | handle | ||
) |
Set periodic advertising enable.
enable | TRUE to enable advertising, FALSE to disable advertising. |
handle | Advertising handle. |
Enable or disable periodic advertising.
uint8_t LlSetPeriodicAdvParam | ( | uint8_t | handle, |
LlPerAdvParam_t * | pPerAdvParam | ||
) |
Set periodic advertising parameters.
handle | Advertising handle. |
pPerAdvParam | Periodic advertising parameters. |
Set periodic advertising parameters.
uint8_t LlSetScanRespData | ( | uint8_t | len, |
const uint8_t * | pData | ||
) |
Set scan response data.
len | Data buffer length. |
pData | Scan response data buffer. |
Set scan response data.
uint8_t LlWriteRfPathComp | ( | int16_t | txPathComp, |
int16_t | rxPathComp | ||
) |
Write RF path compensation.
txPathComp | RF transmit path compensation value. |
rxPathComp | RF receive path compensation value. |
Indicate the RF path gain or loss between the RF transceiver and the antenna contributed by intermediate components.