Mistake on this page?
Report an issue in GitHub or email us
Data Fields
lctrConnCtx_t Struct Reference

Connection context. More...

#include <lctr_int_conn.h>

Data Fields

bool_t enabled
 
uint8_t state
 
uint8_t role
 
uint32_t opModeFlags
 
uint8_t termReason
 
uint8_t replyWaitingMsk
 
BbOpDesc_t connBod
 
BbBleData_t bleData
 
union {
   struct {
      uint16_t   totalAcc
 
      uint16_t   lastActiveEvent
 
      uint32_t   txWinSizeUsec
 
      uint32_t   anchorPointUsec
 
      uint32_t   unsyncedTime
 
      bool_t   initAckRcvd
 
      bool_t   abortSlvLatency
 
      uint8_t   consCrcFailed
 
      bool_t   syncWithMaster
 
      bool_t   rxFromMaster
 
      uint32_t   firstRxStartTsUsec
 
   }   slv
 
   struct {
      bool_t   sendConnUpdInd
 
   }   mst
 
data
 
uint16_t maxLatency
 
uint16_t eventCounter
 
uint16_t connInterval
 
int8_t rssi
 
uint8_t lastRxStatus
 
uint8_t lastChanIdx
 
uint8_t hopInc
 
uint8_t numUsedChan
 
uint64_t chanMask
 
uint8_t chanRemapTbl [LL_CHAN_DATA_MAX_IDX+1]
 
uint8_t usedChSel
 
uint16_t chIdentifier
 
uint32_t crcInit
 
uint32_t accessAddr
 
int8_t phyTxPower [LL_PC_PHY_TOTAL]
 
lctrDataPduHdr_t txHdr
 
lctrDataPduHdr_t rxHdr
 
wsfQueue_t txLeuQ
 
wsfQueue_t txArqQ
 
wsfQueue_t rxDataQ
 
uint8_t numTxComp
 
uint8_t numRxPend
 
bool_t emptyPduPend
 
bool_t emptyPduFirstAtt
 
bool_t forceStartPdu
 
uint16_t supTimeoutMs
 
wsfTimer_t tmrSupTimeout
 
bool_t connEst
 
uint8_t svtState
 
bool_t pauseRxData
 
bool_t pauseTxData
 
uint8_t ltk [LL_KEY_LEN]
 
uint8_t skd [LL_SKD_LEN]
 
uint8_t iv [LL_IV_LEN]
 
uint8_t rand [LL_RAND_LEN]
 
uint16_t ediv
 
uint64_t txPktCounter
 
uint64_t rxPktCounter
 
uint32_t pingPeriodMs
 
wsfTimer_t tmrPingTimeout
 
uint32_t authTimeoutMs
 
wsfTimer_t tmrAuthTimeout
 
LlEncMode_t newEncMode
 
bool_t pendEncMode
 
bool_t keyUpdFlag
 
uint8_t numSentVerInd
 
bool_t remoteVerValid
 
lctrVerInd_t remoteVer
 
bool_t featExchFlag
 
uint64_t usedFeatSet
 
uint8_t peerSca
 
int8_t peerTxPower
 
uint8_t peerPwrLimits
 
uint8_t peerApr [LL_PC_PHY_TOTAL]
 
lctrDataLen_t localDataPdu
 
lctrDataLen_t effDataPdu
 
uint16_t localConnDurUsec
 
uint16_t effConnDurUsec
 
uint8_t allPhys
 
uint8_t txPhys
 
uint8_t rxPhys
 
uint8_t txPhysPending
 
uint8_t peerMinUsedChan [LL_MAX_PHYS]
 
bool_t sendPerSync
 
uint8_t perSyncSrc
 
uint16_t perServiceData
 
uint16_t perSyncHandle
 
uint8_t syncMode
 
uint16_t syncSkip
 
uint16_t syncTimeout
 
uint8_t llcpState
 
uint8_t encState
 
uint8_t pingState
 
uint8_t connUpdState
 
uint8_t phyUpdState
 
uint8_t cmnState
 
bool_t peerReplyWaiting
 
bool_t llcpInstantComp
 
bool_t termAckReqd
 
bool_t ackAfterCtrlPdu
 
bool_t llcpIsOverridden
 
bool_t isSlvReadySent
 
bool_t isFirstNonCtrlPdu
 
bool_t isSlvPhyUpdInstant
 
uint8_t llcpActiveProc
 
uint32_t llcpNotifyMask
 
uint32_t llcpPendMask
 
uint32_t llcpIncompMask
 
LlConnSpec_t connUpdSpec
 
lctrConnUpdInd_t connUpd
 
lctrConnParam_t connParam
 
lctrChanMapInd_t chanMapUpd
 
lctrPhy_t phyReq
 
lctrPhyUpdInd_t phyUpd
 
wsfTimer_t tmrProcRsp
 
uint8_t scaUpdAction
 
bool_t readRemoteTxPower
 
int8_t scaMod
 
uint8_t reqErrCode
 
int8_t delta
 
bool_t peerReqRecvd
 
uint8_t reqPhy
 
bool_t powerRptLocal
 
bool_t powerRptRemote
 
uint8_t powerMonitorScheme
 
uint8_t monitoringState
 
bool_t controllerInitRead
 
union {
   struct {
      int8_t   highThreshold
 
      int8_t   lowThreshold
 
      uint8_t   minTimeSpent
 
      uint8_t   curTimeSpent
 
      uint8_t   requestVal
 
   }   autoMonitor
 
   struct {
      uint8_t   highThreshold
 
      uint8_t   highHysteresis
 
      uint8_t   lowThreshold
 
      uint8_t   lowHysteresis
 
      uint8_t   minTimeSpent
 
      uint8_t   curTimeSpent
 
      uint8_t   curZone
 
      uint8_t   newZone
 
      bool_t   initialPathLossRead
 
   }   pathLoss
 
pclMonitorParam
 
uint16_t llcpCisHandle
 
lctrCheckTermFn_t checkCisTerm
 
lctrCheckCisEstAclFn_t checkCisEstAcl
 
uint8_t cisRssiExtremeTimeSpent
 

Detailed Description

Connection context.

Definition at line 196 of file lctr_int_conn.h.

Field Documentation

bool_t abortSlvLatency

If TRUE abort slave latency.

Definition at line 221 of file lctr_int_conn.h.

uint32_t accessAddr

Connection access address.

Definition at line 255 of file lctr_int_conn.h.

bool_t ackAfterCtrlPdu

Ack Tx'ed after last Control PDU Rx'ed.

Definition at line 350 of file lctr_int_conn.h.

uint8_t allPhys

Default all PHYs.

Definition at line 320 of file lctr_int_conn.h.

uint32_t anchorPointUsec

Anchor point in microseconds.

Definition at line 218 of file lctr_int_conn.h.

uint32_t authTimeoutMs

Authentication payload timeout in milliseconds.

Definition at line 292 of file lctr_int_conn.h.

struct { ... } autoMonitor

Autonomous RSSI monitoring specific data.

BbBleData_t bleData

BLE BB operation data.

Definition at line 209 of file lctr_int_conn.h.

lctrChanMapInd_t chanMapUpd

Channel map parameters.

Definition at line 362 of file lctr_int_conn.h.

uint64_t chanMask

Channel mask.

Definition at line 249 of file lctr_int_conn.h.

uint8_t chanRemapTbl[LL_CHAN_DATA_MAX_IDX+1]

Channel remapping table.

Definition at line 250 of file lctr_int_conn.h.

lctrCheckCisEstAclFn_t checkCisEstAcl

Pointer to the check if CIS is established function.

Definition at line 408 of file lctr_int_conn.h.

lctrCheckTermFn_t checkCisTerm

Pointer to the check CIS termination function.

Definition at line 407 of file lctr_int_conn.h.

uint16_t chIdentifier

Channel identifier.

Definition at line 253 of file lctr_int_conn.h.

uint8_t cisRssiExtremeTimeSpent

CIS's current time spent in an extreme zone.

Definition at line 409 of file lctr_int_conn.h.

uint8_t cmnState

Common LLCP state.

Definition at line 346 of file lctr_int_conn.h.

BbOpDesc_t connBod

Connection BOD.

Definition at line 208 of file lctr_int_conn.h.

bool_t connEst

Connection established.

Definition at line 274 of file lctr_int_conn.h.

uint16_t connInterval

Connection interval.

Definition at line 239 of file lctr_int_conn.h.

lctrConnParam_t connParam

Stored peer connection parameter request or response.

Definition at line 361 of file lctr_int_conn.h.

Connection update parameters.

Definition at line 360 of file lctr_int_conn.h.

LlConnSpec_t connUpdSpec

Host connection update specification.

Definition at line 359 of file lctr_int_conn.h.

uint8_t connUpdState

Connection update state.

Definition at line 344 of file lctr_int_conn.h.

uint8_t consCrcFailed

Number of consecutive CRC failures.

Definition at line 223 of file lctr_int_conn.h.

bool_t controllerInitRead

A controller initiated read command.

Definition at line 379 of file lctr_int_conn.h.

uint32_t crcInit

CRC initialization value.

Definition at line 254 of file lctr_int_conn.h.

uint8_t curTimeSpent

Current time spent in an extreme RSSI zone.

Current time spent in a new path loss zone.

Definition at line 387 of file lctr_int_conn.h.

uint8_t curZone

Current path loss zone.

Definition at line 399 of file lctr_int_conn.h.

union { ... } data

Role specific data.

int8_t delta

Power control delta storage.

Definition at line 372 of file lctr_int_conn.h.

uint16_t ediv

Encrypted diversifier.

Definition at line 284 of file lctr_int_conn.h.

uint16_t effConnDurUsec

Effective connection event duration.

Definition at line 317 of file lctr_int_conn.h.

lctrDataLen_t effDataPdu

Effective Data PDU parameters.

Definition at line 315 of file lctr_int_conn.h.

bool_t emptyPduFirstAtt

Empty PDU first attempt.

Definition at line 268 of file lctr_int_conn.h.

bool_t emptyPduPend

Empty PDU ACK pending.

Definition at line 267 of file lctr_int_conn.h.

bool_t enabled

Context enabled.

Definition at line 198 of file lctr_int_conn.h.

uint8_t encState

Current encryption state.

Definition at line 342 of file lctr_int_conn.h.

uint16_t eventCounter

Connection event counter.

Definition at line 238 of file lctr_int_conn.h.

bool_t featExchFlag

Flag for completed feature exchange.

Definition at line 304 of file lctr_int_conn.h.

uint32_t firstRxStartTsUsec

Timestamp of the first received frame regardless of CRC error in microseconds.

Definition at line 226 of file lctr_int_conn.h.

bool_t forceStartPdu

Next data will be forced to be a start PDU

Definition at line 269 of file lctr_int_conn.h.

uint8_t highHysteresis

Path loss high hysteresis.

Definition at line 394 of file lctr_int_conn.h.

int8_t highThreshold

High extreme RSSI threshold.

Definition at line 384 of file lctr_int_conn.h.

uint8_t highThreshold

Path loss high threshold.

Definition at line 393 of file lctr_int_conn.h.

uint8_t hopInc

Hop increment.

Definition at line 247 of file lctr_int_conn.h.

bool_t initAckRcvd

Ack received from master.

Definition at line 220 of file lctr_int_conn.h.

bool_t initialPathLossRead

A power control request is required to start path loss monitoring.

Definition at line 401 of file lctr_int_conn.h.

bool_t isFirstNonCtrlPdu

True if first non-control PDU from master and slave.

Definition at line 353 of file lctr_int_conn.h.

bool_t isSlvPhyUpdInstant

True if slave is in PHY update instant state.

Definition at line 354 of file lctr_int_conn.h.

bool_t isSlvReadySent

True if slave ready to initiate startup LLCP procedure is sent.

Definition at line 352 of file lctr_int_conn.h.

uint8_t iv[LL_IV_LEN]

Initialization vector.

Definition at line 282 of file lctr_int_conn.h.

bool_t keyUpdFlag

Flag for key update.

Definition at line 298 of file lctr_int_conn.h.

uint16_t lastActiveEvent

Last active event counter.

Definition at line 216 of file lctr_int_conn.h.

uint8_t lastChanIdx

Current channel index.

Definition at line 246 of file lctr_int_conn.h.

uint8_t lastRxStatus

Status code of last rx.

Definition at line 243 of file lctr_int_conn.h.

uint8_t llcpActiveProc

Current procedure.

Definition at line 355 of file lctr_int_conn.h.

uint16_t llcpCisHandle

CIS handle for the LLCP procedure.

Definition at line 406 of file lctr_int_conn.h.

uint32_t llcpIncompMask

Incomplete LLCP procedures.

Definition at line 358 of file lctr_int_conn.h.

bool_t llcpInstantComp

Procedure instant completed.

Definition at line 348 of file lctr_int_conn.h.

bool_t llcpIsOverridden

Is the current procedure overridden by other procedure.

Definition at line 351 of file lctr_int_conn.h.

uint32_t llcpNotifyMask

Host notification mask.

Definition at line 356 of file lctr_int_conn.h.

uint32_t llcpPendMask

Pending LLCP procedures.

Definition at line 357 of file lctr_int_conn.h.

uint8_t llcpState

Current LLCP state.

Definition at line 341 of file lctr_int_conn.h.

uint16_t localConnDurUsec

Local connection event duration.

Definition at line 316 of file lctr_int_conn.h.

lctrDataLen_t localDataPdu

Local Data PDU parameters.

Definition at line 314 of file lctr_int_conn.h.

uint8_t lowHysteresis

Path loss low hysteresis.

Definition at line 396 of file lctr_int_conn.h.

int8_t lowThreshold

Low extreme RSSI threshold.

Definition at line 385 of file lctr_int_conn.h.

uint8_t lowThreshold

Path loss low threshold.

Definition at line 395 of file lctr_int_conn.h.

uint8_t ltk[LL_KEY_LEN]

Long term key.

Definition at line 280 of file lctr_int_conn.h.

uint16_t maxLatency

Maximum latency.

Definition at line 237 of file lctr_int_conn.h.

uint8_t minTimeSpent

Minimum time spent in an extreme RSSI zone to trigger a request.

Minimum time spent to trigger an event.

Definition at line 386 of file lctr_int_conn.h.

uint8_t monitoringState

Current state of active power monitoring scheme.

Definition at line 378 of file lctr_int_conn.h.

struct { ... } mst

Master connection specific data.

LlEncMode_t newEncMode

Pending encryption mode.

Definition at line 295 of file lctr_int_conn.h.

uint8_t newZone

New zone.

Definition at line 400 of file lctr_int_conn.h.

uint8_t numRxPend

Number of Rx pending buffers.

Definition at line 266 of file lctr_int_conn.h.

uint8_t numSentVerInd

Number of sent LL_VERSION_IND.

Definition at line 301 of file lctr_int_conn.h.

uint8_t numTxComp

Number of completed Tx buffers.

Definition at line 265 of file lctr_int_conn.h.

uint8_t numUsedChan

Number of used channels.

Definition at line 248 of file lctr_int_conn.h.

uint32_t opModeFlags

Operational mode flags.

Definition at line 201 of file lctr_int_conn.h.

struct { ... } pathLoss

Path loss parameters.

bool_t pauseRxData

Pause Rx data PDUs.

Definition at line 278 of file lctr_int_conn.h.

bool_t pauseTxData

Pause Tx data PDUs.

Definition at line 279 of file lctr_int_conn.h.

union { ... } pclMonitorParam

Power control monitoring data.

uint8_t peerApr[LL_PC_PHY_TOTAL]

Acceptable reduction of power as calculated by the peer.

Definition at line 310 of file lctr_int_conn.h.

uint8_t peerMinUsedChan[LL_MAX_PHYS]

Peer minimum number of used channels for PHYs.

Definition at line 326 of file lctr_int_conn.h.

uint8_t peerPwrLimits

Peer power limits field.

Definition at line 309 of file lctr_int_conn.h.

bool_t peerReplyWaiting

Peer waiting for reply.

Definition at line 347 of file lctr_int_conn.h.

bool_t peerReqRecvd

Peer request received.

Definition at line 373 of file lctr_int_conn.h.

uint8_t peerSca

Peer SCA.

Definition at line 306 of file lctr_int_conn.h.

int8_t peerTxPower

Peer reported txPower.

Definition at line 308 of file lctr_int_conn.h.

bool_t pendEncMode

New encryption mode pending.

Definition at line 296 of file lctr_int_conn.h.

uint16_t perServiceData

ID for periodic sync indication.

Definition at line 332 of file lctr_int_conn.h.

uint16_t perSyncHandle

Periodic sync handle.

Definition at line 333 of file lctr_int_conn.h.

uint8_t perSyncSrc

Periodic sync source.

Definition at line 331 of file lctr_int_conn.h.

lctrPhy_t phyReq

Stored peer PHY request.

Definition at line 363 of file lctr_int_conn.h.

int8_t phyTxPower[LL_PC_PHY_TOTAL]

Saved txPower configuration for PHYs.

Definition at line 256 of file lctr_int_conn.h.

PHY update parameters.

Definition at line 364 of file lctr_int_conn.h.

uint8_t phyUpdState

PHY update state.

Definition at line 345 of file lctr_int_conn.h.

uint32_t pingPeriodMs

Ping period in milliseconds.

Definition at line 290 of file lctr_int_conn.h.

uint8_t pingState

Current ping state.

Definition at line 343 of file lctr_int_conn.h.

uint8_t powerMonitorScheme

Active power monitoring scheme.

Definition at line 377 of file lctr_int_conn.h.

bool_t powerRptLocal

Currently reporting local power changes.

Definition at line 375 of file lctr_int_conn.h.

bool_t powerRptRemote

Currently reporting remote power changes.

Definition at line 376 of file lctr_int_conn.h.

uint8_t rand[LL_RAND_LEN]

Random number.

Definition at line 283 of file lctr_int_conn.h.

bool_t readRemoteTxPower

Currently reading remote txPower.

Definition at line 367 of file lctr_int_conn.h.

lctrVerInd_t remoteVer

Peer version data.

Definition at line 303 of file lctr_int_conn.h.

bool_t remoteVerValid

Peer version data valid.

Definition at line 302 of file lctr_int_conn.h.

uint8_t replyWaitingMsk

Host reply waiting mask.

Definition at line 205 of file lctr_int_conn.h.

uint8_t reqErrCode

LLCP error code.

Definition at line 369 of file lctr_int_conn.h.

uint8_t reqPhy

PHY of most recent power control request.

Definition at line 374 of file lctr_int_conn.h.

uint8_t requestVal

Value of increase/decrease in power to request.

Definition at line 388 of file lctr_int_conn.h.

uint8_t role

Connection role.

Definition at line 200 of file lctr_int_conn.h.

int8_t rssi

RSSI.

Definition at line 242 of file lctr_int_conn.h.

wsfQueue_t rxDataQ

Receive data pending queue.

Definition at line 264 of file lctr_int_conn.h.

bool_t rxFromMaster

At least one successful packet received from master.

Definition at line 225 of file lctr_int_conn.h.

Receive data PDU header.

Definition at line 261 of file lctr_int_conn.h.

uint8_t rxPhys

Default receiver PHYs.

Definition at line 322 of file lctr_int_conn.h.

uint64_t rxPktCounter

Transmit packet counter.

Definition at line 287 of file lctr_int_conn.h.

int8_t scaMod

Local sca override modifier.

Definition at line 368 of file lctr_int_conn.h.

uint8_t scaUpdAction

Sca update action variable.

Definition at line 366 of file lctr_int_conn.h.

bool_t sendConnUpdInd

Send LL_CONNECTION_UPDATE_IND flag.

Definition at line 232 of file lctr_int_conn.h.

bool_t sendPerSync

Send LL_PERIODIC_SYNC_IND flag.

Definition at line 330 of file lctr_int_conn.h.

uint8_t skd[LL_SKD_LEN]

Session key diversifier.

Definition at line 281 of file lctr_int_conn.h.

struct { ... } slv

Slave connection specific data.

uint8_t state

Current state.

Definition at line 199 of file lctr_int_conn.h.

uint16_t supTimeoutMs

Supervision timeout in milliseconds.

Definition at line 272 of file lctr_int_conn.h.

uint8_t svtState

SVT urgency state.

Definition at line 275 of file lctr_int_conn.h.

uint8_t syncMode

Sync transfer mode.

Definition at line 336 of file lctr_int_conn.h.

uint16_t syncSkip

Sync skip for periodic adv sync transfer.

Definition at line 337 of file lctr_int_conn.h.

uint16_t syncTimeout

Sync timeout for periodic adv sync transfer.

Definition at line 338 of file lctr_int_conn.h.

bool_t syncWithMaster

Flag indicating synchronize packet received from master.

Definition at line 224 of file lctr_int_conn.h.

bool_t termAckReqd

Ack required for Rx'ed LL_TERMINATE_IND.

Definition at line 349 of file lctr_int_conn.h.

uint8_t termReason

Termination reason code.

Definition at line 204 of file lctr_int_conn.h.

wsfTimer_t tmrAuthTimeout

Authentication payload timer.

Definition at line 293 of file lctr_int_conn.h.

wsfTimer_t tmrPingTimeout

Ping timer.

Definition at line 291 of file lctr_int_conn.h.

wsfTimer_t tmrProcRsp

Procedure response timer.

Definition at line 365 of file lctr_int_conn.h.

wsfTimer_t tmrSupTimeout

Supervision timer.

Definition at line 273 of file lctr_int_conn.h.

uint16_t totalAcc

Combined sleep clock inaccuracy.

Definition at line 215 of file lctr_int_conn.h.

wsfQueue_t txArqQ

Transmit ARQ queue.

Definition at line 263 of file lctr_int_conn.h.

Transmit data PDU header.

Definition at line 260 of file lctr_int_conn.h.

wsfQueue_t txLeuQ

Transmit LE-U queue.

Definition at line 262 of file lctr_int_conn.h.

uint8_t txPhys

Default transmitter PHYs.

Definition at line 321 of file lctr_int_conn.h.

uint8_t txPhysPending

Pending transmitter PHYs.

Definition at line 323 of file lctr_int_conn.h.

uint64_t txPktCounter

Transmit packet counter.

Definition at line 286 of file lctr_int_conn.h.

uint32_t txWinSizeUsec

Tx window size.

Definition at line 217 of file lctr_int_conn.h.

uint32_t unsyncedTime

Unsynced time in BB tick before connection update.

Definition at line 219 of file lctr_int_conn.h.

uint8_t usedChSel

Used channel selection.

Definition at line 252 of file lctr_int_conn.h.

uint64_t usedFeatSet

Used feature set.

Definition at line 305 of file lctr_int_conn.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.