File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -51,20 +51,20 @@ class BLESecurityCallbacks {
51
51
* It requires that our device is capable to display this code to end user
52
52
* @param
53
53
*/
54
- virtual void onPassKeyNotify (uint32_t pass_key);
54
+ virtual void onPassKeyNotify (uint32_t pass_key) = 0 ;
55
55
56
56
/* *
57
57
* @brief Here we can make decision if we want to let negotiate authorization with peer device or not
58
58
* return Return true if we accept this peer device request
59
59
*/
60
60
61
- virtual bool onSecurityRequest ();
61
+ virtual bool onSecurityRequest () = 0 ;
62
62
/* *
63
63
* Provide us information when authentication process is completed
64
64
*/
65
- virtual void onAuthenticationComplete (esp_ble_auth_cmpl_t );
65
+ virtual void onAuthenticationComplete (esp_ble_auth_cmpl_t ) = 0 ;
66
66
67
- virtual bool onConfirmPIN (uint32_t pin);
67
+ virtual bool onConfirmPIN (uint32_t pin) = 0 ;
68
68
}; // BLESecurityCallbacks
69
69
70
70
#endif // CONFIG_BT_ENABLED
You can’t perform that action at this time.
0 commit comments