8000 FIX: BLESecurity.h -> BLESecurityCallbacks. by joaoc · Pull Request #594 · nkolban/esp32-snippets · GitHub
[go: up one dir, main page]

Skip to content

FIX: BLESecurity.h -> BLESecurityCallbacks. #594

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 10, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions cpp_utils/BLESecurity.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,20 +51,20 @@ class BLESecurityCallbacks {
* It requires that our device is capable to display this code to end user
* @param
*/
virtual void onPassKeyNotify(uint32_t pass_key);
virtual void onPassKeyNotify(uint32_t pass_key) = 0;

/**
* @brief 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 bool onSecurityRequest();
virtual bool onSecurityRequest() = 0 ;
/**
* Provide us information when authentication process is completed
*/
virtual void onAuthenticationComplete(esp_ble_auth_cmpl_t);
virtual void onAuthenticationComplete(esp_ble_auth_cmpl_t) = 0;

virtual bool onConfirmPIN(uint32_t pin);
virtual bool onConfirmPIN(uint32_t pin) = 0;
}; // BLESecurityCallbacks

#endif // CONFIG_BT_ENABLED
Expand Down
0