Using send_msg Function in esp_ble_mesh
Posted: Sun Mar 31, 2024 9:31 pm
Hi guys,
I am relatively new to esp-idf. I have a network of esp32 based devices, and I would like them to be able to talk to each other (i.e. send messages via flooding). I believe that this must be easily possible with the framework used in the examples, but I cannot seem to make sense of the code. I see the "esp_ble_mesh_client_model_send_msg" function coming up as a way to transmit messages in the network. How do I use this to send my own custom messages between nodes if possible? Any help is greatly appreciated. Thanks
-rrwatt
I am relatively new to esp-idf. I have a network of esp32 based devices, and I would like them to be able to talk to each other (i.e. send messages via flooding). I believe that this must be easily possible with the framework used in the examples, but I cannot seem to make sense of the code. I see the "esp_ble_mesh_client_model_send_msg" function coming up as a way to transmit messages in the network. How do I use this to send my own custom messages between nodes if possible? Any help is greatly appreciated. Thanks
-rrwatt