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: ublox-cellular-driver-gen gnss ublox-cellular-base ublox-at-cellular-interface-ext
Diff: main.cpp
- Revision:
- 7:7781212f4bb4
- Parent:
- 6:7a33376899e5
- Child:
- 8:11be5eb33196
--- a/main.cpp Fri Jun 09 14:38:38 2017 +0000
+++ b/main.cpp Fri Jun 09 22:23:57 2017 +0000
@@ -139,7 +139,7 @@
// Attach a function to the user button
userButton.rise(&cbButton);
- // Power up GNSS for the Cell Locate bit
+ // Power up GNSS to assist with the Cell Locate bit
gnssSerial.init();
good();
printf("Starting up, please wait up to 180 seconds for network registration to complete...\n");
@@ -184,8 +184,8 @@
// Read the file from the module file system into buf
if (interface->readFile("readme.txt", buf, sizeof (buf))) {
printf("FTP GET of file \"readme.txt\" completed. The file contained:\n"
- "-------------------------------------------------------------\n%s"
- "-------------------------------------------------------------\n", buf);
+ "------------------------------------------------------------\n%s"
+ "------------------------------------------------------------\n", buf);
}
}
} else {
@@ -209,8 +209,8 @@
if (err == NULL) {
pulseEvent();
printf("HTTP GET of \"/media/uploads/mbed_official/hello.txt\" completed. The response contained:\n"
- "------------------------------------------------------------------------------------\n%s"
- "------------------------------------------------------------------------------------\n", buf);
+ "----------------------------------------------------------------------------------------\n%s"
+ "----------------------------------------------------------------------------------------\n", buf);
} else {
bad();
printf("Unable to get \"/media/uploads/mbed_official/hello.txt\" from \"developer.mbed.org\", "
@@ -219,7 +219,7 @@
// CELL LOCATE OPERATIONS (in a loop)
printf("=== Cell Locate ===\n");
- printf("Sending Cell Locate requests in a loop until user button is pressed...\n");
+ printf("Sending Cell Locate requests in a loop until the user button is pressed...\n");
while (!buttonPressed) {
interface->cellLocSrvUdp();
interface->cellLocConfig(1); // Deep scan mode