I am trying to monitor the traffic between my Argon and my Raspberry pi to see what type of traffic is going across my network. I am using a laptop running Wireshark V 3.0.4. The laptop is connected to the same wireless router as my Argon.
It is successfully posting data to my Pi, and everything is working fine, the argon does talk to the pi and vice versa, except that I don’t see any of the traffic between the PI and the Argon with wireshark…
The Argon is sending data to the Pi by going to a PHP webpage url on the pi. the code snippit is below
I am a Wireshark newbie, so I am sure I am missing something here.
// https://community.particle.io/t/simple-post-request-to-a-server/23707
TCPClient client;
const char serverHost[] = "192.168.1.100"; // The server the data is being sent to
const int serverPort = 80;
Then later..................
client.println("POST /DBWriteParam.php?" + command +" HTTP/1.1");
client.println("Host: 192.168.1.100");
client.printlnf("Content-Length: %d", command.length());
client.println("Content-Type: text/plain");
client.println();
client.println(command);
client.flush();