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