When compiling BLE_server example for Heltec HTIT board, i get the following error (see below)
April 30 Addendum
When using regular espressif software distribution ( by selecting by example MH et LIVE DEV KIT board) there is no error and software is working well)
Kind regards
Daniel
PS: I am using the last commit done 12 days ago
heltec\esp32\libraries\BLE\src\BLEClient.cpp: In member function 'bool BLEClient::connect(BLEAddress)':
heltec\esp32\libraries\BLE\src\BLEClient.cpp:115:2: *error: too many arguments to function 'esp_err_t esp_ble_gattc_open(esp_gatt_if_t, uint8_t, bool)'**
);
^
In file included from heltec\esp32\libraries\BLE\src\BLEClient.cpp:13:0:
heltec\esp32/tools/sdk/include/bluedroid/esp_gattc_api.h:293:11: note: declared here
use of BLE version 0.4.12 in directory: heltec\esp32\libraries\BLE
exit status 1
Erreur de compilation pour la carte WIFI_LoRa_32
Notice in BLEClient.cpp file a change has been made line 113 in the last commit
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
);
Hello
When compiling BLE_server example for Heltec HTIT board, i get the following error (see below)
Kind regards
Daniel
PS: I am using the last commit done 12 days ago
heltec\esp32\libraries\BLE\src\BLEClient.cpp: In member function 'bool BLEClient::connect(BLEAddress)': heltec\esp32\libraries\BLE\src\BLEClient.cpp:115:2: *error: too many arguments to function 'esp_err_t esp_ble_gattc_open(esp_gatt_if_t, uint8_t, bool)'**
);
^ In file included from heltec\esp32\libraries\BLE\src\BLEClient.cpp:13:0:
heltec\esp32/tools/sdk/include/bluedroid/esp_gattc_api.h:293:11: note: declared here
esp_err_t esp_ble_gattc_open(esp_gatt_if_t gattc_if, esp_bd_addr_t remote_bda, bool is_direct);
use of BLE version 0.4.12 in directory: heltec\esp32\libraries\BLE exit status 1 Erreur de compilation pour la carte WIFI_LoRa_32
Notice in BLEClient.cpp file a change has been made line 113 in the last commit
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 );