Simple test for USSD message.

Dependencies:   C027 UbloxUSBModem mbed

Fork of C027_USSDTest by u-blox

Files at this revision

API Documentation at this revision

Comitter:
mazgch
Date:
Mon Oct 21 08:51:10 2013 +0000
Parent:
2:9aa67cb35d0e
Child:
4:ffbfe5f03e61
Commit message:
initial version

Changed in this revision

C027.lib Show annotated file Show diff for this revision Revisions of this file
UbloxUSBModem.lib Show annotated file Show diff for this revision Revisions of this file
VodafoneUSBModem.lib Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-rtos.lib Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/C027.lib	Mon Oct 21 08:51:10 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/teams/ublox/code/C027/#7f910a8e77ee
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/UbloxUSBModem.lib	Mon Oct 21 08:51:10 2013 +0000
@@ -0,0 +1,1 @@
+https://mbed.org/users/mbed_official/code/UbloxUSBModem/#6e9d98f8c237
--- a/VodafoneUSBModem.lib	Tue Oct 30 10:24:12 2012 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-https://mbed.org/users/mbed_official/code/VodafoneUSBModem/#bf3cf216235c
--- a/main.cpp	Tue Oct 30 10:24:12 2012 +0000
+++ b/main.cpp	Mon Oct 21 08:51:10 2013 +0000
@@ -1,11 +1,13 @@
 #include "mbed.h"
-#include "VodafoneUSBModem.h"
+#include "C027.h"
+#include "UbloxUSBGSMModem.h"
+#include "UbloxUSBCDMAModem.h"
 
 #define USSD_COMMAND "*#134#"
 
 void test(void const*) 
 {
-    VodafoneUSBModem modem;
+    UbloxUSBGSMModem modem; // for LISA-C use the UbloxUSBCDMAModem instead
     char result[32];
 
     printf("Sending %s on USSD channel\n", USSD_COMMAND);
@@ -27,7 +29,7 @@
 int main()
 {
   Thread testTask(test, NULL, osPriorityNormal, 1024 * 4);
-  DigitalOut led(LED1);
+  DigitalOut led(A0);
   while(1)
   {
     led=!led;
--- a/mbed-rtos.lib	Tue Oct 30 10:24:12 2012 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/users/mbed_official/code/mbed-rtos/#9654a71f5a90
--- a/mbed.bld	Tue Oct 30 10:24:12 2012 +0000
+++ b/mbed.bld	Mon Oct 21 08:51:10 2013 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/e2ed12d17f06
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/a9913a65894f
\ No newline at end of file