Hi, all,
I use an openWRT router and I am debugging EC25-E modem with AT commands with shell command “socat”.
example of usage:
root@OpenWrt:~# socat - /dev/ttyUSB2,crnl
AT+CFUN=1,1
I get response to my commands but responses are duplicated, many times:
root@OpenWrt:~# socat - /dev/ttyUSB2,crnl
ATI
ATI
Quectel
EC25
Revision: EC25EFAR06A10M4G
OK
ATI
Quectel
EC25
Revision: EC25EFAR06A10M4G
OK
…
Number of duplicates increases exponentially at each session, which is annoying and my impact the interpretation of respones analysing by scripts.
I don’t know if this is related to the modem or to socat command.
I am looking for another solution to send AT commands from OpenWRT shell.
Any ideas?
Thanks,