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

Fix resolve on BLE from ip network commissioning. #7213

Merged

Conversation

cecille
Copy link
Contributor

@cecille cecille commented May 28, 2021

IP network provisioning was incorrectly early-returning from the
resolve callback and not sending data through to the python stack
for BLE.

Problem

IP network commissioning broke the resolve portion of the BLE connection

Change overview

Fixes the OnNodeIdResolved function to remove early return that bypassed the python delegate.

Testing

Set up M5 with no network credentials. Connected via chip-device-ctrl using BLE
connect -qr "[qrcode]"
zcl NetworkCommissioning AddWiFiNetwork [nodeid] 0 0 ssid=str:[ssid] credentials=str:[pass] breadcrumb=0 timeoutMs=1000
zcl NetworkCommissioning EnableNetwork [nodeid] 0 0 networkID=str:[ssid] breadcrumb=0 timeoutMs=1000
resolve 0 [nodeid]

Last resolve used to fail, now it passes.

IP network provisioning was incorrectly early-returning from the
resolve callback and not sending data through to the python stack
for BLE.
@bzbarsky-apple bzbarsky-apple merged commit 69af557 into project-chip:master May 28, 2021
@bzbarsky-apple
Copy link
Contributor

@cecille Thank you for the quick fix!

@cecille cecille deleted the fix_resolve_issue_on_ble branch July 23, 2021 19:34
nikita-s-wrk pushed a commit to nikita-s-wrk/connectedhomeip that referenced this pull request Sep 23, 2021
IP network provisioning was incorrectly early-returning from the
resolve callback and not sending data through to the python stack
for BLE.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants