We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7ef532 commit bb100e6Copy full SHA for bb100e6
socket.ino
@@ -102,9 +102,9 @@ void loop() {
102
103
IPAddress clientIP = client.remoteIP();
104
Particle.publish("Remote IP", String(clientIP), 60, PRIVATE);
105
- client.write(byte(129));
106
- client.write(byte(1));
107
- client.write("A");
+ client.write(byte(129)); // tells websockey using Frames
+ client.write(byte(1)); // sending only 1 byte. works up to 125 bytes
+ client.write("A"); // sending the one byte. any Ascii code !
108
if (myUsbSerialDebugOn){
109
Serial.print("A");
110
}
0 commit comments