Page 1 of 1

Excessive BLE MESH status messages

Posted: Wed Feb 05, 2025 10:28 am
by oz1cmdk
Hi All,

This might be a stupid question, but im currently using BLE MESH with Level server and Level client. Im monitoring messages with Wireshark and a nRF Dongle.

When running the "esp_ble_mesh_server_model_update_state" on my Level Server node, i see that my node is transmitting the Server Status message (at least) 10 times with the same SEQ number. This must be a Replay message? And it seems excessive?
Keep in mind that this is only with one server node and one client node, without relaying..

I have tried to set .net_transmit to ESP_BLE_MESH_TRANSMIT(1, 20) (I also tried 0..). But this parameter is retransmit, so if this was the problem, the SEQ should go up for every retransmit, right?

Attached is a screenshot of Wireshark when i run "esp_ble_mesh_server_model_update_state" once on the Level Server Node.
You can see a red box with 12 Status messages with same SEQ number, and then another 10 Status messages with the same SEQ number (But Old SEQ+1 compared to the previous 12 messages)

Best regards
Christian

Re: Excessive BLE MESH status messages

Posted: Wed Feb 05, 2025 11:37 am
by ahsrabrifat
Use

Code: Select all

esp_ble_mesh_node_init()
and enable logging to track when

Code: Select all

esp_ble_mesh_server_model_update_state()
is actually executed.

Re: Excessive BLE MESH status messages

Posted: Wed Feb 12, 2025 9:10 am
by oz1cmdk
Hi All,

I would also like to hear anybody who has a similar issue? Or is it just me?

Best regards
Christian