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.
Dependencies: UbloxUSBModem mbed
Revision 6:3fc2d445d923, committed 2014-06-03
- Comitter:
- mbed_official
- Date:
- Tue Jun 03 11:30:56 2014 +0100
- Parent:
- 5:092285924623
- Commit message:
- Synchronized with git revision bcacbb9fbf3432829227430830cca4315b57c1b9
Full URL: https://github.com/mbedmicro/mbed/commit/bcacbb9fbf3432829227430830cca4315b57c1b9/
Changed in this revision
| smstest.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 092285924623 -r 3fc2d445d923 smstest.cpp
--- a/smstest.cpp Mon Nov 04 09:00:34 2013 +0000
+++ b/smstest.cpp Tue Jun 03 11:30:56 2014 +0100
@@ -1,12 +1,12 @@
#include "CellularModem.h"
#include "smstest.h"
-void smstest(CellularModem& modem)
+void smstest(CellularModem& modem)
{
modem.power(true);
Thread::wait(1000);
-#ifdef DESTINATION_NUMBER
+#ifdef DESTINATION_NUMBER
modem.sendSM(DESINATION_NUMBER, "Hello from mbed:)");
#endif
@@ -32,7 +32,7 @@
Thread::wait(3000);
continue;
}
-
+
printf("%s : %s\n", num, msg);
}
Thread::wait(3000);