Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit 6ca12be

Browse files
committed
updated example for changes to protocol
1 parent 76c746c commit 6ca12be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/FirebaseSerialClient/FirebaseSerialClient.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ void setup() {
5656
}
5757
debugPrintLn("Connected to " + network_ssid);
5858

59-
dataPrintLn(String("INIT ") + host + " " + auth);
59+
dataPrintLn(String("BEGIN ") + host + " " + auth);
6060
response = dataReadLn();
6161
if (response != "+OK") {
6262
debugPrintLn("Failed to initalize: " + response);
@@ -100,7 +100,7 @@ void loop() {
100100

101101
} else if (digitalRead(flashButtonPin)) {
102102
debugPrintLn("Flashing LED.");
103-
dataPrintLn(String("GET# /led_flashes"));
103+
dataPrintLn(String("GET: /led_flashes"));
104104
if (dataReadType() == '-') {
105105
debugPrintLn("Error during GET: " + dataReadLn());
106106
}

0 commit comments

Comments
 (0)