BAIC — BAIC AT Commands User Manual: Serial Interface, Commands, and More

AT Commands User Manual may be − 176 read binary − 178 read record − 192 get response − 214 update binary − 220 update record − 242 status integer type; this is the identifier of a elementary data file on SIM. Mandatory for every command except STATUS and may be e.g.: − 28471 meaning ACMmax file (6F37). − 28423 meaning IMSI file (6F07). − 28473 meaning ACM file (6F39). − 28481 meaning PUKT file (6F41). − 28482 meaning SMS file (6F42). , , integer type defining the request. These parameters are mandatory for every command, except GET RESPONSE and STATUS. The values are described in GSM 51.011. :

information which shall be written to the SIM (hexadecimal character format; refer +CSCS – string containing hexadecimal characters -). , integer type containing the SIM information and can be: − 0x90 0x00 normal entry of the command. − 0x9F 0xXX length XX of the response data. − 0x92 0x0X update successful but after using an internal retry routine X time. − 0x92 0x40 memory problem. − 0x94 0x00 no EF selected. − 0x94 0x02 out of range (invalid address). − 0x94 0x04 file ID not found; pattern not found. − 0x94 0x08 file is inconsistent with the command. − 0x98 0x02 no CHV initialized. − 0x98 0x04 access cond. Not fulfilled / unsucc. CHV verify / authent.failed.

− 0x98 0x08 in contradiction with CHV status. − 0x98 0x10 in contradiction with invalidation status. − 0x98 0x40 unsucc. CHV-verif. or UNBLOCK CHF / CHV blocked /UNBL.blocked. − 0x98 0x50 increase can not be performed. Max. value reached. − 0x67 0xXX incorrect parameter P3. − 0x6B 0xXX incorrect parameter P1 or P2. − 0x6D 0xXX unknown instruction code given in the command. − 0x6E 0xXX wrong instruction class given in the command. − 0x6F 0xXX technical problem with no diagnostic given. response of successful completion of the command previously issued (hexadecimal character format refer +CSCS – string containing hexadecimal characters -).

STATUS and GET RESPONSE return data, which gives information about the current elementary data field. This information includes the type of file and its size (refer GSM 51.011 [28]). After READ BINARY or READ RECORD command the requested data will be returned. is not returned after a successful UPDATE BINARY or UPDATE RECORD command. 17