Page 1 of 1

Accessing BLE Mesh from Arduino Core

Posted: Thu Feb 14, 2019 9:23 pm
by technosf
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!

Re: Accessing BLE Mesh from Arduino Core

Posted: Fri Feb 15, 2019 4:42 am
by chegewara
Use arduino as component with esp-idf ble mesh branch.

Re: Accessing BLE Mesh from Arduino Core

Posted: Mon Feb 25, 2019 7:17 am
by technosf
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.