Excessive BLE MESH status messages

oz1cmdk
Posts: 8
Joined: Mon Oct 30, 2023 9:22 am

Excessive BLE MESH status messages

Postby oz1cmdk » Wed Feb 05, 2025 10:28 am

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
Attachments
ble_mesh_status_overload.png
ble_mesh_status_overload.png (93.06 KiB) Viewed 1122 times

ahsrabrifat
Posts: 201
Joined: Sat Jan 18, 2025 2:31 pm

Re: Excessive BLE MESH status messages

Postby ahsrabrifat » Wed Feb 05, 2025 11:37 am

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.

oz1cmdk
Posts: 8
Joined: Mon Oct 30, 2023 9:22 am

Re: Excessive BLE MESH status messages

Postby oz1cmdk » Wed Feb 12, 2025 9:10 am

Hi All,

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

Best regards
Christian

Who is online

Users browsing this forum: ChatGPT-User and 3 guests