Hi experts,
I inadvertently found that, sometimes the lower case AT commands may not be handled in the same way as upper case AT commands on EM7565:
# /etc/scripts/modem-cmd 'at!image?'
error: command failed: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Connection.NoCarrier: No carrier'
TYPE SLOT STATUS LRU FAILURES UNIQUE_ID BUILD_ID
FW 1 GOOD 11 0 0 ?_? 01.08.04.00_?
FW 2 GOOD 12 0 0 ?_? 01.07.02.00_?
FW 3 GOOD 13 0 0 ?_? 01.14.05.00_?
FW 4 GOOD 14 0 0 ?_? 01.09.04.00_?
Max FW images: 4
Active FW image is at slot 4
TYPE SLOT STATUS LRU FAILURES UNIQUE_ID BUILD_ID
PRI FF GOOD 0 0 0 002.047_000 01.14.02.00_ATT
PRI FF GOOD 0 0 0 002.015_000 01.09.04.00_DOCOMO
PRI FF GOOD 0 0 0 002.035_000 01.14.02.00_GENERIC
PRI FF GOOD 0 0 0 002.016_000 01.14.05.00_KT
PRI FF GOOD 0 0 0 002.007_000 01.11.00.00_TELSTRA
PRI FF GOOD
#
#
# /etc/scripts/modem-cmd 'AT!IMAGE?'
response: 'TYPE SLOT STATUS LRU FAILURES UNIQUE_ID BUILD_ID
FW 1 GOOD 11 0 0 ?_? 01.08.04.00_?
FW 2 GOOD 12 0 0 ?_? 01.07.02.00_?
FW 3 GOOD 13 0 0 ?_? 01.14.05.00_?
FW 4 GOOD 14 0 0 ?_? 01.09.04.00_?
Max FW images: 4
Active FW image is at slot 4
TYPE SLOT STATUS LRU FAILURES UNIQUE_ID BUILD_ID
PRI FF GOOD 0 0 0 002.047_000 01.14.02.00_ATT
PRI FF GOOD 0 0 0 002.015_000 01.09.04.00_DOCOMO
PRI FF GOOD 0 0 0 002.035_000 01.14.02.00_GENERIC
PRI FF GOOD 0 0 0 002.016_000 01.14.05.00_KT
PRI FF GOOD 0 0 0 002.007_000 01.11.00.00_TELSTRA
PRI FF GOOD 0 0 0 001.000_000 01.07.02.00_TELUS
PRI FF GOOD 0 0 0 002.003_000 01.14.02.00_TMO
PRI FF GOOD 0 0 0 002.000_000 01.08.04.00_US-CELLULAR
Max PRI images: 50'
#
# /etc/scripts/modem-cmd 'at!image?'
error: command failed: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Connection.NoCarrier: No carrier'
TYPE SLOT STATUS LRU FAILURES UNI
#
# /etc/scripts/modem-cmd 'at!image?'
error: command failed: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Connection.NoCarrier: No carrier'
TYPE SLOT STATUS LRU FAILURES UNIQUE_ID BUILD_ID
FW 1 GOOD 11 0 0 ?_? 01.08.04.00_?
FW 2 GOOD 12 0 0 ?_? 01.07.02.00_?
FW 3 GOOD 13 0 0 ?_? 01.14.05.00_?
FW 4 GOOD 14 0 0 ?_? 01.09.04.00_?
Max FW ima
#
The modem-cmd script I used above simply manipulates mmcli -m X --command=“xxx” to send the AT command.
As you can tell, the ‘at!image?’ command response could be truncated, whereas the ‘AT!IMAGE?’ responses always seem to be complete (Note, there is one more ModemManager error with the lower case AT command).
I am just curious what has brought about such difference?
Thanks a lot!
Harry