Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF Mesh 4.0.0 Light Switch Server Not Provisioned

Hello,

I'm using nRFSDK16.0.0 and Mesh SDK 4.0.0 on nRF52840 boards. Soft device is 7.0.1. I want to test simple Light Switch example using nRFMesh mobile app as provisioner and one board as server (light) and the other as client (switch). 

I'm following this guide: https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v4.0.0/md_examples_light_switch_README.html

I can successfully provision the switch but cannot do the same for light. Here is the log from RTT viewer:

main.c, 249, ----- BLE Mesh Light Switch Server Demo -----
00> <t: 8681>, main.c, 218, Initializing and adding models
00> <t: 8684>, main.c, 113, App OnOff Model Handle: 2
00> <t: 13581>, mesh_app_utils.c, 65, Device UUID (raw): 5611860C225C174DB4D8F89A59153D41
00> <t: 13584>, mesh_app_utils.c, 70, Device UUID : 0C861156-5C22-4D17-B4D8-F89A59153D41<t: 8498823>, ble_softdevice_support.c, 104, Successfully updated connection parameters<t: 8069132>, ble_softdevice_support.c, 104, Successfully updated connection parameters<t: 15700158>, ble_softdevice_support.c, 104, Successfully updated connection parameters

I have made sure that SDK_ROOT was set correctly and boards were "Erase All" before programming. Yet I wonder why this is happening for one device but not for the other. Isn't the provisioning process same for both devices?

  • Hi Aftab, 

    The provisioning should be the same on both devices. Could you describe what you see on the nRFMesh app on mobile ? 

  • The nRFMesh app shows "Connecting..." when try to add the device. Please see the following image:

    https://drive.google.com/file/d/1OKFeNIW2lPYcip2gZD-JdUffizpWKuea/view

  • Please attach the screenshot directly here (you can copy and paste image) I can't access the image on the link you sent. You can convert the case to private if you want. 

    I had a quick test here and saw no problem provisioning the light switch server. 

  • Here is the video:

Related