Implementation of the CellularInterface for u-blox C027 and C030 (non-N2xx flavour) modems that uses the IP stack on-board the cellular modem, hence not requiring LWIP (and so less RAM) and allowing any AT command exchanges to be carried out at the same time as data transfers (since the modem remains in AT mode all the time). This library may be used from mbed 5.5 onwards. If you need to use SMS, USSD or access the modem file system at the same time as using the CellularInterface then use ublox-at-cellular-interface-ext instead.

Dependents:   example-ublox-cellular-interface example-ublox-cellular-interface_r410M example-ublox-mbed-client example-ublox-cellular-interface ... more

Committer:
RobMeades
Date:
Mon Jun 12 21:32:21 2017 +0000
Revision:
0:7ccf0e7e8a83
Child:
6:63dad754c267
Initial commit, not yet compiling but I'm tired of doing everything in the on-line IDE so I need to publish to take the code off-line.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
RobMeades 0:7ccf0e7e8a83 1 {
RobMeades 0:7ccf0e7e8a83 2 "config": {
RobMeades 0:7ccf0e7e8a83 3 "platform": {
RobMeades 0:7ccf0e7e8a83 4 "help": "The platform for the cellular feature, e.g. UBLOX or MTS_DRAGONFLY",
RobMeades 0:7ccf0e7e8a83 5 "value": "UBLOX"
RobMeades 0:7ccf0e7e8a83 6 },
RobMeades 0:7ccf0e7e8a83 7 "buffer-size": {
RobMeades 0:7ccf0e7e8a83 8 "value": 0
RobMeades 0:7ccf0e7e8a83 9 },
RobMeades 0:7ccf0e7e8a83 10 "debug-on": {
RobMeades 0:7ccf0e7e8a83 11 "help": "Set to true to get AT interface debug",
RobMeades 0:7ccf0e7e8a83 12 "value": false
RobMeades 0:7ccf0e7e8a83 13 },
RobMeades 0:7ccf0e7e8a83 14 "run-sim-pin-change-tests": {
RobMeades 0:7ccf0e7e8a83 15 "help": "If 1, run the SIM PIN change tests, for which default-pin must be defined",
RobMeades 0:7ccf0e7e8a83 16 "value": 0
RobMeades 0:7ccf0e7e8a83 17 },
RobMeades 0:7ccf0e7e8a83 18 "default-pin": {
RobMeades 0:7ccf0e7e8a83 19 "help": "The current value of the SIM PIN as a string; if PIN is enabled on your SIM, or you wish to run the SIM PIN change tests, you must put the PIN for your SIM here",
RobMeades 0:7ccf0e7e8a83 20 "value": "\"1234\""
RobMeades 0:7ccf0e7e8a83 21 },
RobMeades 0:7ccf0e7e8a83 22 "apn": {
RobMeades 0:7ccf0e7e8a83 23 "help": "The APN string to use for this SIM/network, set to 0 if none",
RobMeades 0:7ccf0e7e8a83 24 "value": 0
RobMeades 0:7ccf0e7e8a83 25 },
RobMeades 0:7ccf0e7e8a83 26 "username": {
RobMeades 0:7ccf0e7e8a83 27 "help": "The user name string to use for this APN, set to zero if none",
RobMeades 0:7ccf0e7e8a83 28 "value": 0
RobMeades 0:7ccf0e7e8a83 29 },
RobMeades 0:7ccf0e7e8a83 30 "password": {
RobMeades 0:7ccf0e7e8a83 31 "help": "The password string to use for this APN, set to 0 if none",
RobMeades 0:7ccf0e7e8a83 32 "value": 0
RobMeades 0:7ccf0e7e8a83 33 },
RobMeades 0:7ccf0e7e8a83 34 "alt-pin": {
RobMeades 0:7ccf0e7e8a83 35 "help": "The SIM PIN (as a string) that will be used for SIM PIN change tests (the SIM PIN will be changed back to default-pin afterwards)",
RobMeades 0:7ccf0e7e8a83 36 "value": "\"9876\""
RobMeades 0:7ccf0e7e8a83 37 },
RobMeades 0:7ccf0e7e8a83 38 "incorrect-pin": {
RobMeades 0:7ccf0e7e8a83 39 "help": "A SIM PIN (as a string) that should not be the same as default-pin or alt-pin",
RobMeades 0:7ccf0e7e8a83 40 "value": "\"1530\""
RobMeades 0:7ccf0e7e8a83 41 },
RobMeades 0:7ccf0e7e8a83 42 "echo-server": {
RobMeades 0:7ccf0e7e8a83 43 "help": "The URL string of the UDP/TCP echo server to use during testing; if this is not defined, no echo tests will be run (and it is REALLY recommended to run them for this driver)",
RobMeades 0:7ccf0e7e8a83 44 "value": "\"yourechoserver.com\""
RobMeades 0:7ccf0e7e8a83 45 },
RobMeades 0:7ccf0e7e8a83 46 "echo-udp-port": {
RobMeades 0:7ccf0e7e8a83 47 "help": "The port to connect to on echo-server for UDP testing",
RobMeades 0:7ccf0e7e8a83 48 "value": 7
RobMeades 0:7ccf0e7e8a83 49 },
RobMeades 0:7ccf0e7e8a83 50 "echo-tcp-port": {
RobMeades 0:7ccf0e7e8a83 51 "help": "The port to connect to on echo-server for TCP testing",
RobMeades 0:7ccf0e7e8a83 52 "value": 7
RobMeades 0:7ccf0e7e8a83 53 },
RobMeades 0:7ccf0e7e8a83 54 "ntp-server": {
RobMeades 0:7ccf0e7e8a83 55 "help": "The URL string of the NTP server to use during testing",
RobMeades 0:7ccf0e7e8a83 56 "value": "\"2.pool.ntp.org\""
RobMeades 0:7ccf0e7e8a83 57 },
RobMeades 0:7ccf0e7e8a83 58 "ntp-port": {
RobMeades 0:7ccf0e7e8a83 59 "help": "The port to connect to on ntp-server",
RobMeades 0:7ccf0e7e8a83 60 "value": 123
RobMeades 0:7ccf0e7e8a83 61 },
RobMeades 0:7ccf0e7e8a83 62 "local-port": {
RobMeades 0:7ccf0e7e8a83 63 "help": "The local port to use when testing sock.bind()",
RobMeades 0:7ccf0e7e8a83 64 "value": 16
RobMeades 0:7ccf0e7e8a83 65 },
RobMeades 0:7ccf0e7e8a83 66 "udp-max-packet-size": {
RobMeades 0:7ccf0e7e8a83 67 "help": "The maximum UDP packet size to use when testing; 1024 bytes is the limit at the AT interface but 508 bytes is considered more reliable for the public internet",
RobMeades 0:7ccf0e7e8a83 68 "value": 508
RobMeades 0:7ccf0e7e8a83 69 }
RobMeades 0:7ccf0e7e8a83 70 "udp-max-frag-packet-size": {
RobMeades 0:7ccf0e7e8a83 71 "help": "The maximum size of UDP data to test with that we know will be fragmented across multiple UDP packets",
RobMeades 0:7ccf0e7e8a83 72 "value": 1500
RobMeades 0:7ccf0e7e8a83 73 }
RobMeades 0:7ccf0e7e8a83 74 },
RobMeades 0:7ccf0e7e8a83 75 "target_overrides": {
RobMeades 0:7ccf0e7e8a83 76 "*": {
RobMeades 0:7ccf0e7e8a83 77 "target.features_add": ["COMMON_PAL"],
RobMeades 0:7ccf0e7e8a83 78 "platform.stdio-convert-newlines": true,
RobMeades 0:7ccf0e7e8a83 79 "platform.stdio-baud-rate": 9600,
RobMeades 0:7ccf0e7e8a83 80 "platform.default-serial-baud-rate": 115200,
RobMeades 0:7ccf0e7e8a83 81 "mbed-trace.enable": 1
RobMeades 0:7ccf0e7e8a83 82 }
RobMeades 0:7ccf0e7e8a83 83 }
RobMeades 0:7ccf0e7e8a83 84 }