BLE Mesh Sensor client & sever setting set program

I'm using BLE Mesh Sensor example that Client & Sever communication data each other.

Because I'm implementing one by one communication data that client > sever > client > .... 

Using client button event tx "setting set" data to server and data has been successfully transmitted (NRF_SUCCESS), but the server don't receive. (setting get is ok), why?

code:

//client

// client setting set
sensor_setting_set_msg_pkt_t example_data;
    example_data.property_id = SENSOR_MOTION_SENSED_PROPERTY_ID,
    example_data.setting_property_id = SENSOR_MOTION_SENSED_PROPERTY_ID,
    example_data.setting_raw[0] = 1;
    bytes = sizeof(example_data);
uint32_t status = NRF_SUCCESS;

status = sensor_client_setting_set(&m_clients[0], &example_data, bytes);

 

//server

Server's setting set cb function should have a response? But in fact not

Development board:nRF52840

BLE Mesh SDK version:5.0

Example:Sensor & Client & Server

Parents Reply
  • Thank you your reply.

    Q: "Have you verified that the central is actually sending the message?"

    A: Yes, I have tried to verify the client's setting set function (APP_ERROR), and the result is successful.

    Q:"Does the server receive the message but handle it wrong? Or doesn't it receive it at all?"

    A:"Yes,  other functions of the client send Set and Get responses, but the Setting set doesn't".

    The problem has not been solved, any other ideas?'Disappointed relieved

Children
Related