Skip to content

Fix issues in ble_wifi_provisioner#765

Merged
kilograham merged 14 commits into
raspberrypi:developfrom
peterharperuk:fix_ble_wifi_provisioner
Jul 1, 2026
Merged

Fix issues in ble_wifi_provisioner#765
kilograham merged 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
@peterharperuk peterharperuk changed the title Fix issue in ble_wifi_provisioner Fix issues in ble_wifi_provisioner Jun 26, 2026

@andygpz11 andygpz11 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This all looks sensible to me.

@kilograham kilograham merged commit 7c645d8 into raspberrypi:develop Jul 1, 2026
3 checks passed
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.

6 participants