Search found 6 matches

by nicollo
Thu Jan 16, 2020 8:55 am
Forum: Hardware
Topic: HX711 WIFI floor scales
Replies: 0
Views: 2850

HX711 WIFI floor scales

Hi guys! I'm trying to make a floor scales based on ESP32 + HX711 and ESP-IDF over HTTP protocol. This library https://github.com/UncleRus/esp-idf-lib/blob/master/components/hx711/hx711.c was used for communication. Sensors were connected in such way: https://wifi-iot.com/static/content/699c984e7bf1...
by nicollo
Thu Mar 28, 2019 5:44 pm
Forum: ESP-IDF
Topic: Http client and C++
Replies: 2
Views: 5596

Re: Http client and C++

It looks like this it will return a copy of the url string stored in the object. The copy in the result will only be valid until it goes out of scope, and because it's not stored anywhere it goes out of scope almost immediately. Which means the c_str() pointer will also have become invalid... Yep, ...
by nicollo
Wed Mar 27, 2019 8:22 am
Forum: ESP IoT Solution
Topic: ESP-IDF: Configure wifi connection over http server
Replies: 7
Views: 23522

Re: ESP-IDF: Configure wifi connection over http server

chrisruppen wrote:
Fri Feb 22, 2019 12:07 am
...
Would you mind sharing your repository so I can take a look? ;)
I've decided to do in another way. For now I use BLE for wifi configuration.
Google Chrome allows to access device bluetooth using javascript.

So no need to store html in flash
by nicollo
Wed Mar 27, 2019 7:58 am
Forum: ESP-IDF
Topic: Http client and C++
Replies: 2
Views: 5596

Http client and C++

Hi guys! I'm trying to write a http client using C++ over the Esp-idf http client. For now I have only one static method to make post requests and one request type: JsonRequest. Request class definition: class JsonRequest: public HttpRequestInterface { private: std::string url; std::vector<HttpHeade...
by nicollo
Sun Jan 13, 2019 6:00 pm
Forum: ESP IoT Solution
Topic: ESP-IDF: Configure wifi connection over http server
Replies: 7
Views: 23522

Re: ESP-IDF: Configure wifi connection over http server

I guess I found solution:

Code: Select all

static wifi_config_t wifi_config = {};
solves the problem.
by nicollo
Sun Jan 13, 2019 8:01 am
Forum: ESP IoT Solution
Topic: ESP-IDF: Configure wifi connection over http server
Replies: 7
Views: 23522

ESP-IDF: Configure wifi connection over http server

Hi guys! I need for some help :D I'm trying to create an ESP32 application using ESP-IDF framework, and I want to make wifi STA configuration over http server. Device checks if config already setted in flash on startup. If so - it tries to connect to access point, otherwise it run access point and h...