Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

how to get geolocation data from the SIM card

Communication

Moderator: UNKNwYSHSA

chaholic
Posts: 24
Joined: Mon Nov 23, 2015 4:52 am
Points :184
Contact:

how to get geolocation data from the SIM card

Post by chaholic » Mon Nov 23, 2015 5:23 am

I try to write a simple cardlet to take geolocation data from the SIM card. I know that "Local Area Identity" keep these information.
The problem is how I can use my cardlet to get geolocation data.

Could you give me some methods/ advices?
tnx

User avatar
horse dream
Posts: 76
Joined: Thu May 21, 2015 11:48 pm
Points :138
Contact:

Re: how to get geolocation data from the SIM card

Post by horse dream » Thu Nov 26, 2015 11:42 pm

Here are two solutions.

1. EVENT_DOWNLOAD_LOCATION_STATUS. Register this event on install method, and applet will receive the event when there is location update in processToolkit method.

2. PROVIDE_LOCAL_INFORMATION proactive command, with command qualifier set to '00' ( Location Information / MCC, MNC, LAC and Cell Identity).

For the two solutions, you need to check that the mobile phone you are using has the support of the mechanism, indicated in its TERMINAL PROFILE.

Alternatively, you can also check for EF LOCI under DF GSM which keeps the Local Area Identity information and read it using READ BINARY.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 19 guests

JavaCard OS : Disclaimer