-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
@ffissore
Description
Load the following sketch
#include <YunClient.h>
YunClient client;
IPAddress server(192,168,0,10); //change this to match your computer IP address
void setup() {
Serial.begin(9600);
Bridge.begin();
while (!Serial);
Serial.print("Connecting...");
if (client.connect(server, 5555)){
Serial.println("Done!");
} else {
Serial.println("Fail");
while (1);
}
}
void loop() {
if (client.available() > 0){
Serial.write(client.read());
}
}
and start netcat on a your computer with nc -kl 5555
Then repeatedly past the following text
$PSSH,DSS,192117,0,876,,5*6D
$PSSR,QST,ALL*15
$PSSH,STA,ALL,ON,BOTH,LOW,50,CONTINUOUS,10,40,MANUAL,50,1000x512,NONE,0,LEFT,78,91,95,95,95,95,95,95,RIGHT,74,91,98,98,98,99,99,99,0.0*68
After a couple of attempts, the Serial Monitor will start printing garbage.
Report back at http://forum.arduino.cc/index.php?topic=196091.0