can't set PIN code on a MC7430
Christophe Ronco
c.ronco-externe at kerlink.fr
Tue Dec 20 16:00:14 UTC 2016
Hello,
I am trying to manage a MC7430 modem using libqmi.
After a kernel upgrade, I am now able to send basic commands to my
modem. Example:
qmicli -d /dev/cdc-wdm0 --dms-get-ids
[/dev/cdc-wdm0] Device IDs retrieved:
ESN: '0'
IMEI: '359074060071935'
MEID: '35907406007193'
I use libqmi version 1.16.2.
I am not able to send PIN code to modem. I tried the following commands:
root at klk-lpbs_040070:~ # qmicli -d /dev/cdc-wdm0
--dms-uim-verify-pin=PIN,0000
error: couldn't verify PIN: QMI protocol error (71): 'InvalidQmiCommand'
root at klk-lpbs_040070:~ # qmicli -d /dev/cdc-wdm0 --uim-verify-pin=PIN1,0000
error: couldn't verify PIN: QMI protocol error (3): 'Internal'
[/dev/cdc-wdm0] Retries left:
Verify: 0
Unblock: 0
I also tried the following commands to get PIN status:
root at klk-lpbs_040070:~ # qmicli -d /dev/cdc-wdm0 --dms-uim-get-pin-status
error: couldn't get PIN status: QMI protocol error (71): 'InvalidQmiCommand'
root at klk-lpbs_040070:~ # qmicli -d /dev/cdc-wdm0 --uim-get-card-status
[/dev/cdc-wdm0] Successfully got card status
Provisioning applications:
Primary GW: slot '0', application '0'
Primary 1X: session doesn't exist
Secondary GW: session doesn't exist
Secondary 1X: session doesn't exist
Card [0]:
Card state: 'present'
UPIN state: 'not-initialized'
UPIN retries: '0'
UPUK retries: '0'
Application [0]:
Application type: 'sim (1)'
Application state: 'pin1-or-upin-pin-required'
Application ID:
Personalization state: 'unknown'
UPIN replaces PIN1: 'no'
PIN1 state: 'enabled-not-verified'
PIN1 retries: '3'
PUK1 retries: '10'
PIN2 state: 'enabled-not-verified'
PIN2 retries: '3'
PUK2 retries: '10'
Card [1]:
Card state: 'absent'
UPIN state: 'not-initialized'
UPIN retries: '0'
UPUK retries: '0'
So with --uim-get-card-status, I am able to get PIN status but I don't
know how to set PIN.
Does anyone have done that on a MC7430? Or an idea of what I did wrong?
PS: this modem also has an AT channel, I am able to set PIn using
AT+CPIN=0000.
Best Regards,
Christophe Ronco
More information about the libqmi-devel
mailing list