As discussed, SIMOC-SAM should use port 8081 by default so that it works with SIMOC-web, which always uses port 8080.
This essentially does 3 things:
1) the aio server is launched on port 8081 by default (in sioserver.py).
2) the Docker commands use port 8081 by default. Before it was inconsistent.
3) the basesensor listens/broadcasts on port 8081 by default.
All 3 main commands from simoc-sam.py (run-server, run-tmux, test) are working.
One issue/question: for 1) above, there's no way to change the port besides changing the hard-coding on line 161. Do we want add a command-line arg for this?
As discussed, SIMOC-SAM should use port 8081 by default so that it works with SIMOC-web, which always uses port 8080.
This essentially does 3 things: 1) the
aio
server is launched on port8081
by default (in sioserver.py). 2) the Docker commands use port8081
by default. Before it was inconsistent. 3) thebasesensor
listens/broadcasts on port8081
by default.All 3 main commands from
simoc-sam.py
(run-server, run-tmux, test) are working.One issue/question: for 1) above, there's no way to change the port besides changing the hard-coding on line 161. Do we want add a command-line arg for this?