Data Structures | |
struct | LlInitParam_t |
Initiating parameters (LlExtCreateConn()). More... | |
struct | LlExtInitParam_t |
Initiating parameters (LlExtCreateConn()). More... | |
struct | LlExtInitScanParam_t |
Initiating scan parameters (LlExtCreateConn()). More... | |
struct | LlConnSpec_t |
Connection specification (LlCreateConn(), LlConnUpdate() and LlExtCreateConn()). More... | |
Macros | |
#define | LL_PC_PATH_LOSS_UNUSED_HIGH_THRESHOLD 0xFF |
PCL path loss monitoring unused high threshold value. More... | |
Enumerations |
Functions | |
uint8_t | LlDisconnect (uint16_t handle, uint8_t reason) |
Disconnect a connection. More... | |
uint8_t | LlSetConnOpFlags (uint16_t handle, uint32_t flags, bool_t enable) |
Set connection's operational mode flags. More... | |
uint8_t | LlReadRemoteFeat (uint16_t handle) |
Read remote features. More... | |
uint8_t | LlReadRemoteVerInfo (uint16_t handle) |
Read remote version information. More... | |
uint8_t | LlGetRssi (uint16_t handle, int8_t *pRssi) |
Get RSSI of a connection. More... | |
uint8_t | LlGetTxPowerLevel (uint16_t handle, uint8_t type, int8_t *pLevel) |
Get connection's TX power level. More... | |
uint8_t | LlGetEnhTxPowerLevel (uint16_t handle, uint8_t phy, int8_t *pCurPwr, int8_t *pMaxPwr) |
Get connection's enhanced TX power level and max txPower. More... | |
uint8_t | LlSetAllPhyTxPowerLevel (uint16_t handle, int8_t level) |
Set connection's TX power level (all PHYs). More... | |
uint8_t | LlSetPhyTxPowerLevel (uint16_t handle, int8_t level, uint8_t phy) |
Set connection's TX power level for a PHY. More... | |
uint8_t | LlConnUpdate (uint16_t handle, const LlConnSpec_t *pConnSpec) |
Update connection parameters. More... | |
uint8_t | LlRemoteConnParamReqReply (uint16_t handle, const LlConnSpec_t *pConnSpec) |
Remote connection parameter request reply. More... | |
uint8_t | LlRemoteConnParamReqNegReply (uint16_t handle, uint8_t reason) |
Remote connection parameter request negative reply. More... | |
uint8_t | LlSetChannelMap (uint16_t handle, const uint8_t *pChanMap) |
Set connection's channel map. More... | |
uint8_t | LlGetChannelMap (uint16_t handle, uint8_t *pChanMap) |
Get connection's channel map. More... | |
uint8_t | LlSetDataLen (uint16_t handle, uint16_t txLen, uint16_t txTime) |
Set data length. More... | |
void | LlReadDefaultDataLen (uint16_t *pMaxTxLen, uint16_t *pMaxTxTime) |
Read default data length. More... | |
uint8_t | LlWriteDefaultDataLen (uint16_t maxTxLen, uint16_t maxTxTime) |
Write default data length. More... | |
void | LlReadMaximumDataLen (uint16_t *pMaxTxLen, uint16_t *pMaxTxTime, uint16_t *pMaxRxLen, uint16_t *pMaxRxTime) |
Read maximum data length. More... | |
uint8_t | LlReadPhy (uint16_t handle, uint8_t *pTxPhy, uint8_t *pRxPhy) |
Read current transmitter PHY and receive PHY. More... | |
uint8_t | LlSetDefaultPhy (uint8_t allPhys, uint8_t txPhys, uint8_t rxPhys) |
Set default PHYs. More... | |
bool_t | llValidatePhySupport (uint8_t txPhys, uint8_t rxPhys) |
Validate if specified PHYs are supported by LL. More... | |
uint8_t | LlSetPhy (uint16_t handle, uint8_t allPhys, uint8_t txPhys, uint8_t rxPhys, uint16_t phyOptions) |
Set PHY for a connection. More... | |
uint8_t | LlSetLocalMinUsedChan (uint8_t phys, int8_t pwrThres, uint8_t minUsedCh) |
Set local minimum number of used channels. More... | |
uint8_t | LlGetPeerMinUsedChan (uint16_t handle, uint8_t *pPeerMinUsedChan) |
Get peer minimum number of used channels. More... | |
uint8_t | LlRequestPeerSca (uint16_t handle) |
Used to read the sleep clock accuracy of the peer device. More... | |
#define LL_PC_PATH_LOSS_UNUSED_HIGH_THRESHOLD 0xFF |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
enum LlPhy_t |
uint8_t LlConnUpdate | ( | uint16_t | handle, |
const LlConnSpec_t * | pConnSpec | ||
) |
Update connection parameters.
handle | Connection handle. |
pConnSpec | New connection specification. |
Update the connection parameters of a connection.
uint8_t LlDisconnect | ( | uint16_t | handle, |
uint8_t | reason | ||
) |
Disconnect a connection.
handle | Connection handle. |
reason | Disconnect reason. |
Disconnect a connection.
uint8_t LlGetChannelMap | ( | uint16_t | handle, |
uint8_t * | pChanMap | ||
) |
Get connection's channel map.
handle | Connection handle. |
pChanMap | Channel map. |
Get the current channel map of a connection.
uint8_t LlGetEnhTxPowerLevel | ( | uint16_t | handle, |
uint8_t | phy, | ||
int8_t * | pCurPwr, | ||
int8_t * | pMaxPwr | ||
) |
Get connection's enhanced TX power level and max txPower.
handle | Connection handle. |
phy | PHY. |
pCurPwr | Transmit power level. |
pMaxPwr | Max power level. |
uint8_t LlGetPeerMinUsedChan | ( | uint16_t | handle, |
uint8_t * | pPeerMinUsedChan | ||
) |
Get peer minimum number of used channels.
handle | Connection handle. |
pPeerMinUsedChan | Storage for the peer minimum number of used channels. |
Get peer minimum number of used channels.
uint8_t LlGetRssi | ( | uint16_t | handle, |
int8_t * | pRssi | ||
) |
Get RSSI of a connection.
handle | Connection handle. |
pRssi | RSSI value. |
Get the current RSSI of a connection.
uint8_t LlGetTxPowerLevel | ( | uint16_t | handle, |
uint8_t | type, | ||
int8_t * | pLevel | ||
) |
Get connection's TX power level.
handle | Connection handle. |
type | Power level type. |
pLevel | Transmit power level. |
Get the TX power of a connection.
void LlReadDefaultDataLen | ( | uint16_t * | pMaxTxLen, |
uint16_t * | pMaxTxTime | ||
) |
Read default data length.
pMaxTxLen | Maximum number of payload bytes for a Data PDU |
pMaxTxTime | Maximum microseconds for a Data PDU |
Suggested length and microseconds that the local Controller should use to transmit a single Link Layer Data Channel PDU.
void LlReadMaximumDataLen | ( | uint16_t * | pMaxTxLen, |
uint16_t * | pMaxTxTime, | ||
uint16_t * | pMaxRxLen, | ||
uint16_t * | pMaxRxTime | ||
) |
Read maximum data length.
pMaxTxLen | Maximum number of payload bytes for a Tx Data PDU |
pMaxTxTime | Maximum microseconds for a Tx Data PDU |
pMaxRxLen | Maximum number of payload bytes for a Rx Data PDU |
pMaxRxTime | Maximum microseconds for a Rx Data PDU |
Read the Controller's maximum supported payload octets and packet duration times for transmission and reception.
uint8_t LlReadPhy | ( | uint16_t | handle, |
uint8_t * | pTxPhy, | ||
uint8_t * | pRxPhy | ||
) |
Read current transmitter PHY and receive PHY.
handle | Connection handle. |
pTxPhy | Storage for transmitter PHY. |
pRxPhy | Storage for receiver PHY. |
Read current transmitter PHY and receive PHY.
uint8_t LlReadRemoteFeat | ( | uint16_t | handle | ) |
Read remote features.
handle | Connection handle. |
Read the link layer features of the remote device.
uint8_t LlReadRemoteVerInfo | ( | uint16_t | handle | ) |
Read remote version information.
handle | Connection handle. |
Read the version information of the remote device.
uint8_t LlRemoteConnParamReqNegReply | ( | uint16_t | handle, |
uint8_t | reason | ||
) |
Remote connection parameter request negative reply.
handle | Connection handle. |
reason | Reason code. |
Negative reply to a connection parameter request.
uint8_t LlRemoteConnParamReqReply | ( | uint16_t | handle, |
const LlConnSpec_t * | pConnSpec | ||
) |
Remote connection parameter request reply.
handle | Connection handle. |
pConnSpec | New connection specification. |
Reply to a connection parameter request.
uint8_t LlRequestPeerSca | ( | uint16_t | handle | ) |
Used to read the sleep clock accuracy of the peer device.
handle | Handle of the ACL. |
uint8_t LlSetAllPhyTxPowerLevel | ( | uint16_t | handle, |
int8_t | level | ||
) |
Set connection's TX power level (all PHYs).
handle | Connection handle. |
level | Transmit power level. |
uint8_t LlSetChannelMap | ( | uint16_t | handle, |
const uint8_t * | pChanMap | ||
) |
Set connection's channel map.
handle | Connection handle. |
pChanMap | Channel map. |
Set the channel map of a connection.
uint8_t LlSetConnOpFlags | ( | uint16_t | handle, |
uint32_t | flags, | ||
bool_t | enable | ||
) |
Set connection's operational mode flags.
handle | Connection handle. |
flags | Flags. |
enable | TRUE to set flags or FALSE to clear flags. |
Set connection's operational mode flags governing LL operations.
uint8_t LlSetDataLen | ( | uint16_t | handle, |
uint16_t | txLen, | ||
uint16_t | txTime | ||
) |
Set data length.
handle | Connection handle. |
txLen | Maximum number of payload bytes for a Data PDU |
txTime | Maximum microseconds for a Data PDU |
Preferred maximum microseconds that the local Controller should use to transmit a single Link Layer Data Channel PDU.
uint8_t LlSetDefaultPhy | ( | uint8_t | allPhys, |
uint8_t | txPhys, | ||
uint8_t | rxPhys | ||
) |
Set default PHYs.
allPhys | All PHYs preferences. |
txPhys | Preferred transmitter PHYs. |
rxPhys | Preferred receiver PHYs. |
Specify the preferred values for the transmitter PHY and receiver PHY to be used for all subsequent connections over the LE transport.
uint8_t LlSetLocalMinUsedChan | ( | uint8_t | phys, |
int8_t | pwrThres, | ||
uint8_t | minUsedCh | ||
) |
Set local minimum number of used channels.
phys | Bitmask for the PHYs. |
pwrThres | Power threshold. |
minUsedCh | Minimum number of used channels. |
Set local minimum number of used channels.
uint8_t LlSetPhy | ( | uint16_t | handle, |
uint8_t | allPhys, | ||
uint8_t | txPhys, | ||
uint8_t | rxPhys, | ||
uint16_t | phyOptions | ||
) |
Set PHY for a connection.
handle | Connection handle. |
allPhys | All PHYs preferences. |
txPhys | Preferred transmitter PHYs. |
rxPhys | Preferred receiver PHYs. |
phyOptions | PHY options. |
Set PHY preferences for a given connection. The controller might not be able to make the change (e.g., because the peer does not support the requested PHY) or may decide that the current PHY is preferable.
uint8_t LlSetPhyTxPowerLevel | ( | uint16_t | handle, |
int8_t | level, | ||
uint8_t | phy | ||
) |
Set connection's TX power level for a PHY.
handle | Connection handle. |
level | Transmit power level. |
phy | PHY txPower to change. |
bool_t llValidatePhySupport | ( | uint8_t | txPhys, |
uint8_t | rxPhys | ||
) |
Validate if specified PHYs are supported by LL.
txPhys | Preferred transmitter PHYs. |
rxPhys | Preferred receiver PHYs. |
uint8_t LlWriteDefaultDataLen | ( | uint16_t | maxTxLen, |
uint16_t | maxTxTime | ||
) |
Write default data length.
maxTxLen | Maximum number of payload bytes for a Data PDU |
maxTxTime | Maximum microseconds for a Data PDU |
Suggested length and microseconds that the local Controller should use to transmit a single Link Layer Data Channel PDU.