![]() |
Cordio Stack and Cordio Profiles
r2p3-02rel0
|
Data Structures | |
struct | hciConnSpec_t |
Connection specification type. More... | |
struct | hciExtInitParam_t |
Initiating parameters. More... | |
struct | hciExtInitScanParam_t |
Initiating scan parameters. More... | |
struct | hciExtAdvParam_t |
Extended advertising parameters. More... | |
struct | hciExtAdvEnableParam_t |
Extended advertising enable parameters. More... | |
struct | hciExtScanParam_t |
Extended scanning parameters. More... | |
HCI Command Interface Functions | |
void | HciDisconnectCmd (uint16_t handle, uint8_t reason) |
HCI disconnect command. More... | |
void | HciLeAddDevWhiteListCmd (uint8_t addrType, uint8_t *pAddr) |
HCI LE add device white list command. More... | |
void | HciLeClearWhiteListCmd (void) |
HCI LE clear white list command. More... | |
void | HciLeConnUpdateCmd (uint16_t handle, hciConnSpec_t *pConnSpec) |
HCI connection update command. More... | |
void | HciLeCreateConnCmd (uint16_t scanInterval, uint16_t scanWindow, uint8_t filterPolicy, uint8_t peerAddrType, uint8_t *pPeerAddr, uint8_t ownAddrType, hciConnSpec_t *pConnSpec) |
HCI LE create connection command. More... | |
void | HciLeCreateConnCancelCmd (void) |
HCI LE create connection cancel command. More... | |
void | HciLeEncryptCmd (uint8_t *pKey, uint8_t *pData) |
HCI LE encrypt command. More... | |
void | HciLeLtkReqNegReplCmd (uint16_t handle) |
HCI LE long term key request negative reply command. More... | |
void | HciLeLtkReqReplCmd (uint16_t handle, uint8_t *pKey) |
HCI LE long term key request reply command. More... | |
void | HciLeRandCmd (void) |
HCI LE random command. More... | |
void | HciLeReadAdvTXPowerCmd (void) |
HCI LE read advertising TX power command. More... | |
void | HciLeReadBufSizeCmd (void) |
HCI LE read buffer size command. More... | |
void | HciLeReadChanMapCmd (uint16_t handle) |
HCI LE read channel map command. More... | |
void | HciLeReadLocalSupFeatCmd (void) |
HCI LE read local supported feautre command. More... | |
void | HciLeReadRemoteFeatCmd (uint16_t handle) |
HCI LE read remote feature command. More... | |
void | HciLeReadSupStatesCmd (void) |
HCI LE read supported states command. More... | |
void | HciLeReadWhiteListSizeCmd (void) |
HCI LE read white list size command. More... | |
void | HciLeRemoveDevWhiteListCmd (uint8_t addrType, uint8_t *pAddr) |
HCI LE remove device white list command. More... | |
void | HciLeSetAdvEnableCmd (uint8_t enable) |
HCI LE set advanced enable command. More... | |
void | HciLeSetAdvDataCmd (uint8_t len, uint8_t *pData) |
HCI LE set advertising data command. More... | |
void | HciLeSetAdvParamCmd (uint16_t advIntervalMin, uint16_t advIntervalMax, uint8_t advType, uint8_t ownAddrType, uint8_t peerAddrType, uint8_t *pPeerAddr, uint8_t advChanMap, uint8_t advFiltPolicy) |
HCI LE set advertising parameters command. More... | |
void | HciLeSetEventMaskCmd (uint8_t *pLeEventMask) |
HCI LE set event mask command. More... | |
void | HciLeSetHostChanClassCmd (uint8_t *pChanMap) |
HCI set host channel class command. More... | |
void | HciLeSetRandAddrCmd (uint8_t *pAddr) |
HCI LE set random address command. More... | |
void | HciLeSetScanEnableCmd (uint8_t enable, uint8_t filterDup) |
HCI LE set scan enable command. More... | |
void | HciLeSetScanParamCmd (uint8_t scanType, uint16_t scanInterval, uint16_t scanWindow, uint8_t ownAddrType, uint8_t scanFiltPolicy) |
HCI set scan parameters command. More... | |
void | HciLeSetScanRespDataCmd (uint8_t len, uint8_t *pData) |
HCI LE set scan response data. More... | |
void | HciLeStartEncryptionCmd (uint16_t handle, uint8_t *pRand, uint16_t diversifier, uint8_t *pKey) |
HCI LE start encryption command. More... | |
void | HciReadBdAddrCmd (void) |
HCI read BD address command. More... | |
void | HciReadBufSizeCmd (void) |
HCI read buffer size command. More... | |
void | HciReadLocalSupFeatCmd (void) |
HCI read local supported feature command. More... | |
void | HciReadLocalVerInfoCmd (void) |
HCI read local version info command. More... | |
void | HciReadRemoteVerInfoCmd (uint16_t handle) |
HCI read remote version info command. More... | |
void | HciReadRssiCmd (uint16_t handle) |
HCI read RSSI command. More... | |
void | HciReadTxPwrLvlCmd (uint16_t handle, uint8_t type) |
HCI read Tx power level command. More... | |
void | HciResetCmd (void) |
HCI reset command. More... | |
void | HciSetEventMaskCmd (uint8_t *pEventMask) |
HCI set event mask command. More... | |
void | HciSetEventMaskPage2Cmd (uint8_t *pEventMask) |
HCI set event page 2 mask command. More... | |
void | HciReadAuthPayloadTimeout (uint16_t handle) |
HCI read authenticated payload timeout command. More... | |
void | HciWriteAuthPayloadTimeout (uint16_t handle, uint16_t timeout) |
HCI write authenticated payload timeout command. More... | |
void | HciLeAddDeviceToResolvingListCmd (uint8_t peerAddrType, const uint8_t *pPeerIdentityAddr, const uint8_t *pPeerIrk, const uint8_t *pLocalIrk) |
HCI add device to resolving list command. More... | |
void | HciLeRemoveDeviceFromResolvingList (uint8_t peerAddrType, const uint8_t *pPeerIdentityAddr) |
HCI remove device from resolving list command. More... | |
void | HciLeClearResolvingList (void) |
HCI clear resolving list command. More... | |
void | HciLeReadResolvingListSize (void) |
HCI read resolving list command. More... | |
void | HciLeReadPeerResolvableAddr (uint8_t addrType, const uint8_t *pIdentityAddr) |
HCI read peer resolvable address command. More... | |
void | HciLeReadLocalResolvableAddr (uint8_t addrType, const uint8_t *pIdentityAddr) |
HCI read local resolvable address command. More... | |
void | HciLeSetAddrResolutionEnable (uint8_t enable) |
HCI enable or disable address resolution command. More... | |
void | HciLeSetResolvablePrivateAddrTimeout (uint16_t rpaTimeout) |
HCI set resolvable private address timeout command. More... | |
void | HciLeSetPrivacyModeCmd (uint8_t addrType, uint8_t *pAddr, uint8_t mode) |
HCI LE set privacy mode command. More... | |
void | HciLeReadPhyCmd (uint16_t handle) |
HCI read PHY command. More... | |
void | HciLeSetDefaultPhyCmd (uint8_t allPhys, uint8_t txPhys, uint8_t rxPhys) |
HCI set default PHY command. More... | |
void | HciLeSetPhyCmd (uint16_t handle, uint8_t allPhys, uint8_t txPhys, uint8_t rxPhys, uint16_t phyOptions) |
HCI set PHY command. More... | |
void | HciVendorSpecificCmd (uint16_t opcode, uint8_t len, uint8_t *pData) |
HCI vencor specific command. More... | |
void | HciLeRemoteConnParamReqReply (uint16_t handle, uint16_t intervalMin, uint16_t intervalMax, uint16_t latency, uint16_t timeout, uint16_t minCeLen, uint16_t maxCeLen) |
HCI Remote Connection Parameter Request Reply. More... | |
void | HciLeRemoteConnParamReqNegReply (uint16_t handle, uint8_t reason) |
HCI Remote Connection Parameter Request Negative Reply. More... | |
void | HciLeSetDataLen (uint16_t handle, uint16_t txOctets, uint16_t txTime) |
HCI LE Set Data Length. More... | |
void | HciLeReadDefDataLen (void) |
HCI LE Read Default Data Length. More... | |
void | HciLeWriteDefDataLen (uint16_t suggestedMaxTxOctets, uint16_t suggestedMaxTxTime) |
HCI LE Write Default Data Length. More... | |
void | HciLeReadLocalP256PubKey (void) |
HCI LE Read Local P-256 Public Key. More... | |
void | HciLeGenerateDHKey (uint8_t *pPubKeyX, uint8_t *pPubKeyY) |
HCI LE Generate DH Key. More... | |
void | HciLeReadMaxDataLen (void) |
HCI LE Read Maximum Data Length. More... | |
void | HciLeReadTxPower (void) |
HCI LE read transmit power command. More... | |
void | HciLeReadRfPathComp (void) |
HCI LE read RF path compensation command. More... | |
void | HciLeWriteRfPathComp (int16_t txPathComp, int16_t rxPathComp) |
HCI LE write RF path compensation command. More... | |
HCI AE Advertiser Interface | |
HCI Advertising Extension functions used by the Advertiser role. | |
void | HciLeSetAdvSetRandAddrCmd (uint8_t advHandle, const uint8_t *pAddr) |
HCI LE set advertising set random device address command. More... | |
void | HciLeSetExtAdvParamCmd (uint8_t advHandle, hciExtAdvParam_t *pExtAdvParam) |
HCI LE set extended advertising parameters command. More... | |
void | HciLeSetExtAdvDataCmd (uint8_t advHandle, uint8_t op, uint8_t fragPref, uint8_t len, const uint8_t *pData) |
HCI LE set extended advertising data command. More... | |
void | HciLeSetExtScanRespDataCmd (uint8_t advHandle, uint8_t op, uint8_t fragPref, uint8_t len, const uint8_t *pData) |
HCI LE set extended scan response data command. More... | |
void | HciLeSetExtAdvEnableCmd (uint8_t enable, uint8_t numSets, hciExtAdvEnableParam_t *pEnableParam) |
HCI LE set extended advertising enable command. More... | |
void | HciLeReadMaxAdvDataLen (void) |
HCI LE read maximum advertising data length command. More... | |
void | HciLeReadNumSupAdvSets (void) |
HCI LE read number of supported advertising sets command. More... | |
void | HciLeRemoveAdvSet (uint8_t advHandle) |
HCI LE remove advertising set command. More... | |
void | HciLeClearAdvSets (void) |
HCI LE clear advertising sets command. More... | |
void | HciLeSetPerAdvParamCmd (uint8_t advHandle, uint16_t advIntervalMin, uint16_t advIntervalMax, uint16_t advProps) |
HCI LE set periodic advertising parameters command. More... | |
void | HciLeSetPerAdvDataCmd (uint8_t advHandle, uint8_t op, uint8_t len, const uint8_t *pData) |
HCI LE set periodic advertising data command. More... | |
void | HciLeSetPerAdvEnableCmd (uint8_t enable, uint8_t advHandle) |
HCI LE set periodic advertising enable command. More... | |
HCI AE Scanner Interface | |
HCI Advertising Extension functions used in the Scanner role. | |
void | HciLeSetExtScanParamCmd (uint8_t ownAddrType, uint8_t scanFiltPolicy, uint8_t scanPhys, hciExtScanParam_t *pScanParam) |
HCI LE set extended scanning parameters command. More... | |
void | HciLeExtScanEnableCmd (uint8_t enable, uint8_t filterDup, uint16_t duration, uint16_t period) |
HCI LE extended scan enable command. More... | |
void | HciLeExtCreateConnCmd (hciExtInitParam_t *pInitParam, hciExtInitScanParam_t *pScanParam, hciConnSpec_t *pConnSpec) |
HCI LE extended create connection command. More... | |
void | HciLePerAdvCreateSyncCmd (uint8_t filterPolicy, uint8_t advSid, uint8_t advAddrType, uint8_t *pAdvAddr, uint16_t skip, uint16_t syncTimeout, uint8_t unused) |
HCI LE periodic advertising create sync command. More... | |
void | HciLePerAdvCreateSyncCancelCmd (void) |
HCI LE periodic advertising create sync cancel command. More... | |
void | HciLePerAdvTerminateSyncCmd (uint16_t syncHandle) |
HCI LE periodic advertising terminate sync command. More... | |
void | HciLeAddDeviceToPerAdvListCmd (uint8_t advAddrType, uint8_t *pAdvAddr, uint8_t advSid) |
HCI LE add device to periodic advertiser list command. More... | |
void | HciLeRemoveDeviceFromPerAdvListCmd (uint8_t advAddrType, uint8_t *pAdvAddr, uint8_t advSid) |
HCI LE remove device from periodic advertiser list command. More... | |
void | HciLeClearPerAdvListCmd (void) |
HCI LE clear periodic advertiser list command. More... | |
void | HciLeReadPerAdvListSizeCmd (void) |
HCI LE read periodic advertiser size command. More... | |
HCI disconnect command.
handle | Connection handle. |
reason | Reason for disconnect. |
HCI LE add device white list command.
addrType | Address type. |
pAddr | Peer address. |
void HciLeClearWhiteListCmd | ( | void | ) |
HCI LE clear white list command.
void HciLeConnUpdateCmd | ( | uint16_t | handle, |
hciConnSpec_t * | pConnSpec | ||
) |
HCI connection update command.
handle | Connection handle. |
pConnSpec | Update connection parameters. |
void HciLeCreateConnCmd | ( | uint16_t | scanInterval, |
uint16_t | scanWindow, | ||
uint8_t | filterPolicy, | ||
uint8_t | peerAddrType, | ||
uint8_t * | pPeerAddr, | ||
uint8_t | ownAddrType, | ||
hciConnSpec_t * | pConnSpec | ||
) |
HCI LE create connection command.
scanInterval | Scan interval. |
scanWindow | Scan window. |
filterPolicy | Filter policy. |
peerAddrType | Peer address type. |
pPeerAddr | Peer address. |
ownAddrType | Own address type. |
pConnSpec | Connecdtion parameters. |
void HciLeCreateConnCancelCmd | ( | void | ) |
HCI LE create connection cancel command.
HCI LE encrypt command.
pKey | Encryption key. |
pData | Data to encrypt. |
void HciLeLtkReqNegReplCmd | ( | uint16_t | handle | ) |
HCI LE long term key request negative reply command.
handle | Connection handle. |
HCI LE long term key request reply command.
handle | Connection handle. |
pKey | LTK. |
void HciLeRandCmd | ( | void | ) |
HCI LE random command.
void HciLeReadAdvTXPowerCmd | ( | void | ) |
HCI LE read advertising TX power command.
void HciLeReadBufSizeCmd | ( | void | ) |
HCI LE read buffer size command.
void HciLeReadChanMapCmd | ( | uint16_t | handle | ) |
HCI LE read channel map command.
handle | Connection handle. |
void HciLeReadLocalSupFeatCmd | ( | void | ) |
HCI LE read local supported feautre command.
void HciLeReadRemoteFeatCmd | ( | uint16_t | handle | ) |
HCI LE read remote feature command.
handle | Connection handle. |
void HciLeReadSupStatesCmd | ( | void | ) |
HCI LE read supported states command.
void HciLeReadWhiteListSizeCmd | ( | void | ) |
HCI LE read white list size command.
HCI LE remove device white list command.
addrType | Address type. |
pAddr | Peer address. |
void HciLeSetAdvEnableCmd | ( | uint8_t | enable | ) |
HCI LE set advanced enable command.
enable | Enable. |
HCI LE set advertising data command.
len | Length of advertising data. |
pData | Advertising data. |
void HciLeSetAdvParamCmd | ( | uint16_t | advIntervalMin, |
uint16_t | advIntervalMax, | ||
uint8_t | advType, | ||
uint8_t | ownAddrType, | ||
uint8_t | peerAddrType, | ||
uint8_t * | pPeerAddr, | ||
uint8_t | advChanMap, | ||
uint8_t | advFiltPolicy | ||
) |
HCI LE set advertising parameters command.
advIntervalMin | Adveritsing minimum interval. |
advIntervalMax | Advertising maximum interval. |
advType | Advertising type. |
ownAddrType | Own address type. |
peerAddrType | Peer address type. |
pPeerAddr | Peer address. |
advChanMap | Advertising channel map. |
advFiltPolicy | Advertising filter policy. |
void HciLeSetEventMaskCmd | ( | uint8_t * | pLeEventMask | ) |
HCI LE set event mask command.
pLeEventMask | LE Event mask. |
void HciLeSetHostChanClassCmd | ( | uint8_t * | pChanMap | ) |
HCI set host channel class command.
pChanMap | Channel map. |
void HciLeSetRandAddrCmd | ( | uint8_t * | pAddr | ) |
HCI LE set random address command.
pAddr | Randon address. |
HCI LE set scan enable command.
enable | Enable. |
filterDup | Filter duplicates. |
void HciLeSetScanParamCmd | ( | uint8_t | scanType, |
uint16_t | scanInterval, | ||
uint16_t | scanWindow, | ||
uint8_t | ownAddrType, | ||
uint8_t | scanFiltPolicy | ||
) |
HCI set scan parameters command.
scanType | Scan type. |
scanInterval | Scan interval. |
scanWindow | Scan window. |
ownAddrType | Own address type. |
scanFiltPolicy | Scanning filter policy. |
HCI LE set scan response data.
len | Scan response data length. |
pData | Scan response data. |
void HciLeStartEncryptionCmd | ( | uint16_t | handle, |
uint8_t * | pRand, | ||
uint16_t | diversifier, | ||
uint8_t * | pKey | ||
) |
HCI LE start encryption command.
handle | Connection handle. |
pRand | Random number. |
diversifier | Diversifier. |
pKey | Encryption key. |
void HciReadBdAddrCmd | ( | void | ) |
HCI read BD address command.
void HciReadBufSizeCmd | ( | void | ) |
HCI read buffer size command.
void HciReadLocalSupFeatCmd | ( | void | ) |
HCI read local supported feature command.
void HciReadLocalVerInfoCmd | ( | void | ) |
HCI read local version info command.
void HciReadRemoteVerInfoCmd | ( | uint16_t | handle | ) |
HCI read remote version info command.
handle | Connection handle. |
void HciReadRssiCmd | ( | uint16_t | handle | ) |
HCI read RSSI command.
handle | Connection handle. |
HCI read Tx power level command.
handle | Connection handle. |
type | Type. |
void HciResetCmd | ( | void | ) |
HCI reset command.
void HciSetEventMaskCmd | ( | uint8_t * | pEventMask | ) |
HCI set event mask command.
pEventMask | Page 1 of the event mask. |
void HciSetEventMaskPage2Cmd | ( | uint8_t * | pEventMask | ) |
HCI set event page 2 mask command.
pEventMask | Page 2 of the event mask. |
void HciReadAuthPayloadTimeout | ( | uint16_t | handle | ) |
HCI read authenticated payload timeout command.
handle | Connection handle. |
HCI write authenticated payload timeout command.
handle | Connection handle. |
timeout | Timeout value. |
void HciLeAddDeviceToResolvingListCmd | ( | uint8_t | peerAddrType, |
const uint8_t * | pPeerIdentityAddr, | ||
const uint8_t * | pPeerIrk, | ||
const uint8_t * | pLocalIrk | ||
) |
HCI add device to resolving list command.
peerAddrType | Peer identity address type. |
pPeerIdentityAddr | Peer identity address. |
pPeerIrk | Peer IRK. |
pLocalIrk | Local IRK. |
HCI remove device from resolving list command.
peerAddrType | Peer identity address type. |
pPeerIdentityAddr | Peer identity address. |
void HciLeClearResolvingList | ( | void | ) |
HCI clear resolving list command.
void HciLeReadResolvingListSize | ( | void | ) |
HCI read resolving list command.
HCI read peer resolvable address command.
addrType | Peer identity address type. |
pIdentityAddr | Peer identity address. |
HCI read local resolvable address command.
addrType | Peer identity address type. |
pIdentityAddr | Peer identity address. |
void HciLeSetAddrResolutionEnable | ( | uint8_t | enable | ) |
HCI enable or disable address resolution command.
enable | Set to TRUE to enable address resolution or FALSE to disable address resolution. |
void HciLeSetResolvablePrivateAddrTimeout | ( | uint16_t | rpaTimeout | ) |
HCI set resolvable private address timeout command.
rpaTimeout | Timeout measured in seconds. |
HCI LE set privacy mode command.
addrType | Peer identity address type. |
pAddr | Peer identity address. |
mode | Privacy mode. |
void HciLeReadPhyCmd | ( | uint16_t | handle | ) |
HCI read PHY command.
handle | Connection handle. |
HCI set default PHY command.
allPhys | All PHYs. |
txPhys | Tx PHYs. |
rxPhys | Rx PHYs. |
void HciLeSetPhyCmd | ( | uint16_t | handle, |
uint8_t | allPhys, | ||
uint8_t | txPhys, | ||
uint8_t | rxPhys, | ||
uint16_t | phyOptions | ||
) |
HCI set PHY command.
handle | Connection handle. |
allPhys | All PHYs. |
txPhys | Tx PHYs. |
rxPhys | Rx PHYs. |
phyOptions | PHY options. |
HCI vencor specific command.
opcode | Opcode. |
len | Length of pData. |
pData | Command data. |
void HciLeRemoteConnParamReqReply | ( | uint16_t | handle, |
uint16_t | intervalMin, | ||
uint16_t | intervalMax, | ||
uint16_t | latency, | ||
uint16_t | timeout, | ||
uint16_t | minCeLen, | ||
uint16_t | maxCeLen | ||
) |
HCI Remote Connection Parameter Request Reply.
handle | Connection handle. |
intervalMin | Interval minimum. |
intervalMax | Interval maximum. |
latency | Connection latency. |
timeout | Connection timeout. |
minCeLen | Minimum connection event length. |
maxCeLen | Maximum connection event length. |
HCI Remote Connection Parameter Request Negative Reply.
handle | Connection handle. |
reason | Negative reply reason. |
HCI LE Set Data Length.
handle | Connection handle. |
txOctets | Tx octets. |
txTime | Tx time. |
void HciLeReadDefDataLen | ( | void | ) |
HCI LE Read Default Data Length.
HCI LE Write Default Data Length.
suggestedMaxTxOctets | Suggested maximum Tx octets. |
suggestedMaxTxTime | Suggested maximum Tx time. |
void HciLeReadLocalP256PubKey | ( | void | ) |
HCI LE Read Local P-256 Public Key.
HCI LE Generate DH Key.
pPubKeyX | Public key X-coordinate. |
pPubKeyY | Public key Y-coordinate. |
void HciLeReadMaxDataLen | ( | void | ) |
HCI LE Read Maximum Data Length.
void HciLeReadTxPower | ( | void | ) |
HCI LE read transmit power command.
void HciLeReadRfPathComp | ( | void | ) |
HCI LE read RF path compensation command.
HCI LE write RF path compensation command.
txPathComp | RF transmit path compensation value. |
rxPathComp | RF receive path compensation value. |
HCI LE set advertising set random device address command.
advHandle | Advertising handle. |
pAddr | Random device address. |
void HciLeSetExtAdvParamCmd | ( | uint8_t | advHandle, |
hciExtAdvParam_t * | pExtAdvParam | ||
) |
HCI LE set extended advertising parameters command.
advHandle | Advertising handle. |
pExtAdvParam | Extended advertising parameters. |
void HciLeSetExtAdvDataCmd | ( | uint8_t | advHandle, |
uint8_t | op, | ||
uint8_t | fragPref, | ||
uint8_t | len, | ||
const uint8_t * | pData | ||
) |
HCI LE set extended advertising data command.
advHandle | Advertising handle. |
op | Operation. |
fragPref | Fragment preference. |
len | Data buffer length. |
pData | Advertising data buffer. |
void HciLeSetExtScanRespDataCmd | ( | uint8_t | advHandle, |
uint8_t | op, | ||
uint8_t | fragPref, | ||
uint8_t | len, | ||
const uint8_t * | pData | ||
) |
HCI LE set extended scan response data command.
advHandle | Advertising handle. |
op | Operation. |
fragPref | Fragment preference. |
len | Data buffer length. |
pData | Scan response data buffer. |
void HciLeSetExtAdvEnableCmd | ( | uint8_t | enable, |
uint8_t | numSets, | ||
hciExtAdvEnableParam_t * | pEnableParam | ||
) |
HCI LE set extended advertising enable command.
enable | Set to TRUE to enable advertising, FALSE to disable advertising. |
numSets | Number of advertising sets. |
pEnableParam | Advertising enable parameter array. |
void HciLeReadMaxAdvDataLen | ( | void | ) |
HCI LE read maximum advertising data length command.
void HciLeReadNumSupAdvSets | ( | void | ) |
HCI LE read number of supported advertising sets command.
void HciLeRemoveAdvSet | ( | uint8_t | advHandle | ) |
HCI LE remove advertising set command.
advHandle | Advertising handle. |
void HciLeClearAdvSets | ( | void | ) |
HCI LE clear advertising sets command.
void HciLeSetPerAdvParamCmd | ( | uint8_t | advHandle, |
uint16_t | advIntervalMin, | ||
uint16_t | advIntervalMax, | ||
uint16_t | advProps | ||
) |
HCI LE set periodic advertising parameters command.
advHandle | Advertising handle. |
advIntervalMin | Periodic advertising interval minimum. |
advIntervalMax | Periodic advertising interval maximum. |
advProps | Periodic advertising properties. |
HCI LE set periodic advertising data command.
advHandle | Advertising handle. |
op | Operation. |
len | Data buffer length. |
pData | Advertising data buffer. |
HCI LE set periodic advertising enable command.
enable | Set to TRUE to enable advertising, FALSE to disable advertising. |
advHandle | Advertising handle. |
void HciLeSetExtScanParamCmd | ( | uint8_t | ownAddrType, |
uint8_t | scanFiltPolicy, | ||
uint8_t | scanPhys, | ||
hciExtScanParam_t * | pScanParam | ||
) |
HCI LE set extended scanning parameters command.
ownAddrType | Address type used by this device. |
scanFiltPolicy | Scan filter policy. |
scanPhys | Scanning PHYs. |
pScanParam | Scanning parameter array. |
void HciLeExtScanEnableCmd | ( | uint8_t | enable, |
uint8_t | filterDup, | ||
uint16_t | duration, | ||
uint16_t | period | ||
) |
HCI LE extended scan enable command.
enable | Set to TRUE to enable scanning, FALSE to disable scanning. |
filterDup | Set to TRUE to filter duplicates. |
duration | Duration. |
period | Period. |
void HciLeExtCreateConnCmd | ( | hciExtInitParam_t * | pInitParam, |
hciExtInitScanParam_t * | pScanParam, | ||
hciConnSpec_t * | pConnSpec | ||
) |
HCI LE extended create connection command.
pInitParam | Initiating parameters. |
pScanParam | Initiating scan parameters. |
pConnSpec | Connection specification. |
void HciLePerAdvCreateSyncCmd | ( | uint8_t | filterPolicy, |
uint8_t | advSid, | ||
uint8_t | advAddrType, | ||
uint8_t * | pAdvAddr, | ||
uint16_t | skip, | ||
uint16_t | syncTimeout, | ||
uint8_t | unused | ||
) |
HCI LE periodic advertising create sync command.
filterPolicy | Filter policy. |
advSid | Advertising SID. |
advAddrType | Advertiser address type. |
pAdvAddr | Advertiser address. |
skip | Number of periodic advertising packets that can be skipped after successful receive. |
syncTimeout | Synchronization timeout. |
unused | Reserved for future use (must be zero). |
void HciLePerAdvCreateSyncCancelCmd | ( | void | ) |
HCI LE periodic advertising create sync cancel command.
void HciLePerAdvTerminateSyncCmd | ( | uint16_t | syncHandle | ) |
HCI LE periodic advertising terminate sync command.
syncHandle | Sync handle. |
HCI LE add device to periodic advertiser list command.
advAddrType | Advertiser address type. |
pAdvAddr | Advertiser address. |
advSid | Advertising SID. |
HCI LE remove device from periodic advertiser list command.
advAddrType | Advertiser address type. |
pAdvAddr | Advertiser address. |
advSid | Advertising SID. |
void HciLeClearPerAdvListCmd | ( | void | ) |
HCI LE clear periodic advertiser list command.
void HciLeReadPerAdvListSizeCmd | ( | void | ) |
HCI LE read periodic advertiser size command.