Search found 5 matches

by A_S_S_G
Mon Aug 12, 2024 9:29 am
Forum: ESP-IDF
Topic: sending mesh_proto_t with undefined value
Replies: 0
Views: 521

sending mesh_proto_t with undefined value

does the esp idf cares about the protocol chosen in mesh_proto_t? can I pass a value that is not defined in mesh_proto_t? e.g.: mesh_data_t data{ .data = //bytes array .size = //size of data array .proto = 7, .tos = mesh_tos_t::MESH_TOS_P2P };
by A_S_S_G
Wed Jul 10, 2024 6:23 am
Forum: ESP-IDF
Topic: How to get all children in Wifi-Mesh
Replies: 0
Views: 599

How to get all children in Wifi-Mesh

there is a call to get all the subtree of a mesh: esp_mesh_get_routing_table.
but I want to get all the direct descendants. is there a specialized call for this?
by A_S_S_G
Tue Jul 09, 2024 12:49 pm
Forum: ESP-IDF
Topic: How to get all children in Wifi-Mesh
Replies: 0
Views: 349

How to get all children in Wifi-Mesh

is there a call in esp-idf to get all connected children?
I see there is the call: esp_mesh_get_routing_table, but this returns all the subnet of the node. I'm looking for only the direct descendants
by A_S_S_G
Mon Jun 03, 2024 7:54 am
Forum: ESP-IDF
Topic: Why OTA update needs to delete the entire flash partition befre update?
Replies: 3
Views: 677

Re: Why OTA update needs to delete the entire flash partition befre update?

It doesn't explain why it needs to set the whole partition. Assuming the packets size are 4096*x bytes. Why not deleting the region of the current packet received? I can use the OTA_WITH_SEQUENTIAL_WRITES flag but that means I'm assuming all packets received in a incremental order. and not sure that...
by A_S_S_G
Sun Jun 02, 2024 12:59 pm
Forum: ESP-IDF
Topic: Why OTA update needs to delete the entire flash partition befre update?
Replies: 3
Views: 677

Why OTA update needs to delete the entire flash partition befre update?

Why does esp_ota_begin is erasing the partition before update? why not just overwrite (and only delete the remaining size of the partition when calling esp_ota_end(); esp_ota_begin(update_partition, firmwareSize, &update_handle); the documentation here is not very clear about the behavior, Size of n...