Search found 5 matches

by kskd1804
Fri Oct 08, 2021 1:41 pm
Forum: General Discussion
Topic: Deep sleep not working with ESP BLE MESH
Replies: 1
Views: 2370

Deep sleep not working with ESP BLE MESH

I have been trying to use BLE Mesh along with Deep sleep. The code works fine and it looks like the esp is going into deep sleep. However, when I measure the energy consumed using a multimeter, I see it is consuming around 60mA on average. It would be great if some could guide me on this. I am attac...
by kskd1804
Mon Jul 26, 2021 4:15 am
Forum: General Discussion
Topic: ESP BLE MESH using deep sleep
Replies: 2
Views: 3185

Re: ESP BLE MESH using deep sleep

Ok I finally solved the issue. As I thought the callback ESP_BLE_MESH_MODEL_PUBLISH_COMP_EVT event was triggered whenever I publish a message. I am calling esp_deep_sleep_start() within this callback event and everything worked like a charm.
by kskd1804
Fri Jul 23, 2021 10:36 am
Forum: General Discussion
Topic: ESP BLE MESH using deep sleep
Replies: 2
Views: 3185

Re: ESP BLE MESH using deep sleep

Ok, after digging deeper, I think I understand why the messages are not getting transmitted. Correct me if I am wrong. The esp_ble_mesh_model_publish function seems to be pushing the data to be handled by a Queue, which in turn will handle the transmission of data. It seems, the esp_deep_sleep_start...
by kskd1804
Fri Jul 23, 2021 9:04 am
Forum: General Discussion
Topic: ble mesh setting publication address and subcription address
Replies: 1
Views: 3733

Re: ble mesh setting publication address and subcription address

I had the same problem earlier. You can solve it by following below steps. 1. In sensor client code, place the below code within switch block of example_ble_mesh_provisioning_cb in the case block of ESP_BLE_MESH_PROVISIONER_BIND_APP_KEY_TO_MODEL_COMP_EVT. case ESP_BLE_MESH_PROVISIONER_BIND_APP_KEY_T...
by kskd1804
Fri Jul 23, 2021 4:40 am
Forum: General Discussion
Topic: ESP BLE MESH using deep sleep
Replies: 2
Views: 3185

ESP BLE MESH using deep sleep

Hi, I am currently working on building a BLE mesh for transmitting data from multiple nodes with Sensor Server model (publishes the data on group address) to a single node with Sensor Client model (subscribes to the group address). Everything seems to be working fine. But now I changed the code so t...