void SmpDmMsgSend(smpDmMsg_t *pMsg)
This function is called by DM to send a message to SMP.
uint8_t * SmpDmGetStk(dmConnId_t connId, uint8_t *pSecLevel)
Return the STK for the given connection.
WSF ECC operation complete.
smpDmKeypress_t keypress
Keypress message.
uint8_t dmConnId_t
Connection identifier.
SMP DB Service timer indication.
smpDmSecurityReq_t securityReq
Security Request message.
uint8_t keypress
Keypress.
Cleanup control information and return to IDLE state.
wsfMsgHdr_t hdr
Message header.
Data type for SMP_MSG_API_AUTH_RSP.
Maximum pairing attempts reached.
uint8_t minKeyLen
Minimum encryption key length.
void SmprScInit(void)
Initialize SMP responder role utilizing BTLE Secure Connections.
Pairing protocol wait interval timeout.
smpDmPair_t pair
Pairing request/response message.
SMP pairing failed packet received.
wsfMsgHdr_t hdr
Message header.
uint32_t maxAttemptTimeout
Maximum 'Repeated attempts' timeout in msec.
Passkey operation complete.
void SmpScEnableZeroDhKey(bool_t enable)
Called to force the DhKey to zero for qualification test purposes.
wsfMsgHdr_t hdr
Message header.
bool_t SmpDmLescEnabled(dmConnId_t connId)
Check if LE Secure Connections is enabled on the connection.
Pair with Legacy Security.
Continue to next passkey bit.
void SmpiScInit(void)
Initialize SMP initiator role utilizing BTLE Secure Connections.
WSF CMAC operation complete.
Data type for SMP_MSG_API_USER_KEYPRESS.
Pairing protocol response timeout.
An early Confirm from the initiator in passkey pairing.
uint8_t ioCap
I/O Capability.
wsfMsgHdr_t hdr
Message header.
Data type for SMP_MSG_API_PAIR_REQ and SMP_MSG_API_PAIR_RSP.
uint8_t maxAttempts
Attempts to trigger 'repeated attempts' timeout.
uint8_t auth
authentication flags
SMP command packet received.
uint16_t attemptExp
Exponent to raise attemptTimeout on maxAttempts.
smpDmAuthRsp_t authRsp
Authentication message.
Data type for SMP_MSG_API_SECURITY_REQ.
LESC Just-Works/Numeric Comparison pairing.
uint32_t attemptDecTimeout
Time msec before attemptExp decreases.
uint8_t maxKeyLen
Maximum encryption key length.
uint32_t attemptTimeout
'Repeated attempts' timeout in msec
LESC Out-of-Band Pairing.
Security manager constants and definitions from the Bluetooth specification.
void SmpNonInit(void)
Use this SMP init function when SMP is not supported.
void SmpDmEncryptInd(wsfMsgHdr_t *pMsg)
This function is called by DM to notify SMP of encrypted link status.
uint8_t oob
Out-of-band data present flag.
Device Manager subsystem API.
wsfMsgHdr_t hdr
Message header.
uint8_t auth
Authentication flags.
User confirms valid numeric comparison.
AES calculation complete.
void SmprInit(void)
Initialize SMP responder role.
Number of SMP message types.
void SmpDbInit(void)
Initialize the SMP Database.
#define SMP_OOB_LEN
OOB Data length in bytes.
uint8_t rKeyDist
Responder key distribution flags.
Union SMP DM message data types.
void SmpScGetCancelMsgWithReattempt(dmConnId_t connId, wsfMsgHdr_t *pHdr, uint8_t status)
Format a cancel message with consideration for the attempts counter.
uint8_t authDataLen
Length of authentication data.
User keypress in passkey pairing.
Software foundation OS API.
void SmpiInit(void)
Initialize SMP initiator role.
Common message structure passed to event handler.
smpCfg_t * pSmpCfg
Configuration pointer.
Send next key to be distributed.
Pair with Secure Connections.
User keypress complete in passkey pairing.
uint8_t iKeyDist
Initiator key distribution flags.
uint8_t auth
Device authentication requirements.