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

Integrating mesh and UART together on nRF52840

Hello,

I have been working on ble_app_uart_coexist to achieve the integration of uart and mesh on nRF52840, but I learnt that nRF52840 does not support this example.  

I am using Segger Embedded Studio, nRF52840, PCA10056, nRF_SDK_15.2.0 and now I am looking to add ble_app_uart into light-switch (from nRFSDKforMesh310src) example or vice -versa.

Can you please assist me that which way it should be easy to implement and how to integrate both the examples?

Parents Reply Children
  • Hi Joakim,

    As per your link provided in the above post, I have tried ble_app_uart_mesh for SDK v14.2 and Mesh v1.0, on nRF52840. 

    I added the necessary files and made certain alterations after which I was able to build the project, but during debugging I am getting following errors:

    <error> nrf_sdh_ble: sd_ble_cfg_set() returned NRF_ERROR_INVALID_PARAM when attempting to set BLE_GAP_CFG_ROLE_COUNT.


    <warning> nrf_sdh_ble: RAM starts at 0x20002A18, can be adjusted to 0x20003758.


    <warning> nrf_sdh_ble: RAM size can be adjusted to 0x3C8A8.


    <error> nrf_sdh_ble: sd_ble_enable() returned NRF_ERROR_NO_MEM.


    <error> app: ERROR 4 [NRF_ERROR_NO_MEM] at C:\Users\snowm-test\Desktop\nrf_older\nRF5_SDK_14.2.0_17b948a\examples\ble_peripheral\ble_app_uart_mesh\main.c:851

    Do u know how to solve these?
     

  • Hi Jakobsen,

    I am able to remove all these errors, but I am unable to see the device (nRF52840) in nRF Mesh app. Whereas, I can see the device in nRF Connect and nRF UART.

    But I am unable to understand that why the device is not advertising in nRF Mesh app.  

  • Hi. 

    I'm glad you were able to get rid of the errors. 

    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. 

    Best regards, 
    Joakim.

Related