Motorola G24 Guide Developer's Manual page 390

At commands
Hide thumbs Also See for G24 Guide:
Table of Contents

Advertisement

UI (User Interface)
<Parameter>
<response>
Example
AT+CRSM=176,28478,0,0,20//READ BINARY, GID1(6F3E),0 ,0 , 20 bytes
+CRSM: 144,0, FFFFFFFFFF//Generic success code, 20 bytes of file data
FFFFFFFFFF00000000000000000000
OK
AT+CRSM=178,28474,1,4,26//READ RECORD, ADN file(6F3A) data, 1, current, 26 bytes
+CRSM: 144,0,72656EFFFFFFFFFFFFFFFFFF06818984143243FFFFFFFFFFFFFF
//Generic success code, 26 bytes data of the 1st record
OK
AT+CRSM=192,12258//GET RESPONSE, ICCID(2fe2)
+CRSM: 144,0,0000000A2FE204000B00BB01020000
//Generic success code, 0000-> RFU 000A->File size 2FE2-> File ID 04-> Type of the file (EF)
00->RFU 0B00BB->Access conditions (READ=0-ALW, UPDATE=B-NEVER) 01->File status 02->Length
of the following data (byte 14 to the end) 00->Structure of EF (transparent) 00->Length of a record (For
cyclic and linear fixed EFs this byte denotes the length of a record. For a transparent EF, this byte shall be
coded '00')
OK
AT+CRSM=214,28498,0,0,8,C69018C7958C87
//UPDATE BINARY, KcGPRS(6F52), 0,0, 8 bytes , data to be write to the file
+CRSM: 152,4//Error: access condition not fulfilled
3-306
Table 3-199: +CRSM Parameters (Cont.)
<sw1>
<sw2>
Error Description
152
80
Increase cannot be performed, Max value reached.
103
XX
Incorrect parameter P3 (NOTE: 'XX' gives the correct
length or states that no additional information is given
('XX' = '00').
107
XX
Incorrect parameter P1 or P2.
109
XX
Unknown instruction code given in the command.
110
XX
Wrong instruction class given in the command.
111
XX
Technical problem with no diagnostic given.
Response of a successful completion of the command previously issued (hexadecimal
character uppercase format). STATUS and GET RESPONSE return data, which gives
information about the current elementary data file_id. This information includes the
type of file and its size (refer to GSM 11.11). After READ BINARY or READ
RECORD command the requested data will be returned. <response> is not returned
after a successful UPDATE BINARY or UPDATE RECORD command.
AT Commands Reference Manual
Description
December 31, 2007

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents