Example program that uses the mbed UbloxATCellularInterface or OnboardCellularInterface classes to perform simple sockets operations. This program can be used on the C027 and C030 boards, including the C030 N2xx version with a little editing.
Revision 30:4e55e975dd0b, committed 6 months ago
- Thu Sep 14 11:06:41 2017 +0100
- Commit message:
- Update N2xx library version and comments in main.cpp.
Changed in this revision
|main.cpp||Show annotated file Show diff for this revision Revisions of this file|
|ublox-at-cellular-interface-n2xx.lib||Show annotated file Show diff for this revision Revisions of this file|
--- a/main.cpp Thu Sep 14 10:44:39 2017 +0100 +++ b/main.cpp Thu Sep 14 11:06:41 2017 +0100 @@ -47,7 +47,7 @@ #define PIN "0000" // Network credentials. You should set this according to your -// network/SIM card. For C030 boards, leave the parameters as NULL +// network/SIM card. For C030 non-N2xx boards, leave the parameters as NULL // otherwise, if you do not know the APN for your network, you may // either try the fairly common "internet" for the APN (and leave the // username and password NULL), or you may leave all three as NULL and then @@ -125,7 +125,7 @@ /* This example program for the u-blox C030 and C027 boards instantiates * the UbloxAtCellularInterface or UbloxPPPCellularInterface and uses it - * to make a simple sockets connection to a server, using 2.pool.ntp.org + * to make a simple sockets connection to a server, using 2.pool.ntp.org * for UDP and developer.mbed.org for TCP. For a more comprehensive example, * where higher layer protocols make use of the same sockets interface, * see example-ublox-mbed-client.
--- a/ublox-at-cellular-interface-n2xx.lib Thu Sep 14 10:44:39 2017 +0100 +++ b/ublox-at-cellular-interface-n2xx.lib Thu Sep 14 11:06:41 2017 +0100 @@ -1,1 +1,1 @@ -https://developer.mbed.org/teams/ublox/code/ublox-at-cellular-interface-n2xx/#69e676f4af84 +https://developer.mbed.org/teams/ublox/code/ublox-at-cellular-interface-n2xx/#0162c103346a