Skip to content

phlpjo/MkrGsm1400IoT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MkrGsm1400IoT

This library can be seen as an extension to the MKRGSM library for the Arduino MKR GSM 1400.

As long as I am working with the MKR GSM 1400, I will continue to extend this library and add new functions if needed.

This library contains functions to access the sim card phonebook memory. So you can store variables or states on the memory and recall them after a restart.

Currently the library contains the following functions:

  • Unlock Sim card
  • Query Sim state
  • Writing an uint in the phone book of the sim card
  • Reading uint from the phone book of the sim card

Contents

  1. Version
  2. Arduino Compatibility
  3. Installation
  4. Usage
  5. Example Code

Version

  • Version 1.0.0 -- Intial version

Arduino Compatibility

  • This library is designed exclusively for use with the Arduino MKR GSM 1400

Installation

The MkrGsm1400IoT library be installed using the Arduino IDE's Library Manager. To access the Library Manager, in the Arduino IDE's menu select Sketch->Include Library->Manage Libraries.... In the Library Manager's search bar type MkrGsm1400IoT then select the "Install" button in the MkrGsm1400IoT entry.

At the moment this library has to be downloaded manually via github and added to arduino. Just download the library, unzip it and add it to the folder .../Arduino/libraries . The .../Arduino/... folder is the one where your Arduino IDE sketches are usually located.

Usage

So you know how to use the functions of this library, take a look at the examples.

Example Code

storeAndReadSimData.ino

  • Write and read integers from 0 to 65535 to/from the Sim-Card
  • Store up to 250 different variable (testet with an O2 nano sim card (german))