Search found 14 matches

by PaulELong
Sat Jan 18, 2020 7:09 pm
Forum: ESP-IDF
Topic: Adafruit HUZZAH32 compatible with ESP32 IDF?
Replies: 2
Views: 4955

Re: Adafruit HUZZAH32 compatible with ESP32 IDF?

Thank David, that's great to hear. Suppose the info on their site might be old or incorrect so it's good to see somebody has it working sucessfully.

-Paul
by PaulELong
Fri Jan 17, 2020 5:31 pm
Forum: ESP-IDF
Topic: Adafruit HUZZAH32 compatible with ESP32 IDF?
Replies: 2
Views: 4955

Adafruit HUZZAH32 compatible with ESP32 IDF?

I'm building a project using the ESP32-IDF (not Arduino). It's working on a Hiletgo ESP32S driving an OLED screen and communicating via BLE. The advice on Adafruit's website seems to indicate it's tested for Arduino IDE and says "with a USB interface that lets you quickly use it with the Arduino IDE...
by PaulELong
Thu Jan 09, 2020 11:02 pm
Forum: ESP-IDF
Topic: Bluetooth examples don't build after pulling latest from github
Replies: 1
Views: 3054

Re: Bluetooth examples don't build after pulling latest from github

I fixed the issue wiping out the esp-idf directory by redoing all the steps again. Not sure what happened, but it's working now.
by PaulELong
Thu Jan 09, 2020 6:30 pm
Forum: ESP-IDF
Topic: Bluetooth examples don't build after pulling latest from github
Replies: 1
Views: 3054

Bluetooth examples don't build after pulling latest from github

I'm trying to track down a bug in the ESP code, so first I wanted to see if it's addressed already so I pulled from master. After the pull, I'm no longer able to build my project. I tried building the hello_world from the examples, and that worked. However, the bluedroid/ble examples don't compile a...
by PaulELong
Tue Nov 19, 2019 10:03 pm
Forum: ESP-IDF
Topic: Help debugging ESP32 WROOM with jlink edu mini
Replies: 1
Views: 4190

Re: Help debugging ESP32 WROOM with jlink edu mini

I determined I made a stupid mistake, though debugging with jlink edu mini is not working yet. The first problem is that I had the cable backwards. I picture I found showed it connected incorrectly which I now found is backwards. I see that it connects, but now it's getting timeout errors. I do see ...
by PaulELong
Sun Nov 10, 2019 6:00 pm
Forum: ESP-IDF
Topic: My multiple BLE client connection example rarely succeeds
Replies: 9
Views: 14771

Re: My multiple BLE client connection example rarely succeeds

I'll continue to post progress of my research in case it reveals a clue or helps somebody in the future. I've tracked the disconnect logging back to this stack trace. This is processing a queue, which I think is created for each connection. There is an Event = 5 which is disconnect, 0x4008dcb5: abor...
by PaulELong
Fri Nov 08, 2019 6:25 pm
Forum: ESP-IDF
Topic: Help debugging ESP32 WROOM with jlink edu mini
Replies: 1
Views: 4190

Help debugging ESP32 WROOM with jlink edu mini

I'm trying to setup a debugging, but OpenOCD fails to connect and repeats the warning "Failed to receive data from device: LIBUSB_ERROR_TIMEOUT." Then I see Error: Sending data to device timed out. I'll put the full output below. The steps I remember that I took to get here are: 1. Installed driver ...
by PaulELong
Fri Nov 08, 2019 3:19 pm
Forum: ESP-IDF
Topic: My multiple BLE client connection example rarely succeeds
Replies: 9
Views: 14771

Re: My multiple BLE client connection example rarely succeeds

I still have problems. I can make the gattc_multi_connect.c reproduce my problems more frequently if I comment out the following lines: //esp_log_buffer_hex(GATTC_TAG, scan_result->scan_rst.bda, 6); //ESP_LOGI(GATTC_TAG, "Searched Adv Data Len %d, Scan Response Len %d", scan_result->scan_rst.adv_dat...
by PaulELong
Thu Oct 31, 2019 5:23 pm
Forum: ESP-IDF
Topic: My multiple BLE client connection example rarely succeeds
Replies: 9
Views: 14771

Re: My multiple BLE client connection example rarely succeeds

More info about #2, the messages I see with gattc_multi example are as follows. W (8331) BT_APPL: bta_gattc_conn_cback() - cif=3 connected=0 conn_id=3 reason=0x0008 W (8331) BT_APPL: bta_gattc_conn_cback() - cif=4 connected=0 conn_id=4 reason=0x0008 W (8341) BT_APPL: bta_gattc_conn_cback() - cif=5 c...
by PaulELong
Thu Oct 31, 2019 2:04 pm
Forum: ESP-IDF
Topic: My multiple BLE client connection example rarely succeeds
Replies: 9
Views: 14771

Re: My multiple BLE client connection example rarely succeeds

I've switched to using the gattc_multi_connect.c example per @genedyne's advice. And that example is where the exception occurs. Glad to hear that it's been addressed. If you know of a specific patch, I would appreciate it, but I can also look and try to figure it out. But I also run into my origina...