Hey @jcolebaker
Thanks for reporting the issue. We have added a fix for the BLE connection issue in the `release/v4.2` branch of ESP-IDF. Can you please pull the latest code on that branch, update the submodules (git submodule update --init --recursive) and give it a try. It should work fine.
Search found 16 matches
- Fri May 21, 2021 1:35 pm
- Forum: ESP-IDF
- Topic: Nimble BLE Not Working In ESP-IDF V4.2
- Replies: 3
- Views: 5113
- Tue Feb 23, 2021 8:24 am
- Forum: ESP-IDF
- Topic: NimBLE memory leak?
- Replies: 10
- Views: 13127
Re: NimBLE memory leak?
@davdav It is working without any change in v4.2 release, no leak. So, ideally, there are no changes required at your side in the SDK. In my first reply, where I confirmed it was an issue, I had tested it with IDF master (which has a different esp-nimble branch: nimble-1.3.0-idf). So, the issue is s...
- Mon Feb 22, 2021 5:27 pm
- Forum: ESP-IDF
- Topic: NimBLE memory leak?
- Replies: 10
- Views: 13127
Re: NimBLE memory leak?
The same works fine on v4.2 release as well (ESP-IDF Github head: c40f2590bf759ff60ef122afa79b4ec04e7633d2 esp-nimble head: 95bd8644abf4a410dd3fb914468d3a23ac9bbec2 nimble-1.2.0-idf branch) Logs: I (30) boot: ESP-IDF v4.2 2nd stage bootloader I (30) boot: compile time 22:39:39 I (30) boot: chip revi...
- Mon Feb 22, 2021 4:31 pm
- Forum: ESP-IDF
- Topic: NimBLE memory leak?
- Replies: 10
- Views: 13127
Re: NimBLE memory leak?
@davdav Sorry for missing this in the first place. I just tried it with latest `release/v4.2` branch (ESP-IDF Github with NimBLE submodule head ba72e37ac40c13b66ad49c3178c0dbc9588add61 from `nimble-1.2.0-idf` branch ) and I am not able to see any issue with your code. Below is a snapshot of the logs...
- Mon Feb 22, 2021 1:10 pm
- Forum: ESP-IDF
- Topic: NimBLE memory leak?
- Replies: 10
- Views: 13127
Re: NimBLE memory leak?
@davdav You don't need to file an issue. It is now tracked internally. Quick fix: Can you please add the following line (in green) below ble_npl_callout_stop in the file esp-idf/components/bt/host/nimble/nimble/nimble/host/src/ble_hs_stop.c: ble_npl_callout_stop(&ble_hs_stop_terminate_tmo); ble_npl_...
- Fri Feb 19, 2021 6:33 am
- Forum: ESP-IDF
- Topic: NimBLE memory leak?
- Replies: 10
- Views: 13127
Re: NimBLE memory leak?
@davdav Thank you for reporting the issue and for providing a simplistic code to recreate the same. Yes, this looks like a problem. Just to give you some background, the NimBLE upstream does not yet have the stop/deinit support integrated. We have added this functionality to our port (esp-nimble). W...
- Fri Jan 24, 2020 6:15 am
- Forum: ESP-IDF
- Topic: Will BLE provisioning with the NimBLE stack be supported in ESP-IDF 3.3?
- Replies: 4
- Views: 6823
Re: Will BLE provisioning with the NimBLE stack be supported in ESP-IDF 3.3?
Hi, Unfortunately, no. There are no plans to support BLE provisioning with NimBLE in v3.3. Although, now that v4.0-rc has been released a couple of days back (and v4.0 should be out in the next few days), you can considering moving to it. This way, you would be able to use NimBLE in unified BLE prov...
- Fri Nov 08, 2019 4:53 am
- Forum: ESP-IDF
- Topic: Persist Bonding Information with nimBLE
- Replies: 14
- Views: 22182
Re: Persist Bonding Information with nimBLE
Hi @IanWhitehead, Persistent bonding is supported in ESP-IDF for NimBLE host. Can you please enable bonding in the example configuration options `make menuconfig -> Example Configuration -> Use Bonding` which is disabled by default. Please give it a try and let us know if it helps. I just tested thi...
- Fri Jun 14, 2019 5:42 am
- Forum: ESP-ADF
- Topic: device configuration for google_dialogflow example
- Replies: 4
- Views: 9798
Re: device configuration for google_dialogflow example
These commands need to be entered on ESP32 console. You can flash the dialogflow firmware and boot-up the board.
After that on the console, you can enter these NVS commands followed by the Wi-Fi commands.
After that on the console, you can enter these NVS commands followed by the Wi-Fi commands.
- Wed Mar 20, 2019 3:49 am
- Forum: ESP-IDF
- Topic: NimBLE support in ESP-IDF
- Replies: 0
- Views: 7271
NimBLE support in ESP-IDF
ESP-IDF now supports Apache Mynewt NimBLE host stack which is specifically ported for ESP32 platform and FreeRTOS. NimBLE is an open-source Bluetooth Low Energy (BLE) or Bluetooth Smart stack (both host and controller) fully compliant with Bluetooth 5 specifications and with support for BLE Mesh. Mo...