Commit Graph

9 Commits (278df6938a085eca975e26f01dbdba5748eef4d2)

Author SHA1 Message Date
Amanda Butler 6431ae2e9d Copy edit PPPCellularInterface.h
Copy edit file for grammar.
2018-04-20 15:31:55 +01:00
Teppo Järvelin 1e4e656609 Cellular: Updated doxygen for deprecated API's. 2018-04-20 15:31:55 +01:00
Teppo Järvelin 08d681a82a PR review findings, updated deprecated comments. 2018-03-26 18:52:24 +01:00
Antti Kauppila 6dd0a79e39 MBED_DEPRECATED_SINCE taken into use 2018-03-26 18:52:24 +01:00
Teppo Järvelin dbaa387a31 Added deprecation notes to old cellular interfaces. 2018-03-26 18:52:24 +01:00
Brendan McDonnell f94dd8d2e7 typos 2018-03-26 18:52:24 +01:00
Teemu Kultala 5a7482667e NSAPI status callback changes
This is the original content of feature-status-callbacks, reviewed in
https://github.com/ARMmbed/mbed-os/pull/5457
2018-02-09 12:44:31 +02:00
Mika Leppänen dd346ec5a8 Either ipv4 or ipv4v6 PPP and IP stacks are enabled based on 3GPP context 2017-08-22 13:14:41 +03:00
Hasnain Virk 24de27c989 Major Refactoring & extensions
For keep supporting external APIs with the same name (supposedly there are a larger
number of users of those APIs), BufferedSerial and ATParser are being renamed.
BufferedSerial becomes UARTSerial, will complement a  future USBSerial etc.
ATParser becomes ATCmdParser.

* UARTSerial moves to /drivers

* APN_db.h is moved from platform to cellular/util/.

* Original CellularInterface is restored for backward compatability (again, supposedly there
  are users of that).

* A new file, CellularBase is added which will now servce as the base class for all
  upcoming drivers.

* Special restructuring for the driver has been undertaken. This makes a clear cut distinction
  between an on-board or an off-board implementation.
  	- PPPCellularInterface is a generic network interface that works with a generic FileHandle
          and PPP. A derived class is needed to pass that FileHandle.
        - PPPCellularInterface provides some base functionality like network registration, AT setup,
          PPP connection etc. Lower level job is delegated to the derived classes and various modem
          specific APIs are provided which are supposed to be overridden.
        - UARTCellularInterface is derived from PPPCellularInterface. It constructs a FileHandle and
          passes it back to PPPCellularInterface as well as provides modem hangupf functionality.
          In future we could proive a USBInterface that would derive from PPPCellularInterface and could
          pass the FileHandle back.
	- OnboardCellularInterface is derived from UARTCellularInterfae and provides hooks to
          the target provided implementation of onbard_modem_api.h. An off-board modem, i.e, a modem on
          a shield has to override the modem_init(), modem_power_up() etc as it cannot use
          onboard_modem_api.h.
2017-05-31 15:02:11 +03:00