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.
Pair with Secure Connections.
An early Confirm from the initiator in passkey pairing.
smpDmKeypress_t keypress
Keypress message.
uint8_t dmConnId_t
Connection identifier.
smpDmSecurityReq_t securityReq
Security Request message.
uint8_t keypress
Keypress.
Number of SMP message types.
wsfMsgHdr_t hdr
Message header.
SMP command packet received.
Maximum pairing attempts reached.
Data type for SMP_MSG_API_AUTH_RSP.
uint8_t minKeyLen
Minimum encryption key length.
void SmprScInit(void)
Initialize SMP responder role utilizing BTLE Secure Connections.
smpDmPair_t pair
Pairing request/response message.
wsfMsgHdr_t hdr
Message header.
uint32_t maxAttemptTimeout
Maximum 'Repeated attempts' timeout in msec.
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.
void SmpiScInit(void)
Initialize SMP initiator role utilizing BTLE Secure Connections.
WSF CMAC operation complete.
Data type for SMP_MSG_API_USER_KEYPRESS.
User keypress in passkey pairing.
SMP DB Service timer indication.
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.
LESC Out-of-Band Pairing.
uint8_t maxAttempts
Attempts to trigger 'repeated attempts' timeout.
uint8_t auth
authentication flags
Send next key to be distributed.
uint16_t attemptExp
Exponent to raise attemptTimeout on maxAttempts.
smpDmAuthRsp_t authRsp
Authentication message.
LESC Just-Works/Numeric Comparison pairing.
SMP pairing failed packet received.
User confirms valid numeric comparison.
Data type for SMP_MSG_API_SECURITY_REQ.
uint32_t attemptDecTimeout
Time msec before attemptExp decreases.
uint8_t maxKeyLen
Maximum encryption key length.
uint32_t attemptTimeout
'Repeated attempts' timeout in msec
Security manager constants and definitions from the Bluetooth specification.
WSF ECC operation complete.
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.
Passkey operation complete.
uint8_t auth
Authentication flags.
AES calculation complete.
void SmprInit(void)
Initialize SMP responder role.
void SmpDbInit(void)
Initialize the SMP Database.
User keypress complete in passkey pairing.
#define SMP_OOB_LEN
OOB Data length in bytes.
uint8_t rKeyDist
Responder key distribution flags.
Cleanup control information and return to IDLE state.
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.
Software foundation OS API.
void SmpiInit(void)
Initialize SMP initiator role.
Common message structure passed to event handler.
smpCfg_t * pSmpCfg
Configuration pointer.
Continue to next passkey bit.
Pairing protocol response timeout.
Pairing protocol wait interval timeout.
uint8_t iKeyDist
Initiator key distribution flags.
uint8_t auth
Device authentication requirements.