This bridge provides an interface to connect to a host's serial port and forward the data to COSMOS over TCP/IP.
- gem install openc3
- gem install openc3-cosmos-bridge-serial
- Update the next step with your specific serial port settings
- openc3cli bridgegem openc3-cosmos-bridge-serial router_port=2950 write_port_name=COM1 read_port_name=COM1 baud_rate=115200 parity=ODD
You will also need to create a COSMOS plugin that describes your target and connects to the bridge.
The INTERFACE section of your plugin will look something like this:
INTERFACE BRIDGE_INT tcpip_client_interface.rb host.docker.internal 2950 2950 10.0 nil LENGTH [Protocol Specific Parameters]
MAP_TARGET MY_TARGET