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.
uint8_t dmConnId_t
Connection identifier.
uint8_t oob
Out-of-band data present flag.
smpDmKeypress_t keypress
Keypress message.
uint8_t auth
Device authentication requirements.
Continue to next passkey bit.
Data type for SMP_MSG_API_AUTH_RSP.
LESC Just-Works/Numeric Comparison pairing.
void SmprScInit(void)
Initialize SMP responder role utilizing BTLE Secure Connections.
smpDmPair_t pair
Pairing request/response message.
LESC Out-of-Band Pairing.
wsfMsgHdr_t hdr
Message header.
User keypress in passkey pairing.
An early Confirm from the initiator in passkey pairing.
smpDmSecurityReq_t securityReq
Security Request message.
User confirms valid numeric comparison.
wsfMsgHdr_t hdr
Message header.
void SmpiScInit(void)
Initialize SMP initiator role utilizing BTLE Secure Connections.
uint8_t minKeyLen
Minimum encryption key length.
Data type for SMP_MSG_API_USER_KEYPRESS.
AES calculation complete.
wsfMsgHdr_t hdr
Message header.
uint8_t ioCap
I/O Capability.
uint8_t maxAttempts
Attempts to trigger 'repeated attempts' timeout.
WSF CMAC operation complete.
Data type for SMP_MSG_API_PAIR_REQ and SMP_MSG_API_PAIR_RSP.
Maximum pairing attempts reached.
WSF ECC operation complete.
wsfMsgHdr_t hdr
Message header.
Passkey operation complete.
Data type for SMP_MSG_API_SECURITY_REQ.
wsfMsgHdr_t hdr
Message header.
SMP command packet received.
Send next key to be distributed.
uint16_t attemptTimeout
'Repeated attempts' timeout in msec
uint8_t rKeyDist
Responder key distribution flags.
Security manager constants and definitions from the Bluetooth specification.
User keypress complete in passkey pairing.
uint8_t maxKeyLen
Maximum encryption key length.
void SmpNonInit(void)
Use this SMP init function when SMP is not supported.
Pairing protocol timeout.
void SmpDmEncryptInd(wsfMsgHdr_t *pMsg)
This function is called by DM to notify SMP of encrypted link status.
uint8_t authDataLen
Length of authentication data.
Device Manager subsystem API.
uint8_t keypress
Keypress.
SMP pairing failed packet received.
unsigned short uint16_t
Unsigned 16-bit value.
uint8_t auth
Authentication flags.
smpDmAuthRsp_t authRsp
Authentication message.
void SmprInit(void)
Initialize SMP responder role.
#define SMP_OOB_LEN
OOB Data length in bytes.
Pair with Legacy Security.
Union SMP DM message data types.
uint8_t iKeyDist
Initiator key distribution flags.
WSF CMAC operation complete.
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.
Pair with Secure Connections.
unsigned char uint8_t
Unsigned 8-bit value.
uint8_t auth
authentication flags