Clarification on the bluetooth APIs

eliabieri
Posts: 3
Joined: Thu Nov 26, 2015 8:45 pm

Clarification on the bluetooth APIs

Postby eliabieri » Tue Apr 25, 2017 2:24 pm

Hello everyone,
I'am exploring the different bluetooth examples at the moment. Maybe I'm the only one but for me the bluetooth documentation seems quite confusing.

As fas as I know we get these different APIs:
  • esp_vci API
    esp_ble API
    esp_bt_controller API
    esp_bluedroid API
    and maybe some more
The esp_vci API seems very low level to me and is used in the ble_adv example.
The gatt_server example seems to use a more abstract api.

Maybe someone can clarify the differences between these api and their different use cases.
I'd be willing to update the documentation to make it easier for new users to explore the esp32 bluetooth apis.

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Clarification on the bluetooth APIs

Postby kolban » Wed Apr 26, 2017 10:31 pm

While studying BLE, I seem to find that I can get away with:

* esp_ble_gap_*
* esp_ble_gattc_*
* esp_ble_gatts_*

and a couple of black box initialization functions at the start.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Who is online

Users browsing this forum: MicroController, noweare and 161 guests