diff options
Diffstat (limited to 'src/BLEClient.cpp')
-rw-r--r-- | src/BLEClient.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/BLEClient.cpp b/src/BLEClient.cpp index 55af054..57ff4d2 100644 --- a/src/BLEClient.cpp +++ b/src/BLEClient.cpp @@ -110,6 +110,7 @@ bool BLEClient::connect(BLEAddress address) { errRc = ::esp_ble_gattc_open( getGattcIf(), *getPeerAddress().getNative(), // address + BLE_ADDR_TYPE_PUBLIC, // Note: This was added on 2018-04-03 when the latest ESP-IDF was detected to have changed the signature. 1 // direct connection ); if (errRc != ESP_OK) { |