8000 Merge pull request #594 from joaoc/master · JavierIglesias/esp32-snippets@8980fb1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8980fb1

Browse files
authored
Merge pull request nkolban#594 from joaoc/master
FIX: BLESecurity.h -> BLESecurityCallbacks.
2 parents c224f3c + d6ef149 commit 8980fb1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cpp_utils/BLESecurity.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,20 +51,20 @@ class BLESecurityCallbacks {
5151
* It requires that our device is capable to display this code to end user
5252
* @param
5353
*/
54-
virtual void onPassKeyNotify(uint32_t pass_key);
54+
virtual void onPassKeyNotify(uint32_t pass_key) = 0;
5555

5656
/**
5757
* @brief Here we can make decision if we want to let negotiate authorization with peer device or not
5858
* return Return true if we accept this peer device request
5959
*/
6060

61-
virtual bool onSecurityRequest();
61+
virtual bool onSecurityRequest() = 0 ;
6262
/**
6363
* Provide us information when authentication process is completed
6464
*/
65-
virtual void onAuthenticationComplete(esp_ble_auth_cmpl_t);
65+
virtual void onAuthenticationComplete(esp_ble_auth_cmpl_t) = 0;
6666

67-
virtual bool onConfirmPIN(uint32_t pin);
67+
virtual bool onConfirmPIN(uint32_t pin) = 0;
6868
}; // BLESecurityCallbacks
6969

7070
#endif // CONFIG_BT_ENABLED

0 commit comments

Comments
 (0)
0