BLE Library for UNO R4 WiFi

Are there any compatible BLE libraries for the UNO R4 WiFi?
Or working examples?

I was also wondering if there is any more additional information about support for BLE on these boards?

Datasheets: One of the first things I wanted to do was to download the datasheets for the two processors. So I went to main datasheet and tried clicking on the links, like:


Clicking on this failed: http://localhost:8123/resources/datasheets/esp32-s3-mini.pdf
Note same issue for main processor as well.
I did other searches and downloaded pdfs for these two processors. Not sure if the same, but probably sufficient.

Cheat Sheet:

The Wifi section mentions using the library WiFiS3, which I have tried a few of the examples and they work. Also this gives me some source to look at, which at least implies that communication between the two boards is done using Serial2

The Bluetooth section does not mention any library, nor any examples, or any other hints other than maybe speeds up to 2mhz...

Programming the ESP32... there are some instructions on this. However it does include the disclaimer.

How does one restore the default firmware? Is there a link to an image file? Sources? Is it some standard image from ESP? If so maybe that is a hint on where to look for ideas on what might be necessary to get BLE to work.

Sorry I know that this is as set of random questions/comments. Also was not sure if I should have maybe started this as a new thread. But any hints would be great!

Thanks
Kurt

Hi @flynace and @KurtE. You might be interested to see that there is work in progress now to add support for the UNO R4 WiFi board to the "ArduinoBLE" library:

As for your other questions, I don't know much, but you asked for "hints", so I'll add some random observations:

I know that work is in progress now to add support for updating the firmware on the WiFi module of the the UNO R4 WiFi board using the "Arduino Firmware Uploader" tool (which, in addition to being a standalone command line tool, provides the functionality for the Arduino IDE 2.x "WiFi101 / WiFiNINA Firmware Updater" feature under the hood):

I see a binary is added to the repository by arduino/arduino-fwuploader#172:

https://github.com/MatteoPologruto/arduino-fwuploader/tree/add-uno-r4-wifi/firmwares/ESP32-S3/1.1.0

Maybe it is this (which is a submodule of the arduino/ArduinoCore-renesas repository)?:

Note that the "WiFiS3" library contains symlink to a header from that project:

2 Likes

@ptillisch Thanks, looks promising.

I learned about some of this on a new posting to the thread: Bluetooth LE on UNO R4 WiFi - UNO R4 / UNO R4 WiFi - Arduino Forum

Will probably wait until a few of these PRs are pulled in.

Thanks again
Kurt

Thank you for the update @ptillisch - exciting progress.

Can't wait to play with BLE on the R4.

I read somewhere that early access was only with the Minima and people only got their hands on the R4 WiFi a few days before launch so I can imagine it will a lot of time and effort to get everything working on these amazing boards.

Everything is now in place for us to invite the community to test out the ArduinoBLE library on the UNO R4 WiFi board. I provided instructions here:

you asked about factory reset.....this is the factory firmware link and instructions I had to manual flash mine.. I got my info from arduino tech support

"Update the connectivity module firmware on UNO R4 WiFi – Arduino Help Center"

"https://support.arduino.cc/hc/en-us/articles/9670986058780-Update-the-connectivity-module-firmware-on-UNO-R4-WiFi"

A post was split to a new topic: How to start BLE transmission on UNO R4 WiFi so that it can be detected by BLE Scanner mobile app?