Data Structures | |
struct | LlScanParam_t |
Scan parameters. More... | |
struct | LlExtScanParam_t |
Extended scan parameters. More... | |
struct | LlPerAdvCreateSyncCmd_t |
Periodic advertising create sync command. More... | |
struct | LlDevicePerAdvList_t |
Device in periodic advertiser list. More... | |
Macros | |
#define | LL_PER_ADV_CREATE_SYNC_OPTIONS_BITS 0x03 |
Periodic advertising create sync options valid bits. More... | |
Enumerations |
Functions | |
uint8_t | LlSetSetScanChanMap (uint8_t chanMap) |
Set scan channel map. More... | |
uint8_t | LlSetScanParam (const LlScanParam_t *pParam) |
Set scan parameters. More... | |
void | LlScanEnable (uint8_t enable, uint8_t filterDup) |
Scan enable. More... | |
uint8_t | LlSetExtScanParam (uint8_t ownAddrType, uint8_t scanFiltPolicy, uint8_t scanPhys, const LlExtScanParam_t param[]) |
Set extended scanning parameters. More... | |
void | LlExtScanEnable (uint8_t enable, uint8_t filterDup, uint16_t duration, uint16_t period) |
Extended scan enable. More... | |
uint8_t | LlPeriodicAdvCreateSync (const LlPerAdvCreateSyncCmd_t *pParam) |
Create synchronization of periodic advertising. More... | |
uint8_t | LlPeriodicAdvCreateSyncCancel (void) |
Cancel pending synchronization of periodic advertising. More... | |
uint8_t | LlPeriodicAdvTerminateSync (uint16_t syncHandle) |
Stop synchronization of periodic advertising. More... | |
uint8_t | LlAddDeviceToPeriodicAdvList (const LlDevicePerAdvList_t *pParam) |
Add device to periodic advertiser list. More... | |
uint8_t | LlRemoveDeviceFromPeriodicAdvList (const LlDevicePerAdvList_t *pParam) |
Remove device from periodic advertiser list command. More... | |
uint8_t | LlClearPeriodicAdvList (void) |
Clear all devices in periodic advertiser list command. More... | |
uint8_t | LlReadPeriodicAdvListSize (uint8_t *pListSize) |
Read total number of devices in periodic advertiser list command. More... | |
uint8_t | LlSetPeriodicAdvRcvEnable (uint16_t syncHandle, uint8_t enable) |
Enable or disable reports for the periodic advertising sync. More... | |
void | LlPastInit (void) |
Initialize LL subsystem for PAST(Periodic advertising sync transfer). More... | |
uint8_t | LlPeriodicAdvSyncTransfer (uint16_t connHandle, uint16_t serviceData, uint16_t syncHandle) |
Send sync info about periodic advertising to a connected device. More... | |
uint8_t | LlPeriodicAdvSetInfoTransfer (uint16_t connHandle, uint16_t serviceData, uint8_t advHandle) |
Send sync info about periodic adv in an advertising set to a connected device. More... | |
uint8_t | LlSetPeriodicAdvSyncTransParams (uint16_t connHandle, uint8_t mode, uint16_t skip, uint16_t syncTimeout, uint8_t cteType) |
Set periodic advertising sync transfer parameters. More... | |
uint8_t | LlSetDefaultPeriodicAdvSyncTransParams (uint8_t mode, uint16_t skip, uint16_t syncTimeout, uint8_t cteType) |
Set default periodic advertising sync transfer parameters. More... | |
#define LL_PER_ADV_CREATE_SYNC_OPTIONS_BITS 0x03 |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
Advertising report event types.
uint8_t LlAddDeviceToPeriodicAdvList | ( | const LlDevicePerAdvList_t * | pParam | ) |
Add device to periodic advertiser list.
pParam | Add to periodic list parameters. |
Add device to periodic advertiser list.
uint8_t LlClearPeriodicAdvList | ( | void | ) |
Clear all devices in periodic advertiser list command.
Clear all devices in periodic advertiser list command.
void LlExtScanEnable | ( | uint8_t | enable, |
uint8_t | filterDup, | ||
uint16_t | duration, | ||
uint16_t | period | ||
) |
Extended scan enable.
enable | Set to TRUE to enable scanning, FALSE to disable scanning. |
filterDup | Set to TRUE to filter duplicates. |
duration | Duration. |
period | Period. |
Enable or disable extended scanning.
void LlPastInit | ( | void | ) |
Initialize LL subsystem for PAST(Periodic advertising sync transfer).
This function initializes the LL subsystem for PAST(Periodic advertising sync transfer).
uint8_t LlPeriodicAdvCreateSync | ( | const LlPerAdvCreateSyncCmd_t * | pParam | ) |
Create synchronization of periodic advertising.
pParam | Create sync parameters. |
Create synchronization of periodic advertising.
uint8_t LlPeriodicAdvCreateSyncCancel | ( | void | ) |
Cancel pending synchronization of periodic advertising.
Cancel pending synchronization of periodic advertising.
uint8_t LlPeriodicAdvSetInfoTransfer | ( | uint16_t | connHandle, |
uint16_t | serviceData, | ||
uint8_t | advHandle | ||
) |
Send sync info about periodic adv in an advertising set to a connected device.
connHandle | Connection handle. |
serviceData | Service data provided by the host. |
advHandle | Handle to identify an advertising set. |
Send sync info about periodic adv in an advertising set to a connected device.
uint8_t LlPeriodicAdvSyncTransfer | ( | uint16_t | connHandle, |
uint16_t | serviceData, | ||
uint16_t | syncHandle | ||
) |
Send sync info about periodic advertising to a connected device.
connHandle | Connection handle. |
serviceData | Service data provided by the host. |
syncHandle | Periodic sync handle. |
Send sync info about periodic advertising to a connected device.
uint8_t LlPeriodicAdvTerminateSync | ( | uint16_t | syncHandle | ) |
Stop synchronization of periodic advertising.
syncHandle | Sync handle. |
Stop synchronization of periodic advertising.
uint8_t LlReadPeriodicAdvListSize | ( | uint8_t * | pListSize | ) |
Read total number of devices in periodic advertiser list command.
pListSize | Return size value of periodic advertiser list |
Read total number of devices in periodic advertiser list command.
uint8_t LlRemoveDeviceFromPeriodicAdvList | ( | const LlDevicePerAdvList_t * | pParam | ) |
Remove device from periodic advertiser list command.
pParam | Remove from periodic list parameters. |
void LlScanEnable | ( | uint8_t | enable, |
uint8_t | filterDup | ||
) |
Scan enable.
enable | Set to TRUE to enable scanning, FALSE to disable scanning. |
filterDup | Set to TRUE to filter duplicates. |
Enable or disable scanning. This function is only used when operating in master role.
uint8_t LlSetDefaultPeriodicAdvSyncTransParams | ( | uint8_t | mode, |
uint16_t | skip, | ||
uint16_t | syncTimeout, | ||
uint8_t | cteType | ||
) |
Set default periodic advertising sync transfer parameters.
mode | Periodic sync advertising sync transfer mode. |
skip | The number of periodic advertising packets that can be skipped after a successful receive. |
syncTimeout | Synchronization timeout for the periodic advertising. |
cteType | Constant tone extension type(Used in AoD/AoA). |
Set default periodic advertising sync transfer parameters.
uint8_t LlSetExtScanParam | ( | uint8_t | ownAddrType, |
uint8_t | scanFiltPolicy, | ||
uint8_t | scanPhys, | ||
const LlExtScanParam_t | param[] | ||
) |
Set extended scanning parameters.
ownAddrType | Address type used by this device. |
scanFiltPolicy | Scan filter policy. |
scanPhys | Scanning PHYs bitmask. |
param | Scanning parameter table indexed by PHY. |
Set the extended scan parameters to be used on the primary advertising channel.
uint8_t LlSetPeriodicAdvRcvEnable | ( | uint16_t | syncHandle, |
uint8_t | enable | ||
) |
Enable or disable reports for the periodic advertising sync.
syncHandle | Periodic sync handle. |
enable | 1 to enable reports, 0 to disable reports. |
Enable or disable reports for the periodic advertising sync.
uint8_t LlSetPeriodicAdvSyncTransParams | ( | uint16_t | connHandle, |
uint8_t | mode, | ||
uint16_t | skip, | ||
uint16_t | syncTimeout, | ||
uint8_t | cteType | ||
) |
Set periodic advertising sync transfer parameters.
connHandle | Connection handle. |
mode | Periodic sync advertising sync transfer mode. |
skip | The number of periodic advertising packets that can be skipped after a successful receive. |
syncTimeout | Synchronization timeout for the periodic advertising. |
cteType | Constant tone extension type(Used in AoD/AoA). |
Set periodic advertising sync transfer parameters.
uint8_t LlSetScanParam | ( | const LlScanParam_t * | pParam | ) |
Set scan parameters.
pParam | Scan parameters. |
Set scan parameters.
uint8_t LlSetSetScanChanMap | ( | uint8_t | chanMap | ) |
Set scan channel map.
chanMap | Scan channel map. |
Set scan channel map.