Cinterion
®
EHS6 AT Command Set
9.12 AT+CPUC
EHS6_ATC_V03.001
15/12/3
Confidential / Released
Page 218 of 513
9.12
AT+CPUC Price per unit and currency table
The
read command returns the current parameters of PUC.
The
write command sets the parameters of Advice of Charge related price per unit and currency table.
SIM PIN2 is usually required to set the parameters.
Syntax
Parameter Description
Three-character currency code (e.g. "GBP", "EUR"). If the currency name is longer than three characters, all
characters will be cut off after the third position. Before they are written to the SIM Card, these characters are
converted to the standard GSM alphabet.
Price per unit; dot is used as a decimal separator (e.g. "2.66"). The length is limited to 20 characters. If the string
length is exceeded, the command is terminated with an error. This string may only contain digits and a dot. Lead-
ing zeros are removed from the string. The minimum and maximum value are determined by the structure of the
SIM-PUCT file. The maximum price per unit value is 40950000000 (4095 x 10 exp 7). When successfully
entered, this value is rounded to maximum accuracy.
Note: Due to storage in mantisse (range 0-4095) and exponent (-7 to 7) it is possible that rounding errors occur.
SIM PIN2. String parameter which can contain any combination of digits. The maximum string length is limited
to 8 digits. If this value is exceeded, the command terminates with an error message. If the PIN2 is incorrect, a
CME error (+CME ERROR: incorrect password) is output. Parameter may be ommitted only if SIM PIN2 was
correctly entered before.
Test Command
AT+CPUC=?
Response(s)
OK
Read Command
AT+CPUC?
Response(s)
+CPUC:
OK
ERROR
+CME ERROR:
<err>
Write Command
AT+CPUC=
[,
Response(s)
OK
ERROR
+CME ERROR:
<err>
PIN
Last
Reference(s)
+
+
-
3GPP TS 27.007
<currency>
(str)(+CSCS)
<ppu>
(str)
<passwd>
(str)