Update nimble to 1.4 (#1600)

* Update nimble version

* Back down a version

* Nimble 1.4

* Change log level of Nimble. Too chatty

* Log level

* Log level of 1 (error)
This commit is contained in:
Ben Meadors
2022-08-06 14:16:11 -05:00
committed by GitHub
parent 00846439d0
commit 1c8e64319c
3 changed files with 5 additions and 4 deletions

View File

@@ -62,9 +62,9 @@ PhoneAPI *bluetoothPhoneAPI;
class ESP32BluetoothToRadioCallback : public NimBLECharacteristicCallbacks {
virtual void onWrite(NimBLECharacteristic *pCharacteristic) {
DEBUG_MSG("To Radio onwrite\n");
auto valueString = pCharacteristic->getValue();
auto val = pCharacteristic->getValue();
bluetoothPhoneAPI->handleToRadio(reinterpret_cast<const uint8_t*>(&valueString[0]), pCharacteristic->getDataLength());
bluetoothPhoneAPI->handleToRadio(val.data(), val.length());
}
};

View File

@@ -103,3 +103,4 @@
#endif
#define SERIAL0_RX_GPIO 3 // Always GPIO3 on ESP32