Search found 65 matches

by phatpaul
Wed Jun 17, 2020 10:45 pm
Forum: ESP32 IDF
Topic: UART break at first
Replies: 3
Views: 1502

Re: UART break at first

This kind of sucks. Every LIN frame must start with a break. I definitely don't want to introduce a ton of blocking waits for a LIN break. At 19200 baud a 13 bit-time break is 677us. And I need to send lots of LIN frames while also serving HTTP server, BLE, WiFi, ... Is it a hardware limitation that...
by phatpaul
Tue Apr 28, 2020 10:02 pm
Forum: ESP32 IDF
Topic: BLE disconnects after ~5s of inactivity
Replies: 7
Views: 1796

Re: BLE disconnects after ~5s of inactivity

FYI: I found the bugfix at https://github.com/espressif/esp-idf/issues/4903

Shame it took me 4 days to find it.
by phatpaul
Mon Apr 27, 2020 8:01 pm
Forum: ESP32 IDF
Topic: BLE disconnects after ~5s of inactivity
Replies: 7
Views: 1796

Re: BLE disconnects after ~5s of inactivity

I managed to capture the bluetoothd-hci-latest.pklg from iOS 13.4 and opened it in Wireshark. I don't know exactly what I'm looking for, but here's the disconnect event I think: 1527 372.138000 controller host HCI_EVT 7 Rcvd Disconnect Complete Connection Terminated by Local Host I have attached the...
by phatpaul
Fri Apr 24, 2020 9:39 pm
Forum: ESP32 IDF
Topic: BLE disconnects after ~5s of inactivity
Replies: 7
Views: 1796

Re: BLE disconnects after ~5s of inactivity

Update 2: the problem doesn't appear to be that I'm lacking some characteristics in the "Device Information Service", since I added all of them and it still doesn't work on iOS 13.4 and Android 10. Also I looked at several other BLE devices that were nearby and it seems that none of them implement a...
by phatpaul
Fri Apr 24, 2020 7:34 pm
Forum: ESP32 IDF
Topic: BLE disconnects after ~5s of inactivity
Replies: 7
Views: 1796

Re: BLE disconnects after ~5s of inactivity

Update: I narrowed down the problem to the "Device Info" service. To test I just disabled the "Device Info" service entirely on my ESP32 firmware and now my problem is gone. But of course now my App can't query the firmware version etc from my device. Thanks to this post where people are reporting v...
by phatpaul
Fri Apr 24, 2020 5:51 pm
Forum: ESP32 IDF
Topic: BLE disconnects after ~5s of inactivity
Replies: 7
Views: 1796

Re: BLE disconnects after ~5s of inactivity

Thanks for the reply and vote for randdusing BLE plugin. But I'm not convinced that this is an issue with my App (or the Evothings BLE plugin). I loaded the nRF app (free from Nordic Semiconductor) onto an iPhone 8, iOS 13.4.1 which is exhibiting the bug with my ESP32 device. The bug is also present...
by phatpaul
Thu Apr 23, 2020 10:34 pm
Forum: ESP32 IDF
Topic: BLE disconnects after ~5s of inactivity
Replies: 7
Views: 1796

BLE disconnects after ~5s of inactivity

Environment - Development Kit: [none, custom product using wrover module.] - Module or chip used: [ESP32-WROVER 16M] - IDF version: v3.3.1 - Build System: [Legacy GNU Make] - Compiler version: xtensa-esp32-elf-gcc.exe (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a5) 5.2.0 - Operating System: [Window...
by phatpaul
Thu Feb 27, 2020 6:42 pm
Forum: IDEs for ESP-IDF
Topic: FreeRTOS Task Aware Debugger?
Replies: 3
Views: 6312

FreeRTOS Task Aware Debugger?

I like NXP's Task Aware Debugger extension for Eclipse. See https://mcuoneclipse.com/2017/03/18/better-freertos-debugging-in-eclipse/ It is so useful to quickly see tasks and their stack sizes and usage. But I wasn't able to get it to work with ESP32. Is there a way to use it with ESP32, or perhaps ...
by phatpaul
Thu Feb 27, 2020 4:23 pm
Forum: ESP32 IDF
Topic: guidance on storing a hardware version id
Replies: 6
Views: 1103

Re: guidance on storing a hardware version id

I am having trouble debugging with OpenOCD + GDB now. Could it be because I have relocated the app partition from the default 0x10000 to 0x20000?
If so, how do I tell GDB that the partition is moved?

I attached the openocd and GDB debug logs.
by phatpaul
Tue Feb 11, 2020 6:32 pm
Forum: ESP32 IDF
Topic: [Question]: BLE server/peripheral support of multiple concurrent client connections?
Replies: 4
Views: 4325

Re: [Question]: BLE server/peripheral support of multiple concurrent client connections?

I see the example gattc_multi_connect: https://github.com/espressif/esp-idf/tree/master/examples/bluetooth/bluedroid/ble/gattc_multi_connect But that example is for connecting ESP to 3 BLE peripherals. (ESP is the Central/GATT Client) I suspect the implementation would be similar to that example, bu...

Go to advanced search