beautypg.com

At+cpuc price per unit and currency table, 33 at+cpuc price per unit and currency table – Siemens MC35 User Manual

Page 102

background image

AT Command Set

MC35_ATC_01_V03.02

Page 102 of 228

13.03.2002

4.33 AT+CPUC Price per unit and currency table

Test command

AT+CPUC=?

Response

OK

Read command

AT+CPUC?

Response

Read command returns the current parameters of PUC.
+CPUC: , OK
If error is related to ME functionality:
+CME ERROR:

Parameter

See write command

Write command

AT+CPUC=ncy>,[,
]

Response

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.
If error is related to ME functionality:
+CME ERROR:

Parameter

string type; three-character currency code (e.g. “GBP”, “DEM”);
character set as specified with AT+CSCS. 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.

string type; 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. Leading 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 en-
tered, 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.

string type; 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 termi-
nates with an error message. If the PIN2 is incorrect, a CME er-
ror (+CME ERROR: incorrect password) is output.

Reference

GSM 07.07

Note