Search found 5 matches

by ogrego
Mon Aug 06, 2018 10:34 am
Forum: General Discussion
Topic: Problem with wifi mesh by sending message to external IP
Replies: 4
Views: 20940

Re: Problem with wifi mesh by sending message to external IP

I solved it with a workaround: 1. send from leaf node a message to root 2. receive with root 3. open a socket and send to server 1. esp_mesh_send(NULL, &data, 0, NULL, 0); // send message to root 2. err = esp_mesh_recv(&from, &data, portMAX_DELAY, &flag, NULL, 0); 3. I used an lwip socket: // init t...
by ogrego
Wed Aug 01, 2018 4:20 pm
Forum: General Discussion
Topic: Counting Bluetooth advertising scan windows
Replies: 0
Views: 2079

Counting Bluetooth advertising scan windows

Hello, I'm trying to figure out what bluetooth channel is used by the ESP32 for the current advertisement scan (37, 38 or 39). I couldn't find any API method for it and I couldn't extract any valuable information from the gap callback parameters (esp_gap_ble_cb_event_t , esp_ble_gap_cb_param_t). Sin...
by ogrego
Fri Jun 01, 2018 8:42 am
Forum: General Discussion
Topic: Problem with wifi mesh by sending message to external IP
Replies: 4
Views: 20940

Re: Problem with wifi mesh by sending message to external IP

Meanwhile I switched from the python script to netcat: nc -l -k -p 8089 And got this error message after the third esp_mesh_send function call (at the first two, nothing happened): W (17492) mesh: [esp_mesh_forward_packet,206] [ucast]err:0x4012, ucast discard, xseqno:4, len:1502, 30:ae:a4:75:5c:bc--...
by ogrego
Thu May 31, 2018 11:54 am
Forum: General Discussion
Topic: Problem with wifi mesh by sending message to external IP
Replies: 4
Views: 20940

Problem with wifi mesh by sending message to external IP

Hello, I'm currently trying to modify the mesh example: https://github.com/espressif/esp-idf/tree/master/examples/mesh/internal_transceiver to send a messsage to my server, without success. I checked the API's esp_mesh_send part: http://esp-idf.readthedocs.io/en/latest/api-reference/mesh/esp_mesh.ht...
by ogrego
Thu May 31, 2018 9:11 am
Forum: General Discussion
Topic: Problem with mesh with sending to socket
Replies: 0
Views: 2658

Problem with mesh with sending to socket

Hello, I'm currently trying to modify the mesh example: https://github.com/espressif/esp-idf/tree/master/examples/mesh/internal_transceiver to send a messsage to my server, without success. I checked the API's esp_mesh_send part: http://esp-idf.readthedocs.io/en/latest/api-reference/mesh/esp_mesh.ht...