Example program for the UbloxCellularDriverGen class, providing SMS, USSD and module file system support. This program may be used on the C027 and C030 (non N2xx-flavour) boards.
Dependencies: ublox-cellular-driver-gen ublox-cellular-base
Revision 7:414c52e89560, committed 2017-06-15
- Comitter:
- rob.meades@u-blox.com
- Date:
- Thu Jun 15 01:16:29 2017 +0100
- Parent:
- 6:1d4ec78bf3ae
- Child:
- 8:279298d18b2c
- Commit message:
- C027 compatiblity and update library versions.
Changed in this revision
--- a/main.cpp Wed Jun 14 13:11:10 2017 +0000 +++ b/main.cpp Thu Jun 15 01:16:29 2017 +0100 @@ -170,7 +170,7 @@ // USSD OPERATIONS printf("=== USSD ===\n"); - printf("Getting the IMSI...\n"); + printf("Sending *100#...\n"); if (driver->ussdCommand("*100#", buf, sizeof (buf))) { pulseEvent(); printf("Answer was %s.\n", buf); @@ -218,7 +218,7 @@ printf("No destination SMS number has been defined (edit DESTINATION_SMS_NUMBER in this file to add one).\n"); } - printf("Waiting for SMS messages to arrive in a loop until the user button is pressed on C030 or forever on C027......\n"); + printf("Waiting for SMS messages to arrive in a loop (until the user button is pressed on C030 or forever on C027)...\n"); while (!buttonPressed) { x = driver->smsList("REC UNREAD", index, sizeof(index)); for (int y = 0; y < x; y++) {
--- a/ublox-cellular-base.lib Wed Jun 14 13:11:10 2017 +0000 +++ b/ublox-cellular-base.lib Thu Jun 15 01:16:29 2017 +0100 @@ -1,1 +1,1 @@ -https://developer.mbed.org/teams/ublox/code/ublox-cellular-base/#5aaecf2572dc +https://developer.mbed.org/teams/ublox/code/ublox-cellular-base/#73fcc33c9400
--- a/ublox-cellular-driver-gen.lib Wed Jun 14 13:11:10 2017 +0000 +++ b/ublox-cellular-driver-gen.lib Thu Jun 15 01:16:29 2017 +0100 @@ -1,1 +1,1 @@ -https://developer.mbed.org/teams/ublox/code/ublox-cellular-driver-gen/#08302b9cd519 +https://developer.mbed.org/teams/ublox/code/ublox-cellular-driver-gen/#b935404dcf7c