Fork of ublox-at-cellular-interface to add LARA-R2 support

Dependents:  

Fork of ublox-at-cellular-interface by u-blox

Committer:
rob.meades@u-blox.com
Date:
Thu Jun 15 14:04:26 2017 +0100
Revision:
6:63dad754c267
Parent:
0:7ccf0e7e8a83
Child:
8:edac5187d765
Improve template, add extra time for gethostbyname() as it seems to take an age on some networks, rename "driver" to "interface" for consistency with the PPP test suite.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
RobMeades 0:7ccf0e7e8a83 1 {
RobMeades 0:7ccf0e7e8a83 2 "config": {
RobMeades 0:7ccf0e7e8a83 3 "debug-on": {
RobMeades 0:7ccf0e7e8a83 4 "help": "Set to true to get AT interface debug",
RobMeades 0:7ccf0e7e8a83 5 "value": false
RobMeades 0:7ccf0e7e8a83 6 },
RobMeades 0:7ccf0e7e8a83 7 "run-sim-pin-change-tests": {
RobMeades 0:7ccf0e7e8a83 8 "help": "If 1, run the SIM PIN change tests, for which default-pin must be defined",
RobMeades 0:7ccf0e7e8a83 9 "value": 0
RobMeades 0:7ccf0e7e8a83 10 },
RobMeades 0:7ccf0e7e8a83 11 "default-pin": {
RobMeades 0:7ccf0e7e8a83 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",
RobMeades 0:7ccf0e7e8a83 13 "value": "\"1234\""
RobMeades 0:7ccf0e7e8a83 14 },
RobMeades 0:7ccf0e7e8a83 15 "apn": {
RobMeades 0:7ccf0e7e8a83 16 "help": "The APN string to use for this SIM/network, set to 0 if none",
RobMeades 0:7ccf0e7e8a83 17 "value": 0
RobMeades 0:7ccf0e7e8a83 18 },
RobMeades 0:7ccf0e7e8a83 19 "username": {
RobMeades 0:7ccf0e7e8a83 20 "help": "The user name string to use for this APN, set to zero if none",
RobMeades 0:7ccf0e7e8a83 21 "value": 0
RobMeades 0:7ccf0e7e8a83 22 },
RobMeades 0:7ccf0e7e8a83 23 "password": {
RobMeades 0:7ccf0e7e8a83 24 "help": "The password string to use for this APN, set to 0 if none",
RobMeades 0:7ccf0e7e8a83 25 "value": 0
RobMeades 0:7ccf0e7e8a83 26 },
RobMeades 0:7ccf0e7e8a83 27 "alt-pin": {
RobMeades 0:7ccf0e7e8a83 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)",
RobMeades 0:7ccf0e7e8a83 29 "value": "\"9876\""
RobMeades 0:7ccf0e7e8a83 30 },
RobMeades 0:7ccf0e7e8a83 31 "incorrect-pin": {
RobMeades 0:7ccf0e7e8a83 32 "help": "A SIM PIN (as a string) that should not be the same as default-pin or alt-pin",
RobMeades 0:7ccf0e7e8a83 33 "value": "\"1530\""
RobMeades 0:7ccf0e7e8a83 34 },
RobMeades 0:7ccf0e7e8a83 35 "echo-server": {
RobMeades 0:7ccf0e7e8a83 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)",
RobMeades 0:7ccf0e7e8a83 37 "value": "\"yourechoserver.com\""
RobMeades 0:7ccf0e7e8a83 38 },
RobMeades 0:7ccf0e7e8a83 39 "echo-udp-port": {
RobMeades 0:7ccf0e7e8a83 40 "help": "The port to connect to on echo-server for UDP testing",
RobMeades 0:7ccf0e7e8a83 41 "value": 7
RobMeades 0:7ccf0e7e8a83 42 },
RobMeades 0:7ccf0e7e8a83 43 "echo-tcp-port": {
RobMeades 0:7ccf0e7e8a83 44 "help": "The port to connect to on echo-server for TCP testing",
RobMeades 0:7ccf0e7e8a83 45 "value": 7
RobMeades 0:7ccf0e7e8a83 46 },
RobMeades 0:7ccf0e7e8a83 47 "ntp-server": {
RobMeades 0:7ccf0e7e8a83 48 "help": "The URL string of the NTP server to use during testing",
RobMeades 0:7ccf0e7e8a83 49 "value": "\"2.pool.ntp.org\""
RobMeades 0:7ccf0e7e8a83 50 },
RobMeades 0:7ccf0e7e8a83 51 "ntp-port": {
RobMeades 0:7ccf0e7e8a83 52 "help": "The port to connect to on ntp-server",
RobMeades 0:7ccf0e7e8a83 53 "value": 123
RobMeades 0:7ccf0e7e8a83 54 },
RobMeades 0:7ccf0e7e8a83 55 "local-port": {
RobMeades 0:7ccf0e7e8a83 56 "help": "The local port to use when testing sock.bind()",
RobMeades 0:7ccf0e7e8a83 57 "value": 16
RobMeades 0:7ccf0e7e8a83 58 },
RobMeades 0:7ccf0e7e8a83 59 "udp-max-packet-size": {
RobMeades 0:7ccf0e7e8a83 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",
RobMeades 0:7ccf0e7e8a83 61 "value": 508
RobMeades 0:7ccf0e7e8a83 62 }
RobMeades 0:7ccf0e7e8a83 63 "udp-max-frag-packet-size": {
RobMeades 0:7ccf0e7e8a83 64 "help": "The maximum size of UDP data to test with that we know will be fragmented across multiple UDP packets",
RobMeades 0:7ccf0e7e8a83 65 "value": 1500
RobMeades 0:7ccf0e7e8a83 66 }
RobMeades 0:7ccf0e7e8a83 67 },
RobMeades 0:7ccf0e7e8a83 68 "target_overrides": {
RobMeades 0:7ccf0e7e8a83 69 "*": {
RobMeades 0:7ccf0e7e8a83 70 "target.features_add": ["COMMON_PAL"],
rob.meades@u-blox.com 6:63dad754c267 71 "platform.stdio-convert-newlines": true
RobMeades 0:7ccf0e7e8a83 72 }
RobMeades 0:7ccf0e7e8a83 73 }
RobMeades 0:7ccf0e7e8a83 74 }