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
Using send_msg Function in esp_ble_mesh
Re: Using send_msg Function in esp_ble_mesh
https://docs.espressif.com/projects/esp ... s-of-nodes
Usually you want to send message to unicast or group address.
Usually you want to send message to unicast or group address.
Re: Using send_msg Function in esp_ble_mesh
Thanks for your reply. I want to constantly (every few seconds) send sensor data from each server node to the client node. Should I use esp_ble_model_publish with the device_role as a node or esp_ble_server_model_send_msg? Also, how does the message opcode param work?
-rrwatt
-rrwatt
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot], Google [Bot] and 93 guests