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