Search found 7 matches

by dparkinson
Mon Jun 15, 2020 12:36 pm
Forum: General Discussion
Topic: How to deny Connection as AP
Replies: 4
Views: 6610

Re: How to deny Connection as AP

rsimpsonbusa Thanks for the reply. As an experiment, I tried esp_wifi_deauth_sta() for all devices right in my_event_handler() for every device that tried to connect. It still kept crashing. I figured it should have deauth'd the station before traffic was established, but that didn't happen. Perhaps...
by dparkinson
Wed Jun 10, 2020 7:01 pm
Forum: General Discussion
Topic: How to deny Connection as AP
Replies: 4
Views: 6610

Re: How to deny Connection as AP

Did this work for you? I tried to use esp_wifi_deauth_sta() to remove clients that matched a given mac address and ran into 2 major problems. 1. after calling esp_wifi_deauth_sta(), I get an error about 50% of the time and program panics/aborts. It is usually a heap error. it usually occurs when the...
by dparkinson
Mon May 21, 2018 8:42 pm
Forum: Hardware
Topic: About the CAN controller.
Replies: 175
Views: 342797

Re: About the CAN controller.

I got it working now. I'm not exactly sure what the problem was, but here is what I did... I went back and re-ran the basic CAN demo, adding periodic esp_restart(). I saw it worked fine with IDF 3.0. So, I figured it was something in my higher level code that wasn't re-initializing correctly. I adde...
by dparkinson
Mon May 21, 2018 8:41 pm
Forum: Hardware
Topic: CAn controller
Replies: 9
Views: 14198

Re: CAn controller

I got it working now. I'm not exactly sure what the problem was, but here is what I did... I went back and re-ran the basic CAN demo, adding periodic esp_restart(). I saw it worked fine with IDF 3.0. So, I figured it was something in my higher level code that wasn't re-initializing correctly. I adde...
by dparkinson
Fri May 18, 2018 8:04 pm
Forum: Hardware
Topic: About the CAN controller.
Replies: 175
Views: 342797

Re: About the CAN controller.

I am unable to get the CAN_isr to work after an esp_restart(). Anyone else have a similar issue? It was working with the ESP-IDF version 2.1, but does not work with version 3.0. Any ideas on what has changed? The CAN works fine from a power-on start or restart after it programs via JTAG or push-butt...
by dparkinson
Fri May 18, 2018 7:03 pm
Forum: Hardware
Topic: CAn controller
Replies: 9
Views: 14198

Re: CAn controller

After I restart the ESP32 (esp_restart()), the CAN controller interrupt (CAN_isr()) no longer works. I'm using the CAN.c that Thomas Barth made, similar to the one spintec attached in this post. The CAN works fine from a power-on start or reset from external button. Just not from a commanded restart...
by dparkinson
Wed Feb 14, 2018 9:03 pm
Forum: General Discussion
Topic: WiFi stop and restart doesn't allow re-connect
Replies: 0
Views: 3764

WiFi stop and restart doesn't allow re-connect

I need to turn the WiFi on and off based on commands received from other peripheral interfaces. I added some debug function to an existing program to make sure turning the WiFi on/off worked before I worried about commanding it via external peripherals. In this test program, the WiFi starts okay and...