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.
We have spent hundreds of hours developing and testing our GSM Library. It is designed to be easy to use, fast, and reliable - with fail-safes and retry mechanisms built in at every step.
Functionality provided by the library includes:
Base Library
- 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)
- Detect a missed call (including the caller ID)
Text Messaging (SMS) Extension
- Receive text messages
- Send text messages
GPRS Extension (Currently only available for SIMCom modules)
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.
The extensions are provided as closed-source mikroElektronika compiler libraries, which install with the
Package Manager software. If you are not using a mikroElektronika compiler then please
contact us and we will provide a solution for your C compiler of choice.
The library is currently available for the ANSI-compliant
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 mikroElektronika's other C, BASIC or Pascal
compilers for PIC24/dsPIC / PIC32 / ARM / AVR / 8051 based on demand. As mentioned above, if you are not using a mikroElektronika compiler then please
contact us and we will provide a solution for your C compiler of choice.
Sample programs are included for the following hardware setups:
Free copies of all extensions are included with a purchase of our
SimPLCv2 board.
Easy-Buy
If you would like to quickly buy one of the GSM Library extensions (without going through our checkout process), then please use the relevant button to the right to make payment via credit-card. We will email a copy of the library to the email-address entered during the payment process. |
|
Bonus: AT-Command State Machine Framework
The technique employed in our GSM library can be used for interacting with other AT-command based modules as well (such as the
RN-41 BlueTooth module featured on the
BlueTooth click board), by simply changing the AT commands used in the framework to commands relevant for the module you wish to work with.