iotconnectivity / sim-applet-data-heartbeat

JavaCard SIM card applet to monitor the status of data connectivity over-the-air
GNU General Public License v3.0
22 stars 13 forks source link
data gsm heartbeat javacard javacard-applet sim smartcard telecom

sim-applet-data-heartbeat

JavaCard SIM card applet to monitor the status of data connectivity over-the-air

Table of Contents

Description

GSM SIM cards can realize about the status of network regitration (see "Location Status" ETSII TS 102.223. What a SIM cannot realize is whether the data connection has been correctly acquired or not). This projects aim to deliver a "hello-im-alive" heart-beat-kind message to a remote server with the content of a Location Status message.

The document ETSI TS 143 019 V5.6.0 Annex D shows an example of the proactive command OPEN CHANNEL. Here we try to use that example.

ToDo

The main problem right now is the OPEN CHANNEL command thows a ToolkitException (0x0F COMMAND_NOT_ALLOWED). Since the phone supports OPEN CHANNEL (and actually there's no communication between phone and SIM when this happens), it is assumed there is a missconfiguration of the parameters or the SIM Toolkit Framework installed in the SIM Card doesn't support OPEN CHANNEL.

The former seems more reasonable. But the lack of debug information makes really difficult to find a proper configuration.

Installation

To install the applet you need:

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

Please note this source code has been released under the GPLv3 terms and all contributions will be considered. Have a look at the LICENSE file distributed with this code.

ETSI TS 102 223 Card Application Toolkit (CAT)

ETSI TS 123 107 Quality of Service (QoS) concept and architecture