BT Mesh heartbeat issues in nrf52840

Dear All:

I have followed the procedure as shown in the following to make a Mesh heartbeat application.  

I started with the example of ligtht switch client and server for SDK v.17.0.2/Mesh v.5.0.0. 

However, the server did not receive any heartbeat message from the client. I wonder if anyone can tell what the problem should be. 


We also use the nrf mesh app to provision the two mesh nodes as the follows.

The address of client is 0x0095 and The address of sever is 0x0098.

Then I configure the client with element and heartbeat parameters as shown below.

          

Then I configure the server with element and heartbeat parameters as shown below.

    

In the segger debug mode, at the server I did not find any heartbeat message received from the client.  

Best regards,

ShengHua

  • Hi Sheng-Hua,

    I am sorry, but as I am very new to Bluetooth Mesh and Nordic microcontrollers I can not really say much. 

    I had the same issue but it is working for me. However I am not using the nrf Mesh SDK but the nrf Connect SDK.  Normally you don’t have to add the function heartbeat_send() function to see the heartbeat messages in the nrf Mesh App. But I can only say that for implementation made with the nrf Connect SDK. You could try setting up server and client light example from nrf Connect SDK and try out heartbeat functionally…

    Best,

    Toni

  • Hi,

    Did you get a resolution for the issue? In general, all new projects should use nRF Connect SDK, and not the older now-in-maintenance-mode nRF5 SDK for Mesh.

    Regards,
    Terje

  • Dear Terje and Toni:

    Thanks for your reply.

    First of all, I have used the sdk as follows:

    nrf5_SDK_for_Mesh_v5.0.0-src.zip. 

    Therefore, do you have any example of using the sdk to do a heartbeat function?

    Besides, I already set up the server and client light example, but I don't still get any heartbeat. I wonder why?

    Best Regards,

    Sheng-Hua 

Related