Gemalto is now part of the Thales Group, find out more.

You are here

Thales IoT Developer Community

AT Command reads SIM card and applies 4G readiness heuristic

Showcase, June 10, 2019 - 4:23pm, 4042 views

This project allows you to use our, more recent, Java modules to read SIM card 4G Elementary Files - with just AT Commands - no Java programming needed.

The SIM card's 4G readiness heutistic is made possible via the Gemalto Java AT Command Extensions (JAT).

You can add new AT Commands to the ELS61 rel 1 "MR" / ELS61 rel 2 / PLS62-W rel 2 and EHSx rel 4 modules.

No Java programming needed - drive everything just using AT Commands!

--

How to use:

The following example shows an example of a known bad USIM, does not allow 4G registration.

Part 1 shows starting the Java application to enable an extended AT Command
Part 2 shows the reading of the SIM card EF files
Part 3 shows the reporting of the recommended RaT for the current 4G module
Part 4 shows stopping the Java application to end use of the extended AT Command

Part 1 - starting the Java application to enable an extended AT Command

ati1

Cinterion

PLS62-W

REVISION 02.000

A-REVISION 01.000.03

OK

 

at^sjam=1,"a:/ATSJMRAT.jad",""

OK

 

^SYSSTART_EXTENDED_AT

 

at^sjmrat?

^SJMRAT: "1,2"

 

OK

 

 

Part 2 - reading the SIM card EF files

at^sjmrat="readsim"

OK

 

^SJMRAT: INFO - EF (0x6F07) IMSI '0***********67427173'

^SJMRAT: INFO - EF (0x2FE2) ICCID '0***********22158533F7'

^SJMRAT: PASS - SIM card STATUS '0x62'

^SJMRAT: MISS - EF (0x6F60) PLMNwAcT

^SJMRAT: PASS - EF (0x6F61) OPLMNwAcT '0x72F220000062F2708000'

^SJMRAT: FAIL - EF (0x6F62) HPLMNwAcT '0x32F4018080'

^SJMRAT: FAIL - EF (0x6F7B) FPLMN '0x32F45132F40332F40232F423'

^SJMRAT: MISS - EF (0x6FD9) 4G EHPLMN

^SJMRAT: MISS - EF (0x6FDB) 4G EHPLMNI

^SJMRAT: MISS - EF (0x6FDC) 4G LRPLMNSI

^SJMRAT: MISS - EF (0x6FE3) 4G EPSLOCI

^SJMRAT: MISS - EF (0x6FE4) 4G EPSNSC

 

^SJMRAT: SIM EF 4G readiness score = 2/10

 


 

 

Part 3 - reporting of the recommended RaT for the current 4G module

ati1

Cinterion

PLS62-W

REVISION 02.000

A-REVISION 01.000.03

OK

 

at^sjmrat?

^SJMRAT: "1,2"

 

OK

 

 

Part 4 - stopping the Java application to end use of the extended AT Command

at^sjmrat="exit"

OK

 

^SYSSTART

 

mullengers