Implementation of the CellularInterface for u-blox C030 boards with N2xx modems. Note: requires the N211 module firmware to be at least 06.57 A01.02.
Dependents: example-ublox-cellular-interface HelloMQTT example-ublox-cellular-interface_r410M example-ublox-mbed-client ... more
TESTS/unit_tests/default/template_mbed_app.txt@1:8ea78dce6b36, 2017-06-26 (annotated)
- Committer:
- philware
- Date:
- Mon Jun 26 13:49:08 2017 +0100
- Revision:
- 1:8ea78dce6b36
- Child:
- 3:66cd87a1da3a
UDP Sockets over AT for SARA-N2xx modules
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
philware | 1:8ea78dce6b36 | 1 | { |
philware | 1:8ea78dce6b36 | 2 | "config": { |
philware | 1:8ea78dce6b36 | 3 | "debug-on": { |
philware | 1:8ea78dce6b36 | 4 | "help": "Set to true to get AT interface debug", |
philware | 1:8ea78dce6b36 | 5 | "value": false |
philware | 1:8ea78dce6b36 | 6 | }, |
philware | 1:8ea78dce6b36 | 7 | "run-sim-pin-change-tests": { |
philware | 1:8ea78dce6b36 | 8 | "help": "If 1, run the SIM PIN change tests, for which default-pin must be defined", |
philware | 1:8ea78dce6b36 | 9 | "value": 0 |
philware | 1:8ea78dce6b36 | 10 | }, |
philware | 1:8ea78dce6b36 | 11 | "default-pin": { |
philware | 1:8ea78dce6b36 | 12 | "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", |
philware | 1:8ea78dce6b36 | 13 | "value": "\"1234\"" |
philware | 1:8ea78dce6b36 | 14 | }, |
philware | 1:8ea78dce6b36 | 15 | "apn": { |
philware | 1:8ea78dce6b36 | 16 | "help": "The APN string to use for this SIM/network, set to 0 if none", |
philware | 1:8ea78dce6b36 | 17 | "value": 0 |
philware | 1:8ea78dce6b36 | 18 | }, |
philware | 1:8ea78dce6b36 | 19 | "username": { |
philware | 1:8ea78dce6b36 | 20 | "help": "The user name string to use for this APN, set to zero if none", |
philware | 1:8ea78dce6b36 | 21 | "value": 0 |
philware | 1:8ea78dce6b36 | 22 | }, |
philware | 1:8ea78dce6b36 | 23 | "password": { |
philware | 1:8ea78dce6b36 | 24 | "help": "The password string to use for this APN, set to 0 if none", |
philware | 1:8ea78dce6b36 | 25 | "value": 0 |
philware | 1:8ea78dce6b36 | 26 | }, |
philware | 1:8ea78dce6b36 | 27 | "alt-pin": { |
philware | 1:8ea78dce6b36 | 28 | "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)", |
philware | 1:8ea78dce6b36 | 29 | "value": "\"9876\"" |
philware | 1:8ea78dce6b36 | 30 | }, |
philware | 1:8ea78dce6b36 | 31 | "incorrect-pin": { |
philware | 1:8ea78dce6b36 | 32 | "help": "A SIM PIN (as a string) that should not be the same as default-pin or alt-pin", |
philware | 1:8ea78dce6b36 | 33 | "value": "\"1530\"" |
philware | 1:8ea78dce6b36 | 34 | }, |
philware | 1:8ea78dce6b36 | 35 | "echo-server": { |
philware | 1:8ea78dce6b36 | 36 | "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)", |
philware | 1:8ea78dce6b36 | 37 | "value": "\"yourechoserver.com\"" |
philware | 1:8ea78dce6b36 | 38 | }, |
philware | 1:8ea78dce6b36 | 39 | "echo-udp-port": { |
philware | 1:8ea78dce6b36 | 40 | "help": "The port to connect to on echo-server for UDP testing", |
philware | 1:8ea78dce6b36 | 41 | "value": 7 |
philware | 1:8ea78dce6b36 | 42 | }, |
philware | 1:8ea78dce6b36 | 43 | "echo-tcp-port": { |
philware | 1:8ea78dce6b36 | 44 | "help": "The port to connect to on echo-server for TCP testing", |
philware | 1:8ea78dce6b36 | 45 | "value": 7 |
philware | 1:8ea78dce6b36 | 46 | }, |
philware | 1:8ea78dce6b36 | 47 | "ntp-server": { |
philware | 1:8ea78dce6b36 | 48 | "help": "The URL string of the NTP server to use during testing", |
philware | 1:8ea78dce6b36 | 49 | c |
philware | 1:8ea78dce6b36 | 50 | }, |
philware | 1:8ea78dce6b36 | 51 | "ntp-port": { |
philware | 1:8ea78dce6b36 | 52 | "help": "The port to connect to on ntp-server", |
philware | 1:8ea78dce6b36 | 53 | "value": 123 |
philware | 1:8ea78dce6b36 | 54 | }, |
philware | 1:8ea78dce6b36 | 55 | "local-port": { |
philware | 1:8ea78dce6b36 | 56 | "help": "The local port to use when testing sock.bind()", |
philware | 1:8ea78dce6b36 | 57 | "value": 16 |
philware | 1:8ea78dce6b36 | 58 | }, |
philware | 1:8ea78dce6b36 | 59 | "udp-max-packet-size": { |
philware | 1:8ea78dce6b36 | 60 | "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", |
philware | 1:8ea78dce6b36 | 61 | "value": 508 |
philware | 1:8ea78dce6b36 | 62 | } |
philware | 1:8ea78dce6b36 | 63 | "udp-max-frag-packet-size": { |
philware | 1:8ea78dce6b36 | 64 | "help": "The maximum size of UDP data to test with that we know will be fragmented across multiple UDP packets", |
philware | 1:8ea78dce6b36 | 65 | "value": 1500 |
philware | 1:8ea78dce6b36 | 66 | } |
philware | 1:8ea78dce6b36 | 67 | }, |
philware | 1:8ea78dce6b36 | 68 | "target_overrides": { |
philware | 1:8ea78dce6b36 | 69 | "*": { |
philware | 1:8ea78dce6b36 | 70 | "target.features_add": ["COMMON_PAL"], |
philware | 1:8ea78dce6b36 | 71 | "platform.stdio-convert-newlines": true |
philware | 1:8ea78dce6b36 | 72 | } |
philware | 1:8ea78dce6b36 | 73 | } |
philware | 1:8ea78dce6b36 | 74 | } |