beautypg.com

Westermo GD-01 User Manual

Page 37

background image

37

6196-2220

+CPINC – PIN remaining attempt number

Description:

This specific command is used to get the number of valid attempts for PIN1 (CHV1),
PIN2 (CHV2), PUK1 (UNBLOCK CHV1) and PUK2 (UNBLOCK CHV2) identifiers.

Syntax:

AT+CPINC

Response Syntax

+CPINC: ,,,

Command example

Possible responses

Note

AT+CPINC

+CPINC: 2,3,10,10

Get the number of
attempts left, first CHV1
attempt was a failure

AT+CPINC?

+CPINC: 2,3,10,10

Get current values, first
attempt was a failure

AT+CPINC=?

OK

Get possible values

Defined values:

,
are the attempts left for PIN1, PIN2 (0 = blocked, 3 max)

,

are the attempts left for PUK1, PUK2 (0 = blocked, 10 max)

For this to work, the card should be present at the time of initialization, otherwise an
error will be sent (+CME ERROR: 10).

B A C K