Accessing BLE Mesh from Arduino Core

technosf
Posts: 16
Joined: Fri Dec 28, 2018 9:55 pm

Accessing BLE Mesh from Arduino Core

Postby technosf » Thu Feb 14, 2019 9:23 pm

I'd love to be able to access the BLE Mesh functionality from my Arduino apps on the ESP32, and I've been thinking about the best way to do that. I'd like to get others thoughts too....

Obviously, the best way would be if Espressif rolled BLE Mesh into arduino-esp32 in the medium to long term, but right now, does it make sense to attempt to roll a ESP-IDF library with a simple publish-subscribe API, with the major BLE connection configurations hardcoded in the library, and importing that as an Arduino library? Perhaps taking one of the BLE Mesh Examples as a starting point?

How would you approach it?

TIA!

chegewara
Posts: 2207
Joined: Wed Jun 14, 2017 9:00 pm

Re: Accessing BLE Mesh from Arduino Core

Postby chegewara » Fri Feb 15, 2019 4:42 am

Use arduino as component with esp-idf ble mesh branch.

technosf
Posts: 16
Joined: Fri Dec 28, 2018 9:55 pm

Re: Accessing BLE Mesh from Arduino Core

Postby technosf » Mon Feb 25, 2019 7:17 am

More specifically, getting access to BLE Mesh, compiling, uploading from arduino.cc

Adding arduino core to idf doesn't help here - I'd like to avoid multiple steps to get the code onto the board after writing it, which dictates merging the mesh libs into arduino core.

Who is online

Users browsing this forum: No registered users and 62 guests