Use your forum account to login.

LOGIN

TOP Contributors

  1. MikroElektronika Team (598 codes)
  2. Shawon Shahryiar (250 codes)
  3. Alcides Ramos Zambrano (143 codes)
  4. Dany (66 codes)
  5. S P (63 codes)
  6. MikroBUS.NET Team (35 codes)
  7. NART SCHINACKOW (34 codes)
  8. FOURNET Olivier (25 codes)
  9. Alberto Trasimeni (25 codes)
  10. Roman Toropov (25 codes)

Most Downloaded

  1. Timer Calculator (86432 times)
  2. FAT32 Library (42385 times)
  3. Network Ethernet Library (41232 times)
  4. USB Device Library (31856 times)
  5. Network WiFi Library (29845 times)
  6. FT800 Library (23631 times)
  7. PID Library (20317 times)
  8. GSM click (20189 times)
  9. microSD click - Example (16881 times)
  10. GPS click - Example (13565 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Library

GSM Library

Rating:

Author: Dane du Plooy

Last Updated: 2017-04-17

Category: GSM / GPRS

Downloaded: 10638 times

Followed by: 9 users

GSM Library is designed to make interacting with a GSM module reliable and easy. The base library includes functions for detecting missed calls, working with the modules RTCC, reading IMEI, and entering SIM card pin.
Extensions are available for adding text messaging (SMS) and/or GPRS functionality (please see www.dizzy.co.za/link.asp?l=gsm_lib).

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "GSM Library" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "GSM Library" changes.

Do you want to report abuse regarding "GSM Library".

  • Information
  • Comments (16)

Library Blog

GSM modules have made it easy for embedded developers to add hardware capable of connecting to cellular networks to their project. These GSM modules communicate via simple AT commands. Whilst the AT commands are easy to understand and use, writing reliable embedded code for interfacing using them can be challenging.
GSM Library has been designed to be easy to use, fast, and reliable - with fail-safes and retry mechanisms built in at every step. The base library provides the following functionality:

  • Detect a missed call (including the caller ID)
  • Read/write the GSM modules RTCC (real-time calendar and clock)
  • Receive the date/time from the GSM network
  • Read the modules unique IMEI code
  • Enter SIM card PIN code (optional)

Extensions to the library, available from www.dizzy.co.za/link.asp?l=gsm_lib, can be used to add the following functionality: Text Messaging Extension

  • Receive text messages
  • Send text message

GPRS Extension (currently only available for SIMCom modules)

  • HTTP GET
  • HTTP POST

Full source-code for the base library is provided, so you are free to modify and extend the base library if and as you wish (including adding your own text-messaging / GPRS extensions if you like!). The library is currently packaged for mikroC Pro for PIC, mikroC Pro for PIC24/dsPIC, mikroC Pro for PIC32, and mikroC Pro for ARM as well as mikroBasic Pro for PIC and mikroPascal Pro for PIC. The library code is MCU independent however, and we will also port it to any of mikroE's other C, BASIC or Pascal compilers for PIC24/dsPIC / PIC32 / ARM / AVR / 8051 based on demand. Example programs are currently available for the following hardware setups:

ALSO FROM THIS AUTHOR

Fifteen Game

The original "Fifteen" game for mikroMedia for dsPIC33, by Aleksandar Nikolic, ported to mikroMedia for PIC18FJ. The "unsolvable puzzle" problem has also been resolved.

[Learn More]