Sorry,
there is a major change in BLE API.
I'm still working on a solution for that.
GATTC needs ble_addr_type which is not used in Espruino (at least AFAIK)
According to esp-idf examples it appears in an GAP event (ESP_GAP_BLE_SCAN_RESULT_EVT)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Sorry,
there is a major change in BLE API.
I'm still working on a solution for that.
GATTC needs ble_addr_type which is not used in Espruino (at least AFAIK)
According to esp-idf examples it appears in an GAP event (ESP_GAP_BLE_SCAN_RESULT_EVT)
Definition is
Any idea to understand this parameter would be big help