Search found 92 matches

by leenowell
Tue Feb 05, 2019 9:15 pm
Forum: ESP-MDF
Topic: Using the MDF with C++
Replies: 22
Views: 29859

Re: Using the MDF with C++

Hi, Ok I downloaded mdf using these instructions https://github.com/espressif/esp-mdf cd into the get_started directory then run make menuconfig and then exited without changing the config I could then build the get_started example using "make" no parameters. Changing the file to .cpp gave the same ...
by leenowell
Tue Feb 05, 2019 6:53 pm
Forum: ESP-MDF
Topic: Using the MDF with C++
Replies: 22
Views: 29859

Re: Using the MDF with C++

I will try and compile it myself when I get home and let you know.
by leenowell
Tue Feb 05, 2019 4:45 pm
Forum: ESP-MDF
Topic: Using the MDF with C++
Replies: 22
Views: 29859

Re: Using the MDF with C++

Are you able to post the compile line from Make? Also are you compiling the full example in this last example or the cut down one you provided?

As a stab for the warnings, you could out the extern C wrappers around the #include statements
by leenowell
Tue Feb 05, 2019 7:05 am
Forum: ESP-MDF
Topic: Using the MDF with C++
Replies: 22
Views: 29859

Re: Using the MDF with C++

If you are using make , the output should show you exactly what commands are being run (including all parameters) . For the moment, if you cast the MALLOC and rename the file to CPP does it compile ok? If not can you post the output from make? The extern C wrapper prevents the CPP compiler for mangl...
by leenowell
Mon Feb 04, 2019 8:10 am
Forum: ESP-MDF
Topic: Using the MDF with C++
Replies: 22
Views: 29859

Re: Using the MDF with C++

Hi A couple of thoughts... 1. You can remove the extern C stuff for now. If you need that you will get linker errors not compilation errors 2. What are you using to compile it command line make file / eclipse or something else? Changing it to CPP will likely change the compiler being used and depend...
by leenowell
Sun Feb 03, 2019 3:14 pm
Forum: ESP-MDF
Topic: BUG - v3..3 beta : esp_mesh_set_router doesn't seem to work
Replies: 12
Views: 16037

BUG - v3..3 beta : esp_mesh_set_router doesn't seem to work

Hi All, Related to my post about Mesh and Smart Config. As part of my debugging I removed all the smart config calls and tried manually setting the router info using esp_mesh_set_router once the mesh has triggered the "no parent" event (as I deliberately started the mesh with incorrect SSID). The co...
by leenowell
Sat Feb 02, 2019 8:13 pm
Forum: ESP-MDF
Topic: BUG / Workaround : Mesh and smart config
Replies: 8
Views: 15050

BUG / Workaround : Mesh and smart config

Hi all I am struggling to get smart config working with my mesh. I deliberately give it an incorrect said which it detects and sends event "no parent". When I receive this event I start the smart config process as per the example and get the ssid and password that I send it. Once received on SC_STAT...
by leenowell
Sat Feb 02, 2019 10:29 am
Forum: ESP-MDF
Topic: ESP Mesh and ESP Now
Replies: 6
Views: 17190

Re: ESP Mesh and ESP Now

Ah ok thanks very much for clarifying. I have had a look and looks like channel change is the only event needed to propagate to the 8266 unless I have missed something.
by leenowell
Fri Feb 01, 2019 8:14 am
Forum: ESP-MDF
Topic: ESP Mesh and ESP Now
Replies: 6
Views: 17190

Re: ESP Mesh and ESP Now

Thanks very much @ESP_LBB for getting back to me so quickly. I will go through the mesh event list and see which ones the esp8266 will need to worry about as I assume it will be more than channel switch. The complexity I have is that the edge device is in deep sleep most of the time as it is battery...
by leenowell
Thu Jan 31, 2019 5:06 pm
Forum: ESP-MDF
Topic: ESP Mesh and ESP Now
Replies: 6
Views: 17190

Re: ESP Mesh and ESP Now

Thanks for getting back to me @ESP_LBB This is essentially what I have running ie ESP8266 sends espnow message to eso32 which is part of a broader esp32 mesh. The problem with this is that the esp8266 not being part of the mesh does not receive any of the mesh control events that t would of it were ...