On Thu, 9 Nov 2017 13:11:25 -0500, M Pitman
<
mpitm...@gmail.com> declaimed the
following:
At the level of your description, the use of BBB is irrelevant. ANY two
computers with a communication channel could be used.
Is the "commands" a limited list, or can it be anything (ie; are you
talking about sending shell commands, or something more like options from a
menu)?
For the second... Plug a short cross-over cable into the ethernet jacks
(or expand the housing to include a small 4-port switch so you can connect
an external device to the system), Run a web-server on the "second", and
have the controlling system make http requests encoding the command and any
needed options, return any file as properly MIME encoded response contents.
If ad-hoc commands to a shell... Python pexpect on the controller to a
SSH connection on the slave, along with (s)ftp server running on the slave
(so when the SSH session indicates the command is complete and data is
ready, an FTP connection can be made to retrieve the file... Depends on the
file contents -- if pure text, you could just "cat" it to the console/SSH
connection and have the controller copy everything to a local file until
the EOF.
Somewhere in-between? I suppose one could try to port the Arduino
Firmata library to Linux C++...
--
Wulfraed Dennis Lee Bieber AF6VN
wlf...@ix.netcom.com HTTP://wlfraed.home.netcom.com/