Files
quectel-rgmii-toolkit/socat-at-bridge/systemd_units/socat-smd7-from-ttyIN2.service
iamromulan 127db81532 Major at-socat-bridge update
-Now uses both smd11 and smd7 for separate AT streams
-smd11 is linked to ttyOUT
-smd7 is linked to ttyOUT2

ttyOUT is intended for automated AT commands (for parse scripts, etc)

ttyOUT2 is intended for manual user initiated AT commands; the new atcmd bin is now linked to /bin as well for utilization of ttyOUT2 by shell. Just type the command atcmd to run it.

Separating these streams will improve responsiveness and help the progress of more development.
2024-03-16 17:49:52 -04:00

15 lines
299 B
Desktop File

[Unit]
Description=Read from /dev/ttyIN2 and write to smd7
BindsTo=socat-smd7.service
After=socat-smd7.service
[Service]
ExecStart=/bin/bash -c "/bin/cat /dev/ttyIN2 > /dev/smd7"
ExecStartPost=/bin/sleep 2s
StandardInput=tty-force
Restart=always
RestartSec=1s
[Install]
WantedBy=multi-user.target