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 Legacy Security.
smpDmKeypress_t keypress
Keypress message.
uint8_t dmConnId_t
Connection identifier.
smpDmSecurityReq_t securityReq
Security Request message.
uint8_t keypress
Keypress.
wsfMsgHdr_t hdr
Message header.
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.
User confirms valid numeric comparison.
wsfMsgHdr_t hdr
Message header.
Continue to next passkey bit.
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.
Number of SMP message types.
void SmpiScInit(void)
Initialize SMP initiator role utilizing BTLE Secure Connections.
SMP command packet received.
Data type for SMP_MSG_API_USER_KEYPRESS.
AES calculation complete.
uint8_t ioCap
I/O Capability.
wsfMsgHdr_t hdr
Message header.
An early Confirm from the initiator in passkey pairing.
User keypress in passkey pairing.
Data type for SMP_MSG_API_PAIR_REQ and SMP_MSG_API_PAIR_RSP.
SMP DB Service timer indication.
Cleanup control information and return to IDLE state.
uint8_t maxAttempts
Attempts to trigger 'repeated attempts' timeout.
uint8_t auth
authentication flags
SMP pairing failed packet received.
uint16_t attemptExp
Exponent to raise attemptTimeout on maxAttempts.
smpDmAuthRsp_t authRsp
Authentication message.
LESC Out-of-Band Pairing.
Passkey operation complete.
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
User keypress complete in passkey 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.
Pairing protocol response timeout.
WSF ECC operation complete.
uint8_t auth
Authentication flags.
WSF CMAC operation complete.
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.
Maximum pairing attempts reached.
Pair with Secure Connections.
LESC Just-Works/Numeric Comparison pairing.
Pairing protocol wait interval timeout.
uint8_t iKeyDist
Initiator key distribution flags.
uint8_t auth
Device authentication requirements.
Send next key to be distributed.