GSM-GPRS-GPS-Shield icon indicating copy to clipboard operation
GSM-GPRS-GPS-Shield copied to clipboard

Improvements to library

Open boylesg opened this issue 6 years ago • 0 comments

Removed hard coding that limits you to using SoftwareSerial for Uno and Serial1 for Mega

You can now use the classes like this:

CSIMCOM900 gsm(&Serial1); SoftwareSerial ss(8, 9); CSIMCOM900 gsm(&Serial1); //CSIMCOM900 gsm(&ss); CSMSGSM sms(gsm);

void setup() { gsm.begin(115200); }

Also wrapped all the literal strings in F() and added appropriate function versions to take flash strings rather than normal c strings.

Changed to Hungarian notation.

Changed int to int16_t etc

Changed some function return types to bool

boylesg avatar Mar 10 '18 16:03 boylesg