Search found 2238 matches

by chegewara
Tue Dec 03, 2019 5:06 am
Forum: ESP32 Arduino
Topic: analog sensor value to web server school project need help please!
Replies: 2
Views: 4747

Re: analog sensor value to web server school project need help please!

Where is the school that 8 yo kids are building such complicated projects? Try to move this code from handle_OnConnect to loop: float temp = dht.readTemperature(true); float humid = dht.readHumidity(); soilVal = analogRead(soilSensor); int soil = map(soilVal, 3350, 1500, 0, 100); //soil = constrain(...
by chegewara
Sun Dec 01, 2019 2:27 am
Forum: ESP32 Arduino
Topic: Porting ESP-Arduino libraries and projects to ESP-IDF?
Replies: 4
Views: 5416

Re: Porting ESP-Arduino libraries and projects to ESP-IDF?

Did you try arduino as component?
by chegewara
Fri Nov 29, 2019 1:31 pm
Forum: ESP-IDF
Topic: Some questions about ESP32...
Replies: 5
Views: 4759

Re: Some questions about ESP32...

4. maybe this one https://github.com/espressif/esp-idf/tree/master/examples/system/console 2. try this https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/kconfig.html#using-sdkconfig-defaults you can create file with default values for your project, then `make defconfig` will do the...
by chegewara
Thu Nov 28, 2019 11:55 am
Forum: ESP-IDF
Topic: How to erase the application directly from... itself?
Replies: 7
Views: 10360

Re: How to erase the application directly from... itself?

Maybe its some misunderstanding here, what exactly "factory reset" means? Is it reset to state esp32 module is leaving factory or your device is leaving factory and is sent to client?
by chegewara
Thu Nov 28, 2019 11:51 am
Forum: General Discussion
Topic: gatt client to write data with two chracteristic uuid based on one service
Replies: 1
Views: 1996

Re: gatt client to write data with two chracteristic uuid based on one service

When you discover GATT attributes you get all attributes with corresponding handles. Use handles to read/write characteristics.
by chegewara
Thu Nov 28, 2019 11:47 am
Forum: ESP-IDF
Topic: BLE Advertising Crash
Replies: 2
Views: 3341

Re: BLE Advertising Crash

And how exactly you re-init BLE, full procedure?
by chegewara
Tue Nov 26, 2019 3:52 pm
Forum: ESP-IDF
Topic: SHA-256 for running partition all zero?
Replies: 12
Views: 14505

Re: SHA-256 for running partition all zero?

Few months ago ive been doing OTA over BLE example and sha has been working with master (it was v4.0), but now i am trying to do the same with PlatformIO esp-idf framework and this is what i found: [0;32mI (440) cpu_start: Application information:␛[0m ␛[0;32mI (445) cpu_start: Project name: platform...
by chegewara
Mon Nov 25, 2019 4:32 pm
Forum: ESP32 Arduino
Topic: Two way communication between two ESP32 for a remote control device
Replies: 1
Views: 3401

Re: Two way communication between two ESP32 for a remote control device

I cant say about classic bt or esp-now, but with BLE you can have at best 6-10ms delay.
There is also wifi LR mode.
https://docs.espressif.com/projects/esp ... g-range-lr