Hi David,

> On 26 Jul 2016, at 2:40 AM, David Grayson <[email protected]> wrote:
> 
> Peter, I think I found your simulator:
> 
> http://www.fracturedsoftware.com/

 yes that is it.

> 
> It looks like you already have a nice GUI.  If you want to add ways
> for other programs to control the simulator, it would make more sense
> to use a TCP socket.

Yes eventually I would like to make the simulator part itself more stand alone, 
particularly to make it easier to have more than one instance, and a TCP socket 
is probably the way to control it.

However what I am after here is a serial port so that regular terminal software 
can interact with the program running ‘on’ the simulator. For instance the 
Arduino IDE comes with an example that makes an Arduino print out an ASCII 
table via the serial port. I would like to run similar code on the simulator 
and display the table in the same way. For that, I think I need a virtual 
serial port.

> 
>> I would like standard serial communication software to be able to talk to my 
>> app.
> 
> There are standard programs for talking to TCP sockets (e.g. telnet).
> The advantage of TCP over serial is that there are a lot of
> standardized, cross-platform APIs for using TCP sockets (e.g. the
> POSIX system calls like bind and listen), it's a much more common way
> for processes to communicate, and you could easily connect to
> simulators running on a different computer.
> 
> —David
> 

<snip>

—

Peter
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/usb/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to