Hi Everyone,
I used to use a socat command: socat /dev/modem_cmd TCP4-LISTEN:2332,fork
This used to let me send AT commands directly to the internal module using a TCP connection on port 2332. This is working fine on FW: RUT9XX_R_00.06.08.6 and lower.
But something has changed in the new firmware: RUT9_R_00.07.00.0 and above does not let me do this. I get the following error:
root@Teltonika-RUT955:~# socat /dev/modem_cmd,raw TCP4-LISTEN:2332,fork
2022/01/14 06:30:15 socat[11261] E tcgetattr(5, 0x43867c): Not a tty
I inspected internally and modem_cmd is now a block device type and not character type. Earlier, modem_cmd was associated with a tty interface (usually ttyUSB3).
Can anyone shed some light on how this can be resolved?
Regards!