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

nRF Mesh app stuck during provisioning of light switch proxy client, mesh sdk v2.1.1 #73

Closed
bkvaale opened this issue Jul 31, 2018 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@bkvaale
Copy link

bkvaale commented Jul 31, 2018

Describe the bug
The nRF Mesh app is stuck at 91% in the progress bar. The full nRF Mesh log is attached below:

img_3730
img_3731
img_3732
img_3733

The log from the light switch proxy client is attached here:

<t: 0>, main.c, 331, ----- BLE Mesh Light Switch Client Demo -----
<t: 538>, main.c, 242, Initializing and adding models
<t: 5449>, main.c, 374, Device UUID : 0059ABCDEFABCDEFACCDEFABCDEFABCD
<t: 456106>, main.c, 264, Successfully updated connection parameters
<t: 1030>, main.c, 101, Successfully provisioned
<t: 1038>, main.c, 109, Node Address: 0x0001
<t: 79085>, main.c, 264, Successfully updated connection parameters

To Reproduce
Steps to reproduce the behavior:

  1. Use two nRF52832 DKs
  2. erase both boards using nrfjprog --eraseall
  3. compile light switch proxy client & server examples from mesh sdk v2.1.1
  4. download projects to the respective boards
  5. open a debugging session in Segger Embedded Studio to see log output (no breakpoints)
  6. Network tab -> Add new device
  7. connect to client node
  8. Do not make any changes to name, unicast address or appkey 1
  9. press Provision

Expected behavior
I expect the nRF Mesh app to provision successfully.

Important note: When I exit the nRF Mesh app (press home button on iPhone), open the nRF Mesh app again & press "Reconnect", it seems the proxy client is provisioned correctly. This can also be seen from proxy client log above (<t: 1030>, main.c, 101, Successfully provisioned).

Platform details:

  • Device: iPhone 8
  • OS: iOS 11.4.1
  • Application version V1.0.1, Build Number 7

Logs / Screenshots
Add any logs or screenshots that can help us debug the issue faster

@mostafaberg mostafaberg self-assigned this Jul 31, 2018
@mostafaberg mostafaberg added this to the Library integration completeness milestone Jul 31, 2018
@mostafaberg
Copy link
Contributor

This has been resolved here and verified by other developers, for the time being, I'll add that to the next release and will verify/test once more.
Bug is related to the timings due to the connection params changes in the new Mesh SDK, What happens is all segments arrive, but the block acknowledgment's timer has not triggered yet, causing a timeout and the state breaks as you see. this happens only while doing an app key add message.

The new version of the iOS SDK and app are ready but not released yet, follow The next release here

@jovirus
Copy link

jovirus commented Aug 8, 2018

I confirm the same issue, the provisioning process stopped at 91% after element models found. See the attached picture.
iPhone 7, 11.4.1
App model 1.0.1 build 7
mesh stucked

@mostafaberg mostafaberg added the bug Something isn't working label Aug 10, 2018
@mostafaberg
Copy link
Contributor

Tested thoroughly in v1.0.2 and it does not reproduces after the fix has been in place, will close for now and open a new issue if the bug is still reproducing on other devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants