WiFi Connection Manager using ESP-IDF framework?
WiFi Connection Manager using ESP-IDF framework?
Is there any source code similar to the WiFi Manager https://github.com/tzapu/WiFiManager for esp32 using the IDF framework? I want esp32 to start as Access Point, connect to esp32 using any browser and sent the credentials that esp uses to connect to WiFi network. Thank you!
Re: WiFi Connection Manager using ESP-IDF framework?
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Re: WiFi Connection Manager using ESP-IDF framework?
Thank you Colban for your reply. How can I compile mongoose because there is no "mongoose.h" file in your repository.
Re: WiFi Connection Manager using ESP-IDF framework?
Hi Kolban, can you please explain to me why there is no "app_main()" in your source code?kolban wrote:Howdy,
Might this be something of use?
https://github.com/nkolban/esp32-snippe ... g/bootwifi
Re: WiFi Connection Manager using ESP-IDF framework?
Howdy,
These fragments are meant to be "library code" meaning that they can be compiled and linked with your own application to increase/enhance the available functions. The inclusion of a "main()" function wouldn't thus make sense. That would make them applications in their own right.
These fragments are meant to be "library code" meaning that they can be compiled and linked with your own application to increase/enhance the available functions. The inclusion of a "main()" function wouldn't thus make sense. That would make them applications in their own right.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Re: WiFi Connection Manager using ESP-IDF framework?
The lack of "Mongoose.h" is deliberate. The thinking is that Mongoose is its own project/solution. Mongoose is a pre-req for this part of the code. Rather than even consider some kind of "bundling" of Mongoose in this code, the thought is that Mongoose becomes a "pre-req" for this code's operation. In addition, as Mongoose is enhanced and bug fixed, there won't be any form of using an older version by accident.
In addition, Mongoose is licensed code. Meaning that if one wants to use it in certain situations, one is required to pay the authors a license. I sure didn't want to confuse the story by including a version of Mongoose that may then have "leaked" into a production solution without the developers of the ESP32 solution explicitly working with the Mongoose owners to ensure appropriate licenses were paid.
In addition, Mongoose is licensed code. Meaning that if one wants to use it in certain situations, one is required to pay the authors a license. I sure didn't want to confuse the story by including a version of Mongoose that may then have "leaked" into a production solution without the developers of the ESP32 solution explicitly working with the Mongoose owners to ensure appropriate licenses were paid.
Last edited by kolban on Thu Jul 06, 2017 4:19 pm, edited 1 time in total.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Re: WiFi Connection Manager using ESP-IDF framework?
Thank you for the clarification!kolban wrote:The lack of "Mongoose.h" is deliberate. The thinking is that Mongoose is its own project/solution. Mongoose is a pre-req for this part of the code. Rather than even consider some kind of "bundling" of Mongoose in this code, the thought is that Mongoose becomes a "pre-req" for this code's operation. In addition, as Mongoose is enhanced and bug fixed, there won't be any form of using a later version.
In addition, Mongoose is licensed code. Meaning that if one wants to use it in certain situations, one is required to pay the authors a license. I sure didn't want to confuse the story by including a version of Mongoose that may then have "leaked" into a production solution without the developers of the ESP32 solution explicitly working with the Mongoose owners to ensure appropriate licenses were paid.
-
- Posts: 4
- Joined: Wed Mar 28, 2018 9:44 pm
Re: WiFi Connection Manager using ESP-IDF framework?
Howdy Mr Kolban
Would you mind explaining how we use your snippets within our sketches i.e bootwifi
I am a novice and just migrating over to the ESP32, your work has been a real help and I thank you for all you do for the community
Many thanks
Would you mind explaining how we use your snippets within our sketches i.e bootwifi
I am a novice and just migrating over to the ESP32, your work has been a real help and I thank you for all you do for the community
Many thanks
Re: WiFi Connection Manager using ESP-IDF framework?
Howdy Dean and welcome to the world of ESP32. The ESP32 is a rich and, by necessity, complex environment ... when programming directly. You didn't mention whether or not you have a background in software and electronics? The snippets that are found in my github repository were written as I experimented with functions so that I would have them for easy future reference. They were shared publicly in case they might be of value to others and so that others (should they choose) can themselves enhance and fix them.
Unfortunately time for all of us is limited. I have not spent a whole lot of time polishing them for novice consumption. My advice is either to stick in the Arduino world (ESP32 has an Arduino shaped environment on top of it). If you want to use the ESP32, then understand that there are a set of APIs called the ESP-IDF that can be studied here:
http://esp-idf.readthedocs.io/en/latest/
I also make available a book of notes that I have put together over the years. While they don't specifically address the snippets, they do give some additional background.
As your knowledge increases, if there are deeper mysteries that I can assist with, I'll try and help.
Unfortunately time for all of us is limited. I have not spent a whole lot of time polishing them for novice consumption. My advice is either to stick in the Arduino world (ESP32 has an Arduino shaped environment on top of it). If you want to use the ESP32, then understand that there are a set of APIs called the ESP-IDF that can be studied here:
http://esp-idf.readthedocs.io/en/latest/
I also make available a book of notes that I have put together over the years. While they don't specifically address the snippets, they do give some additional background.
As your knowledge increases, if there are deeper mysteries that I can assist with, I'll try and help.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
-
- Posts: 4
- Joined: Wed Mar 28, 2018 9:44 pm
Re: WiFi Connection Manager using ESP-IDF framework?
Howdy Mr Kolban
Thank you for your reply and comments....noted and yes I am working through your book.
My background is construction, I'm a qualified Domestic electrician, Gas Engineer and carpenter for my sins. I entered the world of the ESP8266 after a fellow Julian Ilett (youTube channel) basically pointed out that if you can switch and LED on/off, you can switch anything! Hmmm, well that caught my imagination. My day job means I'm fitting black boxes that do things and realised that I had no idea how they worked or importantly why they failed.
So began my journey....electronics and electrics can't be that dissimilar, can they? afterall they use Ohms Law! Big mistake on my part of course! I have basically taught myself programming through the Arduino IDE and lots and lots of trying every possible combination until it works. I have lots of real world experience and now I have acquired enough of a broad knowledge, decided 3 months ago (helped by the impressive Mr Andreas Spiess YouTuber's videos) to delve deeper into the ESP32 as I hope this will be a good bet going into the future. Currently building a water softener sensor with ePaper display, barebones esp32 for low power consumption and almost there. I hope to commercialise it.
So to answer your question, I don't have a background in either! Somehow I have clawed my way to a level of understanding, but realise there is lots of gaps in my knowledge missing. It is thanks to people like yourself that I am able to stand on the shoulders of giants, which gives me enough of a glimpse to carry on.
I do know this is a lonely and at times thankless task at times, but that just drives me on to find people with the answers.
Thank you for your reply and comments....noted and yes I am working through your book.
My background is construction, I'm a qualified Domestic electrician, Gas Engineer and carpenter for my sins. I entered the world of the ESP8266 after a fellow Julian Ilett (youTube channel) basically pointed out that if you can switch and LED on/off, you can switch anything! Hmmm, well that caught my imagination. My day job means I'm fitting black boxes that do things and realised that I had no idea how they worked or importantly why they failed.
So began my journey....electronics and electrics can't be that dissimilar, can they? afterall they use Ohms Law! Big mistake on my part of course! I have basically taught myself programming through the Arduino IDE and lots and lots of trying every possible combination until it works. I have lots of real world experience and now I have acquired enough of a broad knowledge, decided 3 months ago (helped by the impressive Mr Andreas Spiess YouTuber's videos) to delve deeper into the ESP32 as I hope this will be a good bet going into the future. Currently building a water softener sensor with ePaper display, barebones esp32 for low power consumption and almost there. I hope to commercialise it.
So to answer your question, I don't have a background in either! Somehow I have clawed my way to a level of understanding, but realise there is lots of gaps in my knowledge missing. It is thanks to people like yourself that I am able to stand on the shoulders of giants, which gives me enough of a glimpse to carry on.
I do know this is a lonely and at times thankless task at times, but that just drives me on to find people with the answers.
Who is online
Users browsing this forum: No registered users and 117 guests