Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of GSM_Library by
Revision 31:a1e9fd23eb6a, committed 2015-04-28
- Comitter:
- es_marble
- Date:
- Tue Apr 28 03:03:19 2015 +0000
- Parent:
- 30:421aae087064
- Commit message:
- Updated TIME_CONST to 1 second (this is how often the gsm_tick is called)
Changed in this revision
| GSMLibrary.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/GSMLibrary.h Sat Apr 25 23:20:30 2015 +0000 +++ b/GSMLibrary.h Tue Apr 28 03:03:19 2015 +0000 @@ -3,7 +3,7 @@ #include "mbed.h" -#define TIME_CONST 2 //Specify length of each GSM tick (currently 1.8 seconds but we rounded up to 2 to simplify calculations) +#define TIME_CONST 1 //Specify length of each GSM tick (currently called twice every 2 seconds, so an average of every 1 second) #define SECONDS_TIMEOUT 30 #define SMS_END_CHAR "\x1A" //Character that must be appended to end of text message before it will be sent #define SMS_ESCAPE_CHAR "\x1A" //Character that can be appended to end of text message to abort sending it

