espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.93k stars 7.33k forks source link

No outbound bearer found spam when receiving a vendor model message (IDFGH-12524) #13530

Open ShahinHaque97-CT opened 8 months ago

ShahinHaque97-CT commented 8 months ago

Answers checklist.

IDF version.

IDF 5.2.1 release branch - a322e6b

Espressif SoC revision.

ESP32-C3

Operating System used.

Windows

How did you build your project?

CLion IDE

If you are using Windows, please specify command line type.

CMD

Development Kit.

ESP32-C3-DevKitM-1

Power Supply used.

USB

What is the expected behavior?

No warning response

What is the actual behavior?

No outbound bearer found, inbound bearer 0 Spam when receiving a vendor model message, message does receive successfully.

Steps to reproduce.

The code is integrated into my project unfortunately and so I cannot share. if required after general debugging queries, I will create a new project to replicate this for you.

In essence, Vendor Model Client and Server model examples. When receiving a vendor model message this message is spammed across the terminal

Debug Logs.

I (199718) LASCOR_MODEL_CALLBACK: Receive publish message 0xe20059

W (200018) BLE_MESH: No outbound bearer found, inbound bearer 0
W (200028) BLE_MESH: No outbound bearer found, inbound bearer 0
W (200178) BLE_MESH: No outbound bearer found, inbound bearer 0
W (200338) BLE_MESH: No outbound bearer found, inbound bearer 0
W (200408) BLE_MESH: No outbound bearer found, inbound bearer 0
W (200468) BLE_MESH: No outbound bearer found, inbound bearer 0
W (210018) BLE_MESH: No outbound bearer found, inbound bearer 0
W (210078) BLE_MESH: No outbound bearer found, inbound bearer 0

More Information.

No response

forx157 commented 8 months ago

@ShahinHaque97-CT Please enable the mesh log level to info level and then share the log of what went wrong. (Top) → Component config → ESP BLE Mesh Support → BLE Mesh STACK DEBUG LOG LEVEL

block-cha-cha commented 1 month ago

I'm seeing similar behaviour with IDF 5.3.1 (ESP32-C6). It seems that my 'BLE_MESH: No outbound bearer found, inbound bearer 1' spam is seen, if my model has both subscription and publishing to the same group address. If I have two ESP32C6 nodes where one has subscribed to a group, and another publishes to it, then these messages are not seen. But as soon as I pub&sub on both nodes, both nodes start to spam this warning.