Example program to demonstrate the use of the UbloxATCellularInterfaceExt class, providing FTP, HTTP, and CellLocate support. It may be used on the C027 and C030 (non-N2xx flavour) boards.

Dependencies:   ublox-cellular-driver-gen gnss ublox-cellular-base ublox-at-cellular-interface-ext

Files at this revision

API Documentation at this revision

Comitter:
rob.meades@u-blox.com
Date:
Fri Jun 16 00:57:47 2017 +0100
Parent:
13:8dc0ad55bfa5
Child:
15:76e3703c59f0
Commit message:
Now compatible with C027, update library versions.

Changed in this revision

gnss.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
ublox-at-cellular-interface-ext.lib Show annotated file Show diff for this revision Revisions of this file
ublox-cellular-driver-gen.lib Show annotated file Show diff for this revision Revisions of this file
--- a/gnss.lib	Wed Jun 14 13:19:39 2017 +0000
+++ b/gnss.lib	Fri Jun 16 00:57:47 2017 +0100
@@ -1,1 +1,1 @@
-https://mbed.org/teams/ublox/code/gnss/#af4baf3c67f3
+https://mbed.org/teams/ublox/code/gnss/#56eda66d585b
--- a/main.cpp	Wed Jun 14 13:19:39 2017 +0000
+++ b/main.cpp	Fri Jun 16 00:57:47 2017 +0100
@@ -182,13 +182,16 @@
             pulseEvent();
              // Get a directory listing from the server
              if (interface->ftpCommand(UbloxATCellularInterfaceExt::FTP_LS,
-                                      NULL, NULL, 0, buf, sizeof (buf)) == NULL) {
+                                      NULL, NULL, buf, sizeof (buf)) == NULL) {
                 pulseEvent();
                 printf ("Directory listing of FTP server:\n"
                         "--------------------------------\n%s"
                         "--------------------------------\n", buf);
              }
-             // FTP GET a file known to be on test.rebex.net into the module file system
+             
+             // FTP GET a file known to be on test.rebex.net into the module file system,
+             // making sure it's not there to begin with
+             interface->delFile("readme.txt");
              if (interface->ftpCommand(UbloxATCellularInterfaceExt::FTP_GET_FILE, "readme.txt") == NULL) {
                 pulseEvent();
                 // Read the file from the module file system into buf
--- a/ublox-at-cellular-interface-ext.lib	Wed Jun 14 13:19:39 2017 +0000
+++ b/ublox-at-cellular-interface-ext.lib	Fri Jun 16 00:57:47 2017 +0100
@@ -1,1 +1,1 @@
-https://mbed.org/teams/ublox/code/ublox-at-cellular-interface-ext/#3b24bc50cc06
+https://mbed.org/teams/ublox/code/ublox-at-cellular-interface-ext/#3631f62bb359
--- a/ublox-cellular-driver-gen.lib	Wed Jun 14 13:19:39 2017 +0000
+++ b/ublox-cellular-driver-gen.lib	Fri Jun 16 00:57:47 2017 +0100
@@ -1,1 +1,1 @@
-https://mbed.org/teams/ublox/code/ublox-cellular-driver-gen/#4f2c12992e17
+https://mbed.org/teams/ublox/code/ublox-cellular-driver-gen/#a9eea2dbdd68