summaryrefslogtreecommitdiff
path: root/src/BLEClient.cpp
diff options
context:
space:
mode:
authorNeil Kolban <kolban1@kolban.com>2018-04-03 19:34:25 -0500
committerNeil Kolban <kolban1@kolban.com>2018-04-03 19:34:25 -0500
commitb5d960bacc2c92770a42b4b4565f0e82c797bbc5 (patch)
tree4dfa590a744a7f282698cae709173391ebbe9011 /src/BLEClient.cpp
parentSync for 0.4.9 (diff)
downloadthermostat-b5d960bacc2c92770a42b4b4565f0e82c797bbc5.tar.gz
thermostat-b5d960bacc2c92770a42b4b4565f0e82c797bbc5.tar.bz2
thermostat-b5d960bacc2c92770a42b4b4565f0e82c797bbc5.zip
Commit for 0.4.10
Diffstat (limited to 'src/BLEClient.cpp')
-rw-r--r--src/BLEClient.cpp1
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) {