Search found 1532 matches

by kolban
Tue Oct 18, 2016 3:26 am
Forum: ESP32 IDF
Topic: [Solved] Meaning of reason codes in system_event_sta_disconnected_t?
Replies: 3
Views: 1876

Re: Meaning of reason codes in system_event_sta_disconnected_t?

Perfect, exactly what I was looking for. For others who may search, here are the code as they are today from the header file: WIFI_REASON_UNSPECIFIED = 1, WIFI_REASON_AUTH_EXPIRE = 2, WIFI_REASON_AUTH_LEAVE = 3, WIFI_REASON_ASSOC_EXPIRE = 4, WIFI_REASON_ASSOC_TOOMANY = 5, WIFI_REASON_NOT_AUTHED = 6,...
by kolban
Tue Oct 18, 2016 1:12 am
Forum: ESP32 IDF
Topic: [Solved] Meaning of reason codes in system_event_sta_disconnected_t?
Replies: 3
Views: 1876

[Solved] Meaning of reason codes in system_event_sta_disconnected_t?

One of the WiFi events that we can receive is SYSTEM_EVENT_STA_DISCONNECT which indicates that the ESP32 has been disconnected from an access point when acting as a station. In the corresponding data type (system_event_sta_disconnected_t) there is a field called "reason" that is an 8 bit f...
by kolban
Mon Oct 17, 2016 4:23 am
Forum: ESP32 IDF
Topic: How to use gpio_isr_register?
Replies: 44
Views: 12536

How to use gpio_isr_register?

Looking at the driver/gpio.h header file, I find a reference to gpio_isr_register() as a method for registering what appears to be an interrupt handler. Unfortunately, I'm not understanding how to properly use it. The first parameter to it is something called a "gpio_intr_num" and I'm not ...
by kolban
Mon Oct 17, 2016 3:16 am
Forum: Hardware
Topic: [Solved] DevKitC - How much current can we source from 5V pin?
Replies: 2
Views: 1723

Re: DevKitC - How much current can we source from 5V pin?

Thank you again for the response. I found the problem with my HC-SR04 connection. The DevKitC getting started guide has a pin labeled GND in the diagram (the pin just north of 5V). However when we look at the actual board (using a magnifying glass), the pin is actually labeled "CMD" and no...
by kolban
Mon Oct 17, 2016 3:13 am
Forum: General Discussion
Topic: esp32 devkitc getting started guide
Replies: 7
Views: 3729

Re: esp32 devkitc getting started guide

Guys,
A second error in the getting started guide. Look at the label of the pin just north of the 5V line on the left. It is labeled "GND". It is not GND but actually CMD.
by kolban
Sun Oct 16, 2016 11:11 pm
Forum: Hardware
Topic: [Solved] DevKitC - How much current can we source from 5V pin?
Replies: 2
Views: 1723

[Solved] DevKitC - How much current can we source from 5V pin?

My electronics skills are low but I think this is a meaningful question. The DevKitC has a 5V output pin which I am presuming is connected to the on-board USB. How much current can I draw from the 5V pin? Back story ... I am attempting to drive an HC-SR04 ultrasonic transmitter/receiver which is a 5...
by kolban
Sun Oct 16, 2016 11:00 pm
Forum: ESP32 IDF
Topic: [Solved] system_get_time() does not appear to tick until after esp_wifi_init() is called
Replies: 2
Views: 1484

[Solved] system_get_time() does not appear to tick until after esp_wifi_init() is called

I was working on some play tests with GPIO and realized that in my tests, I didn't need networking so removed those calls. Now my code was no longer working. As I dug deeper, I found that the return from system_get_time() was now constantly returning 0. This call should return the number of microsec...
by kolban
Sun Oct 16, 2016 7:05 pm
Forum: ESP32 IDF
Topic: Using Eclipse with OpenOCD to build and debug ESP32
Replies: 11
Views: 7177

Re: Using Eclipse with OpenOCD to build and debug ESP32

I'm a complete new joiner to the world of JTAG and OpenOCD. If I understand correctly, you are using some kind of USB dongle that supplied the JTAG interface? Can you share with us what component/part you bought/are using for this task? Ideally if you have an eBay link or other unambiguous descripti...
by kolban
Sun Oct 16, 2016 5:11 pm
Forum: Hardware
Topic: IO_MUX component and function selection - 0 or 1 for the 1st function?
Replies: 0
Views: 797

IO_MUX component and function selection - 0 or 1 for the 1st function?

Small stuff here ... but thought I might raise the question. Am studying the ESP32 Technical Reference dated 2016-09-28 in figure 7 (page 29) and figure 8 (page 31) - we see function select capability set through GPIOx_MCU_SEL as being numbered (as illustrated) starting at 0 with GPIO functions havi...
by kolban
Sun Oct 16, 2016 5:14 am
Forum: ESP32 IDF
Topic: [Solved] Being a WiFi station but not using DHCP ...
Replies: 2
Views: 2300

Re: Being a WiFi station but not using DHCP ...

Many thanks, so the full recipe would be: ⋅  tcpip_adapter_init() ⋅  tcpip_adapter_dhcpc_stop(TCPIP_ADAPTER_IF_STA) ⋅  tcpip_adapter_set_ip_info(TCPIP_ADAPTER_IF_STA, &static_IP_info) ⋅  esp_wifi_init() ⋅  esp_wifi_set_mode() ⋅  esp_wif...

Go to advanced search