This class adds HTTP, FTP and CellLocate client support for u-blox modules for the C027 and C030 boards (excepting the C030 N2xx flavour) from mbed 5.5 onwards. The HTTP, FTP and CellLocate operations are all hosted on the module, minimizing RAM consumption in the mbed MCU. It also sub-classes ublox-cellular-driver-gen to bring in SMS, USSD and modem file system support if you need to use these functions at the same time as the cellular interface.
Dependencies: ublox-at-cellular-interface
Dependents: example-ublox-at-cellular-interface-ext HelloMQTT ublox_new_driver_test example-ublox-at-cellular-interface-ext ... more
TESTS/unit_tests/ftp/template_mbed_app.txt@11:3631f62bb359, 2017-06-16 (annotated)
- Committer:
- rob.meades@u-blox.com
- Date:
- Fri Jun 16 00:55:19 2017 +0100
- Revision:
- 11:3631f62bb359
- Parent:
- 0:0b75e22c9231
Remove return code from ftpResetPar() since not all modules support all parameters and hence it's not possible to be certain which are errors and which are normal. Change order of parameters in ftpCommand() as offset is truly optional (it is not supported by Sara-G350). Make switching on of +ULOCIND URC optional (it is only informative and is not supported by Sara-G350). Update UbloxAtCellularInterface library version. Update mbed_app.json templates. Don't run the HTTP TLS test on C027 as Sara-G350 doesn't support it.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
RobMeades | 0:0b75e22c9231 | 1 | { |
RobMeades | 0:0b75e22c9231 | 2 | "config": { |
RobMeades | 0:0b75e22c9231 | 3 | "ftp-server": { |
RobMeades | 0:0b75e22c9231 | 4 | "help": "An FTP server to use when running the FTP tests", |
RobMeades | 0:0b75e22c9231 | 5 | "value": "\"test.rebex.net\"" |
RobMeades | 0:0b75e22c9231 | 6 | }, |
RobMeades | 0:0b75e22c9231 | 7 | "ftp-username": { |
RobMeades | 0:0b75e22c9231 | 8 | "help": "The user name for the FTP server account", |
RobMeades | 0:0b75e22c9231 | 9 | "value": "\"demo\"" |
RobMeades | 0:0b75e22c9231 | 10 | }, |
RobMeades | 0:0b75e22c9231 | 11 | "ftp-password": { |
RobMeades | 0:0b75e22c9231 | 12 | "help": "The password for the FTP server account", |
RobMeades | 0:0b75e22c9231 | 13 | "value": "\"password\"" |
RobMeades | 0:0b75e22c9231 | 14 | }, |
RobMeades | 0:0b75e22c9231 | 15 | "ftp-use-passive": { |
RobMeades | 0:0b75e22c9231 | 16 | "help": "Set to true to use passive mode, otherwise false (defaults to true, since this is needed for most cases)", |
RobMeades | 0:0b75e22c9231 | 17 | "value": true |
RobMeades | 0:0b75e22c9231 | 18 | }, |
RobMeades | 0:0b75e22c9231 | 19 | "ftp-server-supports-write": { |
RobMeades | 0:0b75e22c9231 | 20 | "help": "Set to true if the FTP server supports PUT, rename, MKDIR and delete, otherwise set to false", |
RobMeades | 0:0b75e22c9231 | 21 | "value": false |
RobMeades | 0:0b75e22c9231 | 22 | }, |
RobMeades | 0:0b75e22c9231 | 23 | "ftp-filename": { |
RobMeades | 0:0b75e22c9231 | 24 | "help": "A filename to use during FTP tests. This file must already exist on the server if the server does not support write", |
RobMeades | 0:0b75e22c9231 | 25 | "value": "\"readme.txt\"" |
RobMeades | 0:0b75e22c9231 | 26 | }, |
RobMeades | 0:0b75e22c9231 | 27 | "ftp-dirname": { |
rob.meades@u-blox.com | 11:3631f62bb359 | 28 | "help": "A directory name to use during FTP tests. This directory must already exist on the server if the server does not support write. If the server does support write, this must not be a substring of ftp-filename. ", |
RobMeades | 0:0b75e22c9231 | 29 | "value": "\"pub\"" |
RobMeades | 0:0b75e22c9231 | 30 | } |
RobMeades | 0:0b75e22c9231 | 31 | }, |
RobMeades | 0:0b75e22c9231 | 32 | "target_overrides": { |
RobMeades | 0:0b75e22c9231 | 33 | "*": { |
rob.meades@u-blox.com | 11:3631f62bb359 | 34 | "target.features_add": ["COMMON_PAL"], |
rob.meades@u-blox.com | 11:3631f62bb359 | 35 | "platform.stdio-convert-newlines": true |
RobMeades | 0:0b75e22c9231 | 36 | } |
RobMeades | 0:0b75e22c9231 | 37 | } |
RobMeades | 0:0b75e22c9231 | 38 | } |
RobMeades | 0:0b75e22c9231 | 39 |