SDK  23.9.2
For IoT System Software Development
Public Member Functions | List of all members
BLESecurityCallbacks Class Referenceabstract

Public Member Functions

virtual uint32_t onPassKeyRequest ()=0
 Its request from peer device to input authentication pin code displayed on peer device. It requires that our device is capable to input 6-digits code by end user. More...
 
virtual void onPassKeyNotify (uint32_t pass_key)=0
 Provide us 6-digits code to perform authentication. It requires that our device is capable to display this code to end user. More...
 
virtual bool onSecurityRequest ()=0
 Here we can make decision if we want to let negotiate authorization with peer device or not return Return true if we accept this peer device request.
 
virtual void onAuthenticationComplete (void *)=0
 
virtual bool onConfirmPIN (uint32_t pin)=0
 

Member Function Documentation

◆ onAuthenticationComplete()

virtual void BLESecurityCallbacks::onAuthenticationComplete ( void *  )
pure virtual

Provide us information when authentication process is completed

◆ onPassKeyNotify()

virtual void BLESecurityCallbacks::onPassKeyNotify ( uint32_t  pass_key)
pure virtual

Provide us 6-digits code to perform authentication. It requires that our device is capable to display this code to end user.

Parameters

◆ onPassKeyRequest()

virtual uint32_t BLESecurityCallbacks::onPassKeyRequest ( )
pure virtual

Its request from peer device to input authentication pin code displayed on peer device. It requires that our device is capable to input 6-digits code by end user.

Returns
Return 6-digits integer value from input device

The documentation for this class was generated from the following file: