WiFi Virtual Serial Port?

Newbee here so be please be gentle …

Perhaps it’s an old school tendency but I lean toward console interfaces get things done quickly. I’m just getting started with my new Photon and have expanded on some of the code examples using the USB virtual serial port with a terminal emulator on my MacBook.

In order to cut the USB cord from my laptop, has anyone developed a simple wireless console-like interface method? Something similar to a “WiFi Virtual Serial Port”?? Perhaps the implementation could use a browser interface on the laptop?

Thanks!

If you can live with a resolution of 1p/s, check out Server Sent Events. Also known as Particle.publish(). You should be able to see those using the dashboard. Have a look, and let us know if that works for you.

Thanks Moors7. I tried the publish() function and see it works, but I was thinking of something a bit more console-ish. I discovered that the Linux utility netcat (nc) on my Mac has a terminal-like capability and was able to send/receive UDP packets.

Looks like everything I need is already built-in to Photon.

This is gonna be a fun gadget to play/work with!

The SSE can also be seen in the console, if that’s what you’re interested in. With the Particle CLI, you can do a particle subscribe mine which will show you all events from your devices.

I don’t know can it exactly help but you can try an additional utility like this one https://www.eltima.com/products/serial-over-ethernet/ or https://www.flexihub.com/ and create virtual COM ports on PC. But as I know it supports only Windows so you can use any type of a virtual machine.