Closed sighmon closed 5 months ago
Hello @sighmon ,
What version of Sensirion_UPT_Core
do you have installed ?
In 0.3.0
some changes have been made and BLE gadget is not compatible yet.
Q.
@qfisch Thanks for the update. I've got:
Is there a combination that I should be able to build with now? Or wait until BLE gadget is updated?
@sighmon : You can get UPT Core 0.2.0 from the repository as a zip and load it into the Arduino IDE using "Load .Zip library" That should allow you to continue with your project until we update this library
Q.
Hej @sighmon
in the end the changes were already done in code but were never released. I created the version 1.3.0 which include the necessary changes to be compatible with the latest "UPT Core"
Q.
@qfisch I'm still seeing this error when trying to compile with:
0.6.0
0.3.0
v1.3.0
:/Users/simos/Documents/Arduino/libraries/arduino-ble-gadget/src/ByteArray.h:40:10: error: 'string' in namespace 'std' does not name a type
40 | std::string getDataString() {
| ^~~~~~
@qfisch I'm still seeing this error when trying to compile with:
* Sensirion Core `0.6.0` * Sensirion UPT Core `0.3.0` * Sensirion Gadget BLE Arduino Lib `v1.3.0`:
/Users/simos/Documents/Arduino/libraries/arduino-ble-gadget/src/ByteArray.h:40:10: error: 'string' in namespace 'std' does not name a type 40 | std::string getDataString() { | ^~~~~~
Hej @sighmon
Yes this release only solved the dependency issue with UPT Core.
We would need to look further at the usage of string within the lib...
For now adding #include <string>
seems to be a reasonable workaround
Hi there,
I've just bought a Sparkfun ESP32-C6 to use with an Adafruit SCD30.
In the past I've had success building for an Adafruit ESP32-C3, but am running into these errors:
Guessing it was related to: https://github.com/h2zero/NimBLE-Arduino/issues/642
I tried using this branch: https://github.com/h2zero/NimBLE-Arduino/tree/esp32-c6-test
So then I added
#include <string>
toArduino/libraries/Sensirion_Gadget_BLE_Arduino_Lib/src/ByteArray.h