Skip to content
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

BluetoothSerial SSP Authentication with callbacks #4634

Merged
merged 4 commits into from
Jan 11, 2021

Conversation

richardclli
Copy link
Contributor

@richardclli richardclli commented Dec 14, 2020

Added authentication callbacks and example, resolves #4622.

@richardclli richardclli changed the title BluetoothSerial SSP Authentication with callbacks #4622 BluetoothSerial SSP Authentication with callbacks, fixes #4622 Dec 14, 2020
@richardclli richardclli changed the title BluetoothSerial SSP Authentication with callbacks, fixes #4622 Resolves #4622 Dec 14, 2020
@richardclli richardclli changed the title Resolves #4622 BluetoothSerial SSP Authentication with callbacks, resolves #4622 Dec 14, 2020
@richardclli richardclli changed the title BluetoothSerial SSP Authentication with callbacks, resolves #4622 BluetoothSerial SSP Authentication with callbacks, resolves espressif/arduino-esp32#4622 Dec 14, 2020
@richardclli richardclli changed the title BluetoothSerial SSP Authentication with callbacks, resolves espressif/arduino-esp32#4622 BluetoothSerial SSP Authentication with callbacks, resolves #4622 Dec 14, 2020
@richardclli richardclli changed the title BluetoothSerial SSP Authentication with callbacks, resolves #4622 BluetoothSerial SSP Authentication with callbacks Dec 17, 2020
@me-no-dev me-no-dev merged commit 81b9130 into espressif:master Jan 11, 2021
@me-no-dev
Copy link
Member

Thanks :)

@luc-github
Copy link
Contributor

@richardclli @me-no-dev Hi I have tested the example and looks great, thank you - but is it normal that the setPin function as no effect and it is always a random pin that is requested ?

@richardclli
Copy link
Contributor Author

For SSP pairing, the pin is always randomly generated by the master device. The setPin function is for old BT pairing mechanism and need to have some pre-compiled library replaced before it can work properly. That is why I develop this function for new pairing mechanism that can work on the fly. You can use it in 2 modes, required confirm (like pairing the phone with a watch) and auto-confirm (like BT speakers).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SSP Functionality Incomplete
3 participants