Huawei 1f1c Need serial mode, not cdc-ether
Posted: 06 May 2017, 12:01
I need to read the sim ICCID of the sim card from the modem. I can do it with one of these commands:
AT+CCID or AT+ICCID
However, I cannot get the modem into serial mode (I never see any /dev/ttyUSBx devices, before or after switching). It seems the command I use to switch from CDROM mode:
usb_modeswitch -v 12d1 -p 1f1c -W -I -M 55534243123456780000000000000011062000000101000100000000000000
switches the modem directly into CDC mode and initialises the cdc-ether device on port eth1.
There is no need to run wvdial (which would have used AT commands ...)
This is a hi speed mode that emulates ethernet, but doesn't allow AT commands to be sent to the modem.
Is there any way I can switch the modem into PPP mode to use AT commands, or any other way known to read the ICCID from the sim card using this specific modem?
I have about 20 of these modems in the field, some is far away cities and I need to get the ICCID's...
AT+CCID or AT+ICCID
However, I cannot get the modem into serial mode (I never see any /dev/ttyUSBx devices, before or after switching). It seems the command I use to switch from CDROM mode:
usb_modeswitch -v 12d1 -p 1f1c -W -I -M 55534243123456780000000000000011062000000101000100000000000000
switches the modem directly into CDC mode and initialises the cdc-ether device on port eth1.
There is no need to run wvdial (which would have used AT commands ...)
This is a hi speed mode that emulates ethernet, but doesn't allow AT commands to be sent to the modem.
Is there any way I can switch the modem into PPP mode to use AT commands, or any other way known to read the ICCID from the sim card using this specific modem?
I have about 20 of these modems in the field, some is far away cities and I need to get the ICCID's...