Search found 13 matches

by vk3drb
Tue Sep 13, 2022 5:43 am
Forum: ESP32 Arduino
Topic: ESP32 ESP32C3 board newer than 2.0.0 has BLE bug, but 2.0.0 is OK.
Replies: 10
Views: 5262

Re: ESP32 ESP32C3 board newer than 2.0.0 has BLE bug, but 2.0.0 is OK.

Hi Chegewara, THANK YOU!!!!! :D It fixed the problem. Effectively I just removed the deinit and init; and added the esp_ble_gap_set_device_name and it works fine. Obviously between 2.0.0 and 2.0.4 something had changed. It now runs 2.0.4 nicely. Whilst doing this fix earlier, your code did not initi...
by vk3drb
Mon Sep 12, 2022 5:54 am
Forum: ESP32 Arduino
Topic: ESP32 ESP32C3 board newer than 2.0.0 has BLE bug, but 2.0.0 is OK.
Replies: 10
Views: 5262

Re: ESP32 ESP32C3 board newer than 2.0.0 has BLE bug, but 2.0.0 is OK.

Hi Chegewara,

Were you able to reproduce this re-advertising issue?

Please test the relevant part of the code, or at least advise what are the two workarounds for this issue.

regards,
David
by vk3drb
Thu Sep 08, 2022 4:47 am
Forum: ESP32 Arduino
Topic: ESP32 ESP32C3 board newer than 2.0.0 has BLE bug, but 2.0.0 is OK.
Replies: 10
Views: 5262

Re: ESP32 ESP32C3 board newer than 2.0.0 has BLE bug, but 2.0.0 is OK.

Hi Chegewara. How are you going with reproducing the advertising bug? There is another reason I want to get this issue sorted out. I am using the same re-advertising technique on a another program which used the ESP32-C3. That program talks to a 128 x 64 OLED and other I/O devices. I found with ESP3...
by vk3drb
Mon Sep 05, 2022 1:44 am
Forum: ESP32 Arduino
Topic: ESP32 ESP32C3 board newer than 2.0.0 has BLE bug, but 2.0.0 is OK.
Replies: 10
Views: 5262

Re: ESP32 ESP32C3 board newer than 2.0.0 has BLE bug, but 2.0.0 is OK.

Hi. Thank you! If you do that, and you ever visit Melbourne (Australia), I will shout you lunch and free beer. It will be interesting to see how to get around this issue. It may also help others who might come across a similar issue.
by vk3drb
Mon Sep 05, 2022 12:21 am
Forum: ESP32 Arduino
Topic: ESP32 ESP32C3 board newer than 2.0.0 has BLE bug, but 2.0.0 is OK.
Replies: 10
Views: 5262

Re: ESP32 ESP32C3 board newer than 2.0.0 has BLE bug, but 2.0.0 is OK.

Hi. I tried several things. I replaced esp_ble_gap_set_device_name(advertText); it did not fix the problem. Advertising did not restart. I also added a 20ms delay between each line of code in that advertising code - no difference. I don't think timing delays is the issue. However, you may have hit o...
by vk3drb
Fri Sep 02, 2022 2:07 pm
Forum: ESP32 Arduino
Topic: ESP32 ESP32C3 board newer than 2.0.0 has BLE bug, but 2.0.0 is OK.
Replies: 10
Views: 5262

Re: ESP32 ESP32C3 board newer than 2.0.0 has BLE bug, but 2.0.0 is OK.

Hi Chegewara. Line 59 to 65 at setup is repeated on lines 110 to 116 in the loop, but on line 108 we de-init the device. So isn't that effectively re-advertising? And it does not explain by 2.0.0 of the ESP32 board driver works fine and newer versions all fail with the same code. There will be one o...
by vk3drb
Fri Sep 02, 2022 5:26 am
Forum: ESP32 Arduino
Topic: ESP32 ESP32C3 board newer than 2.0.0 has BLE bug, but 2.0.0 is OK.
Replies: 10
Views: 5262

ESP32 ESP32C3 board newer than 2.0.0 has BLE bug, but 2.0.0 is OK.

Hi. I have a weird problem with BLE. If anyone can help, it would be greatly appreciated. The issues is ONLY found on any Arduino ESP32 board drivers newer than Version 2.0.0, but 2.0.0 works perfectly. So, the latest 2.0.4 shows the bug. Is there a coding workaround? My unique application sends a t...
by vk3drb
Sun Oct 24, 2021 12:38 pm
Forum: ESP32 Arduino
Topic: Will the SSD1306 driver work with ESP32-C3?
Replies: 2
Views: 3039

Re: Will the SSD1306 driver work with ESP32-C3?

No worries, that is good info. I sort of expected so, because really there is nothing related to the CPU variant, as at the lowest level is just I2C comms.

Thanks!

- Dave
by vk3drb
Sun Oct 24, 2021 12:11 pm
Forum: ESP32 Arduino
Topic: Will the SSD1306 driver work with ESP32-C3?
Replies: 2
Views: 3039

Will the SSD1306 driver work with ESP32-C3?

Hi. I want to use a 128 x 64 OLED with I2C, on an ESP32-C3 using Arduino. I ordered a few OLED displays, but they won't be here for a week or two, and I need to know fairly urgently. That is, will the standard SSD1306 driver work on the ESP32-C3 in the Arduino IDE? Has anyone done this, or at least ...
by vk3drb
Sat Oct 23, 2021 10:38 am
Forum: ESP32 Arduino
Topic: ESP32-C3 BLE Arduino compile problem
Replies: 5
Views: 7545

Re: ESP32-C3 BLE Arduino compile problem

Gents, I have just spent the past 3 days (12 hour days) reading everything I could about BLE. Last Bluetooth project was a Bluegiga (now Silicon Labs) classic bluetooth device I did coding for about 7 years ago, so I was rusty. Today I built a BLE tester using a Raspberry Pi and GATTTOOLs under Linu...