12 at+cpuc price per unit and currency table, At+cpuc, Tc63 at command set – Siemens TC63 User Manual

Page 229

Advertising
background image

TC63 AT Command Set

9.12 AT+CPUC

s

TC63_ATC_V00.490

Page 229 of 501

5/24/05

Confidential / Draft - Do not copy

9.12

AT+CPUC Price per unit and currency table

Syntax

Command Description

Read command returns the current parameters of PUC.
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.

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 999 999 999.00. 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 characters. The maximum string length is

limited to 8 characters. 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.

Test Command

AT+CPUC=?

Response(s)

OK

Read Command

AT+CPUC?

Response(s)

+CPUC:

<currency>

,

<ppu>

OK

ERROR

+CME ERROR: <err>

Write Command

AT+CPUC=

<currency>

,

<ppu>

[,

<passwd>

]

Response(s)

OK

ERROR

+CME ERROR: <err>

Reference(s)

PIN

ASC0 ASC1 USB MUX1 MUX2 MUX3 Charge

4

Last

GSM 07.07

%

%

%

%

%

%

%

!

%

!

<currency>

(str)(+CSCS)

<ppu>

(str)

<passwd>

(str)

Advertising