Search found 5 matches

by regressor
Tue Oct 04, 2022 7:09 am
Forum: ESP32 Arduino
Topic: ESP32 softAP troubles - can't connect
Replies: 5
Views: 4401

Re: ESP32 softAP troubles - can't connect

My device has two modes: 1. Normal work mode. In this mode device periodical wakes to do measurements and check if collector device available. If collector found (by BLE) device connects to WIFI AP and upload a file to web-server. 2. Setup mode. Device starts WIFI access point (no password), starts ...
by regressor
Sun Oct 02, 2022 4:23 am
Forum: ESP32 Arduino
Topic: ESP32 softAP troubles - can't connect
Replies: 5
Views: 4401

Re: ESP32 softAP troubles - can't connect

Added a delay(20); in loop and this doens't help. Device can connect to other APs fast and reliable (less than 1 second) but its own AP just doesn't work - i can make 30-50 failed connections to get one success :( Also I use BLE and noticed that BLEDevice::init(""); takes 1400 milliseconds after dee...
by regressor
Wed Sep 28, 2022 9:34 am
Forum: ESP32 Arduino
Topic: ESP32 softAP troubles - can't connect
Replies: 5
Views: 4401

ESP32 softAP troubles - can't connect

Hi. I want esp32 to start own access point with fixed IP in setup mode and start web server. So I write a code: void start_board_webserver() { IPAddress local_ip(192, 168, 4, 1); IPAddress subnet(255, 255, 255, 0); WiFi.persistent(false); WiFi.softAPConfig(local_ip, local_ip, subnet, IPAddress(192, ...
by regressor
Sun Aug 14, 2022 3:22 am
Forum: ESP IoT Solution
Topic: A way to fast check if wifi access point is available
Replies: 2
Views: 3104

Re: A way to fast check if wifi access point is available

Thanks! I'll try this. Also I think I found another way: start ble server on collector with large broadcast frequency, so sensor device can periodically do passive ble scan on all 3 channels with very short window and after detecting specific ble server start wifi client and try to connect AP to sen...
by regressor
Sat Aug 13, 2022 1:11 am
Forum: ESP IoT Solution
Topic: A way to fast check if wifi access point is available
Replies: 2
Views: 3104

A way to fast check if wifi access point is available

I'm working on battery-powered (18650, 3.7, 3500mah, xc6220) sensor device based on esp32. This device should capture and record temperature sensors data and then send data to collector IF it available. The collector visit device once a week or even month at a random time. Collector is device (proba...