-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.
14 lines
365 B
Desktop File
14 lines
365 B
Desktop File
[Unit]
|
|
Description=Socat Serial Emulation for smd7
|
|
After=ql-netd.service
|
|
|
|
[Service]
|
|
ExecStart=/usrdata/socat-at-bridge/socat-armel-static -d -d pty,link=/dev/ttyIN2,raw,echo=0 pty,link=/dev/ttyOUT2,raw,echo=1
|
|
# Add a delay to prevent the clients from starting too early
|
|
ExecStartPost=/bin/sleep 2s
|
|
Restart=always
|
|
RestartSec=1s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|