This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ble_app_uart_coexist on pca10056(nrf52840) not advertising as mesh node

Hi,

I am using mesh SDK 4.0.0 and nRF SDK 16.0.0. I ported the ble_app_uart_coexist example from mesh SDK to build OK for pca10056 board (nRF52840) by following the instructions on Nordic Infocenter. I can successfully use the "ble_app_uart" part of the example by making BLE connection with the board but I don't see the node in nRF Mesh android app-> Add Node->'Looking for unprovisioned proxy nodes'. I assume it should show up as an unprovisioned node in the app. I have successfully run light-switch mesh example on this board previously. In this devzone case case48109 ,one reply says "The reason that you aren't seeing the device in the nRF Mesh app is probably cause it is advertising as a BLE device. The nRF Mesh app will only pick up devices that is broadcasting as a unprovisioned node." . While flashing the board, I did Erase All and then downloaded the firmware from Segger IDE. So I guess that removes any provisioning data that was on the board. I did not edit the coexist example code in any way. I only edited the DEVICE_NAME macro.

1) How do I get it to advertise as mesh node ? 

2) I ported a pca10040 example to use with pca10056 board. How do I verify that the right softdevice s140 and the mesh stack is really being flashed during the download process?

Thank you

-Kunal

Parents
  • Hi,

    You won't be able to see the device in nRF Mesh app. Like my colleague mentioned in the referred post, it is advertising as an BLE device and not as an unprovisioned node. To able to do that you need the PB-GATT and Proxy feature enabled, and this is not enabled by default in the UART coexist example. The light switch example have these features enabled by default, that is why you can see it in the app.

    You need to use our static provisioner in the SDK to provision the device into the Mesh network.

    Regarding the logs, what do you mean by "a good __LOG() message"? Log messages can be used to easier debug your application or see what is going on in run time. You can choose yourself where you want to put these log messages. Unfortunately, you won't be able to get the softdevice version/name. You just have to make sure you flash over the correct file.

  • Thank you Mttrinh. I tried with static provisioner to verify that Uart coexist example works OK.

    I will look into the light-switch example to see how to enable PB-GATT and proxy feature in Uart coexist example. Please let me know if there are any particular notes for doing so.

    A friendly feedback- Please include the coexist example for nRF52840 and with PB-Gatt & proxy features enabled by default. Going by the devzone posts that I recently came across, it looks like developers are looking for that. Thank you Slight smile

Reply
  • Thank you Mttrinh. I tried with static provisioner to verify that Uart coexist example works OK.

    I will look into the light-switch example to see how to enable PB-GATT and proxy feature in Uart coexist example. Please let me know if there are any particular notes for doing so.

    A friendly feedback- Please include the coexist example for nRF52840 and with PB-Gatt & proxy features enabled by default. Going by the devzone posts that I recently came across, it looks like developers are looking for that. Thank you Slight smile

Children
No Data
Related