Search found 8 matches

by anthony
Fri Feb 19, 2021 3:25 pm
Forum: ESP-IDF
Topic: howto enable -Werror
Replies: 1
Views: 3263

howto enable -Werror

Hi, I am trying to enable the -Werror flag in the main component so far without success. I tried the steps suggested here: https://docs.espressif.com/projects/esp-idf/en/v4.1/api-guides/build-system.html#component-configuration The flag is applied, but overridden by some other -Wno-error=... flags t...
by anthony
Fri May 29, 2020 9:23 pm
Forum: General Discussion
Topic: ESP32 OTA via BLE
Replies: 25
Views: 50690

Re: ESP32 OTA via BLE

I just measured. It takes me less than 30 sek to OTA update over BLE with MTU 512 and file size around 950kB. Hi, I am quite interested in this. I just did a very basic test, no optimization at all writing to a gatt characteristic that just discards the data and getting about 1kB/s which seems extr...
by anthony
Sun May 03, 2020 1:49 am
Forum: ESP-IDF
Topic: bonding with devices which use random BLE addresses
Replies: 11
Views: 20977

Re: bonding with devices which use random BLE addresses

Hi @rosenrot ,

I haven't had that problem myself. You could try using a nvs size that is a multiple of 4k to see if the problem goes away. I think the recommended minimum is 12k.
by anthony
Thu Apr 30, 2020 10:11 am
Forum: ESP-IDF
Topic: bonding with devices which use random BLE addresses
Replies: 11
Views: 20977

Re: bonding with devices which use random BLE addresses

@ESP_Prasad thanks for your response. I will try that and let you know the results. Edit: I've got it working with your suggestions. The important point was to replace ble_hs_util_ensure_addr(0) with ble_hs_pvcy_rpa_config(1) and then set the key exchange flags correctly. Thank you so much, and than...
by anthony
Sat Apr 25, 2020 8:21 am
Forum: ESP-IDF
Topic: bonding with devices which use random BLE addresses
Replies: 11
Views: 20977

Re: bonding with devices which use random BLE addresses

Hi chegewara,

That seems to describe almost exactly my situation. I think for my use case it should be okay to enable RPA for the device itself, so I'll give that a try. Thanks for the link.

abansal22: I'll the approach above first
by anthony
Fri Apr 24, 2020 12:22 pm
Forum: ESP-IDF
Topic: bonding with devices which use random BLE addresses
Replies: 11
Views: 20977

Re: bonding with devices which use random BLE addresses

Hi abansal22,

I'm using the same version of esp-idf. I think it might just be the Nimble backend.
by anthony
Thu Apr 23, 2020 2:46 pm
Forum: ESP-IDF
Topic: bonding with devices which use random BLE addresses
Replies: 11
Views: 20977

Re: bonding with devices which use random BLE addresses

Hi abansal22, Thanks for your reply. I have tried with several applications. "LightBlue", and a custom application written by someone in our company based on react-native-ble. Can you confirm that you are using the Nimble BLE backend and not bluedroid on ESP32? I did the pairing both automatically, ...
by anthony
Tue Mar 31, 2020 6:48 pm
Forum: ESP-IDF
Topic: bonding with devices which use random BLE addresses
Replies: 11
Views: 20977

bonding with devices which use random BLE addresses

Hi, I am using the WROVER-B dev kit and I'm trying to get my application to bond with various devices. The initial bonding works fine (linux, android, ios). The problem comes when I try to reconnect with ios and android. Android manages to connect fine the second time, but in the logs I can see that...