Using GNU screen for AT commands

Aleksander Morgado aleksander at aleksander.es
Fri Apr 21 21:26:30 UTC 2017


On Fri, Apr 21, 2017 at 10:38 PM, Tim Harvey <tharvey at gateworks.com> wrote:
> That's a useful tool - thanks for the pointer!
>
> I wonder if this perhaps explains what might be happening:
>
> root at ventana:~# ./ModemManager/test/mmtty -d /dev/ttyUSB3 -v --no-flash
> creating AT capable serial port for device 'ttyUSB3'...
> opening serial port...
> (ttyUSB3) opening serial port...
> (ttyUSB3): setting up baudrate: 57600
> (ttyUSB3): port attributes not fully set
> (ttyUSB3) device open count is 1 (open)
> disabling serial port flash...
> ready
>> AT
> (ttyUSB3): --> 'AT<LF><CR>'
> (ttyUSB3): <-- '<CR><LF>ERROR<CR><LF>'
> Got failure code 100: Unknown error
> Unknown error
>> ATI
> (ttyUSB3): --> 'ATI<LF><CR>'
> (ttyUSB3): <-- '<CR><LF>Manufacturer: Sierra Wireless,
> Inc.<CR><LF>Model: MC8790<CR><LF>Revision: K1_0_2_8AP
> C:/WS/FW/K1_0_2_8AP/MSM6290/SRC 2008/09/17 14:00:22<CR><LF>IMEI:
> 352974021856935<CR><LF>IMEI SV: 3<CR><LF>FSN:
> D661380183210<CR><LF>3GPP Release 6<CR><LF>+GCAP:
> +CGSM,+DS,+ES<CR><LF><CR><LF><CR><LF>ERROR<CR><LF>'
> Got failure code 100: Unknown error
> Unknown error

This is really weird, are you always getting a ERROR at the end of the
ATI response when using mmtty? Does the same happen when using
minicom?

-- 
Aleksander
https://aleksander.es


More information about the libqmi-devel mailing list