I need to connect to PuTTy without using a USB connection so that I can log data every second wirelessly
mohit
July 14, 2016, 8:55pm
2
Hello @sammcc117
You can publish an event with the data from your Photon and use the Particle CLI to monitor it. You don’t really need PuTTy to achieve this. All you’ll need is a terminal.
Regards,
mohit
July 14, 2016, 9:00pm
3
I think I misread your need. If you really what to use telnet, here are some posts that will be helpful:
I am using the TCPClient.connected() on 0.4.9 on a Photon almost without problems. I have a TCP server and it reliably discovers a client closing the connection. In that case TCPClient.connected() returns false. So that should work fine, now. @Garrett , can you double check that?
However there seems to be one loop hole left: When I have up to 4 parallel connections everything is great. When the client opens a 5th parallel connection then the following happens: The breathing cyan LED flashes a co…
I’m finding that when I connect to my Spark using putty telnet, I have to hit ENTER on my client before data sent to the server is shown as available. The code below uses ‘1’ to turn on the LED, ‘0’ to turn it off, and ‘q’ to close the session. I verified with Wireshark that the ‘1’ is sent immediately on keypress, and the ENTER (technically CR/LF) sent in the next telnet packet, but the ‘1’ doesn’t make it to my app until the ENTER. I’d like to get the ‘1’ immediately, without requiring the …