There are several worthy alternatives in the windows (mostly paid) that allow you to monitor communication over the serial port. OSX has many terminal applications that allow you to talk to serial devices, but I have not found a mechanism to monitor communications through the serial port.
Specific use case: I have a USB serial device that lives on /dev/tty.usbmodem99999
I wrote an integration test that runs several commands (successfully).
However, when you run the command again, the device does not respond. I have confirmed (and also can) that the device is in order. It works on other platforms, as expected. However, in OSX, I can restart the tests after rebooting the device (power cycle).
My theory is that my code does not release the device properly, but it is difficult to confirm when I cannot see the connection between my device and my application.
This application: " http://www.aggsoft.com/serial-port-monitor.htm " has a "spy" function that I could not find on OSX. I experimented with "serial tools" in osx, but it doesnβt look like it performs spy operations on one port, in which case it looks like a transition between two devices, not monitoring on a port.
Any thoughts were greatly appreciated.
Serial Library Used
: https://github.com/jacobsa/go-serial
source share