Hello, I received a module GSM / GPRS I purchased on Ebay (the link is below), this is based on SIMCOM SIM900 chip that receives all commands via UART using AT commands.
I have been trying to carry a library available for Arduino (Uno and Pro) to MSP430 or Stellaris, and have found some problems.
I have reached the following conclusions:
-Is there any problem with using the Software Serial library.
-This seems to be easy to communicate.
Using the Software Serial library Energia IDE gives me the following errors:
In file included from C:\Users\Ricardo\Desktop\energia-0101E0009\hardware\msp430\libraries\GSMSHIELD_TDG/SIM900.h:4:0,
from GSM_GPRSLibrary_AT.cpp:1:
C:\Users\Ricardo\Desktop\energia-0101E0009\hardware\msp430\libraries\GSMSHIELD_TDG/HWSerial.h:39:21: error: '__FlashStringHelper' does not name a type
C:\Users\Ricardo\Desktop\energia-0101E0009\hardware\msp430\libraries\GSMSHIELD_TDG/HWSerial.h:39:41: error: ISO C++ forbids declaration of 'parameter' with no type [-fpermissive]
C:\Users\Ricardo\Desktop\energia-0101E0009\hardware\msp430\libraries\GSMSHIELD_TDG/HWSerial.h:51:26: error: '__FlashStringHelper' does not name a type
C:\Users\Ricardo\Desktop\energia-0101E0009\hardware\msp430\libraries\GSMSHIELD_TDG/HWSerial.h:51:46: error: ISO C++ forbids declaration of 'parameter' with no type [-fpermissive]
In file included from C:\Users\Ricardo\Desktop\energia-0101E0009\hardware\msp430\libraries\GSMSHIELD_TDG/SIM900.h:5:0,
from GSM_GPRSLibrary_AT.cpp:1:
C:\Users\Ricardo\Desktop\energia-0101E0009\hardware\msp430\libraries\GSMSHIELD_TDG/GSM.h:219:31: error: '__FlashStringHelper' does not name a type
C:\Users\Ricardo\Desktop\energia-0101E0009\hardware\msp430\libraries\GSMSHIELD_TDG/GSM.h:219:52: error: ISO C++ forbids declaration of 'AT_cmd_string' with no type [-fpermissive]
In file included from GSM_GPRSLibrary_AT.cpp:1:0:
C:\Users\Ricardo\Desktop\energia-0101E0009\hardware\msp430\libraries\GSMSHIELD_TDG/SIM900.h:33:25: error: '__FlashStringHelper' does not name a type
C:\Users\Ricardo\Desktop\energia-0101E0009\hardware\msp430\libraries\GSMSHIELD_TDG/SIM900.h:33:46: error: ISO C++ forbids declaration of 'pgmstr' with no type [-fpermissive]
C:\Users\Ricardo\Desktop\energia-0101E0009\hardware\msp430\libraries\GSMSHIELD_TDG/SIM900.h:36:27: error: '__FlashStringHelper' does not name a type
C:\Users\Ricardo\Desktop\energia-0101E0009\hardware\msp430\libraries\GSMSHIELD_TDG/SIM900.h:36:48: error: ISO C++ forbids declaration of 'pgmstr' with no type [-fpermissive]
I leave this library also available in the post for those who want to help me.
This is the link where I buy the module:
