Skip to content

Fix issue in ble_wifi_provisioner#765

Open
peterharperuk wants to merge 14 commits into
raspberrypi:developfrom
peterharperuk:fix_ble_wifi_provisioner
Open

Fix issue in ble_wifi_provisioner#765
peterharperuk wants to merge 14 commits into
raspberrypi:developfrom
peterharperuk:fix_ble_wifi_provisioner

Conversation

@peterharperuk

Copy link
Copy Markdown
Contributor

The set_credentials.py script is not working.
We seem to need to set sm_set_authentication_requirements properly.

The set_credentials.py script is not working.
We seem to need to set sm_set_authentication_requirements properly.
@peterharperuk peterharperuk added this to the 2.2.1 milestone Jun 23, 2026
@peterharperuk

Copy link
Copy Markdown
Contributor Author

I need to ask BlueKitchen for advice on this...

Comment thread bluetooth/ble_wifi_provisioner/wifi_prov_lib.c Outdated
@peterharperuk

Copy link
Copy Markdown
Contributor Author

This is working well now.

And drop the call to gatt_client_set_required_security_level,
that's for a client?
Remove assert - it was a bad idea.
Separate wiping of bonds as it's useful for testing.
Comment thread bluetooth/ble_wifi_provisioner/example.c Outdated
Comment thread bluetooth/ble_wifi_provisioner/example.c Outdated
Comment thread bluetooth/ble_wifi_provisioner/example.c
peterharperuk and others added 5 commits June 25, 2026 10:32
Co-authored-by: Andrew Scheller <lurch@durge.org>
Co-authored-by: Andrew Scheller <lurch@durge.org>
This is a server example not a gatt client.
Fix out of date comment.
We shouldn't be sending two packets in ATT_EVENT_CAN_SEND_NOW.
The ssid and password are now write only anyway.
Add a connection status instead.
More tinkering in the script
Comment thread bluetooth/ble_wifi_provisioner/README.md Outdated
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.

3 participants