Search found 62 matches

by rsimpsonbusa
Tue Jan 21, 2020 6:16 pm
Forum: General Discussion
Topic: APSTA MODE issue
Replies: 3
Views: 391

Re: APSTA MODE issue

Hi @satish. I had the same problem. Solution is to memset(& wifi_config,0, sizeof( wifi_config)) before EACH mode setting, AP and STA. Example memset(& wifi_config,0, sizeof( wifi_config)); // set the wifi_config for AP .... wifi_config.ap.ssid = EXAMPLE_ESP_WIFI_SSID; wifi_config.ap.ssid_len = strl...
by rsimpsonbusa
Sun Jan 19, 2020 8:23 pm
Forum: General Discussion
Topic: How to deny Connection as AP
Replies: 0
Views: 185

How to deny Connection as AP

Hi everybody.

Does anybody know a way to deny a connection to a STA when one is an AP? Event Handler tells one what is happening but one cannot decide to accept or deny an event. Is it posible?

Basically to have a whitelist of MACs and deny connection to AP programatically.

Regards
by rsimpsonbusa
Thu Oct 31, 2019 10:21 pm
Forum: General Discussion
Topic: ESP-MQTT Event Handler Failure
Replies: 8
Views: 1454

Re: ESP-MQTT Event Handler Failure

Thanks, I dont know how to active the MQTT_SUPPORTED_FEATURE_TRANSPORT_ERR_REPORTING feature. Just #define MQTT_SUPPORTED_FEATURE_TRANSPORT_ERR_REPORTING 1 or how?

Heap is stable around 205000 during connect-send-disconnect cycle.

Regards.
by rsimpsonbusa
Wed Oct 30, 2019 2:06 am
Forum: General Discussion
Topic: ESP-MQTT Event Handler Failure
Replies: 8
Views: 1454

Re: ESP-MQTT Event Handler Failure

Yes I did see that eventually. Sorry. Yet, the system fails ALWAYS after some time. The system eventually collapses giving the error "Error create mqtt task" or 'Transport Error" or "Tcp read poll" in certain sequence. I have made many programming variations and still I get to this points eventually...
by rsimpsonbusa
Sat Oct 26, 2019 5:28 pm
Forum: General Discussion
Topic: ESP-MQTT Event Handler Failure
Replies: 8
Views: 1454

Re: ESP-MQTT Event Handler Failure

Hi ESP-Marius I found what appears to be a Task leak, not a memory one. As I explained, I will be Starting-Sending-Stopping A LOT. The test is like every 5 seconds. Should be no problem. I left the project running all night and a monitor with logging capabilities to record any problem. Several print...
by rsimpsonbusa
Thu Oct 24, 2019 12:14 am
Forum: General Discussion
Topic: ESP-MQTT Event Handler Failure
Replies: 8
Views: 1454

Re: ESP-MQTT Event Handler Failure

Hi ESP-Marius YES I just read this a couple of hours ago. QOS 0 is fire and FORGET :lol: About the STOP I thought this was the case but its not "fully" documented what it means. When you START you get a CONNECT(actually a PRECONNECT as you state here) and it seemed that the STOP will give u a DISCON...
by rsimpsonbusa
Mon Oct 21, 2019 12:00 am
Forum: General Discussion
Topic: ESP-MQTT Event Handler Failure
Replies: 8
Views: 1454

ESP-MQTT Event Handler Failure

Hi everybody. Long time. Subject: ESP-MQTT and mqtt_event_handler. Using espidf version 3.3 downloaded 1 hour ago, using example of wifi/getting-started and added the esp-mqtt example emitter-client for mqtt handling, broker is Cloudmqtt. Local wifi connects and then I starts a cycle(about 10-15 sec...
by rsimpsonbusa
Thu Dec 20, 2018 12:15 am
Forum: General Discussion
Topic: Hybrid NiHM cells as battery source with tons of Amps
Replies: 4
Views: 1261

Re: Hybrid NiHM cells as battery source with tons of Amps

@ G6EJD-ESP32 thanks. I used an LM2576 and it works fine.

Regards.
by rsimpsonbusa
Fri Dec 14, 2018 9:37 pm
Forum: General Discussion
Topic: Hybrid NiHM cells as battery source with tons of Amps
Replies: 4
Views: 1261

Hybrid NiHM cells as battery source with tons of Amps

Hi Everybody. My Toyota Highlander hybrid battery had to be replaced( :shock: $4000) so I kept the batteries. I tried to use one cell(voltage 10.6DC read with multimeter) as a source for a ESP8266, before killing my ESP32s, via an LDO, (AMS117) but they get fried after 10 secs or so. I was daring en...
by rsimpsonbusa
Wed Dec 12, 2018 1:20 am
Forum: General Discussion
Topic: WiFi bottleneck as APSTA when STA can not connected
Replies: 2
Views: 867

Re: WiFi bottleneck as APSTA when STA can not connected

Hi WiFive. Did try that, no such luck. It really eats up the WiFi logic. The CPU seems ok, its not a busy loop or similar. What I ended up doing is creating a sort of independent process for the STA and the AP. Do the AP part as usual, ei, ESP_ERROR_CHECK(esp_wifi_set_config(ESP_IF_WIFI_AP, &configa...

Go to advanced search