diff --git a/6.Ble-Duck-App/Ble-Duck-App/Ble-Duck-App.ino b/6.Ble-Duck-App/Ble-Duck-App/Ble-Duck-App.ino index 5823b56..95712f0 100644 --- a/6.Ble-Duck-App/Ble-Duck-App/Ble-Duck-App.ino +++ b/6.Ble-Duck-App/Ble-Duck-App/Ble-Duck-App.ino @@ -59,7 +59,7 @@ void loop() { if (SerialBT.available()) { String text = SerialBT.readString(); Serial.println(text); - duck.sendData(topics::status, text); + duck.sendData(topics::status, text.c_str()); delay(10); }