Commit Graph

55 Commits (52c6048dc8c3dba2f8de4a4a425455b970a801c8)

Author SHA1 Message Date
Teppo Järvelin 1abf600d03 Cellular: fix calls to ATHandler::read_string(...) give correct size
ATHandler::read_string(...) buffer size param was changed a long time ago
to include also NULL. Some calls still gave wrong size after this change.
2019-04-25 11:20:05 +03:00
mudassar-ublox 2f37e371b4 C030_N2XX default interface 2019-03-21 11:57:32 +05:00
Teppo Järvelin de7520bd97 Cellular: fix astyle for files that already in master 2019-03-18 13:50:10 +02:00
Teppo Järvelin dba3d42362 Cellular: call AT+CGEREP after sim is ready
Current implementation did call AT+CGEREP before sim was ready
and it was failing in most modems.
2019-03-18 08:10:09 +02:00
Martin Kojtal ab0bc65e0d
Merge pull request #9873 from wajahat-ublox/udnsrn_timeout
Corrected timeout for +UDNSRN command
2019-03-14 09:38:20 +01:00
Martin Kojtal 76fe7267e7
Merge pull request #9637 from u-blox/C030_N211_Cellular_Driver
Cellular: UBLOX_C030_N211 Cellular API's
2019-03-14 09:11:06 +01:00
mudassar-ublox 578fb7ae2b updated api and removed Astyle issue 2019-03-04 16:47:15 +05:00
mudassar-ublox d34b0475a9 C030_N211 api's update and removed N2XX_CellularNetwork class 2019-02-28 14:20:55 +05:00
Wajahat Abbas bafb145dfb Corrected timeout for +UDNSRN command 2019-02-27 13:44:36 +05:00
mudassar-ublox 6c347eafe5 C030_N211 cellular api refactoring 2019-02-26 17:28:01 +05:00
mudassar-ublox da797ef946 C030_N211 cellular api 2019-02-21 14:44:20 +05:00
Tymoteusz Bloch 641189c357 Multihoming change parameter orded in gethostbyname 2019-02-20 14:37:33 +02:00
Tymoteusz Bloch 49141376ee Multihoming initial release
Added Multihoming feature to LWIP (ability to use more than one network interfaces) for increasing networking reliability.
This involves:

    LWIP interface
    LWIP IP routing
    DNS storage
    Sockets (bind to interface name possibility)
    possibility to add non default network interface
    cellular middleware modifications if cellular connection is used
2019-02-19 17:39:46 +02:00
Naveen Kaje 02e42fef3e target: UBLOX: Fix build warning in UBLOX_AT_CellularNetwork.cpp
Fix this build warning seen when building with ARMCC

Compile [ 13.7%]: UBLOX_AT_CellularNetwork.cpp
[Warning] UBLOX_AT_CellularNetwork.cpp@65,0:  #111-D: statement is unreachable
2019-02-12 15:50:23 -06:00
Nir Sonnenschein 8c2ad14ace
Merge pull request #9568 from ARMmbed/feature-cellular-refactor
Merge feature cellular refactor
2019-02-07 18:17:32 +02:00
Martin Kojtal a0ec77d9a8
Merge pull request #9378 from oscarh/master
Add get_connection_status() override in CellularContext
2019-02-05 10:39:00 +01:00
Ari Parkkila 007caa0235 Cellular: Update modem drivers with get_default and other new APIs 2019-01-22 02:24:45 -08:00
Ari Parkkila af0d2cf61d Cellular: Update API description to match better onboard_modem_api 2019-01-22 02:24:45 -08:00
Ari Parkkila 269d151b12 Cellular: Default modem drivers with FF_ARDUINO 2019-01-22 02:24:45 -08:00
Ari Parkkila 75caa75a96 Cellular: Add get_target_default_instance in CellularDevice 2019-01-22 02:24:45 -08:00
Ari Parkkila 139d506a24 Cellular: Move power on/off to device and remove CellularPower 2019-01-22 02:24:45 -08:00
Mirela Chirica d301e13610 Cellular: Non-IP socket and PDP context for EPS control plane data delivery 2019-01-22 02:24:44 -08:00
Teppo Järvelin 0c9130efeb Cellular: change stack_type_supported to get_property
Change usage of AT_CellularContext::stack_type_supported to
AT_CellularBase::get_property. This way we can rid of
targets overriding stack_type_supported and delete
unnecessary classes and simplify new targets.
2019-01-22 02:23:04 -08:00
Teppo Järvelin 7c9f9d47ec Cellular: Remove target files inheriting from AT_CellularNetwork
After AT_CellularNetwork::has_registration was replaced with
CellularProperties and better
AT_CellularNetwork::set_access_technology_impl default
implementation we can delete most of the target specific classes
that inherit AT_CellularNetwork.
2019-01-22 02:23:04 -08:00
Teppo Järvelin 9a72c221d8 Cellular: Change AT_CellularNetwork to use CellularProperties.
This change enables removing function has_registration from
class AT_CellularNetwork and all targets inheriting
AT_CellularNetwork.
2019-01-22 02:23:04 -08:00
Teppo Järvelin 8fcd2e0401 Cellular: changed support features to CellularProperty array. 2019-01-22 02:23:04 -08:00
Oscar Hellström 13222da2b6 Call network status callback from UBLOX AT
The helper method call_network_cb, actually does a lot more than calling
the callback. The method has a check that the network status supplied
for the callback is different compared to the internal one. It also sets
the class member if it is changed. This is a bit surprising, given the
name of the method. It also means that it doesn't work in this call, as
the member is already set.
2019-01-15 09:37:41 +01:00
Fahim Alavi 5caeaed6db Set target C030-R412M in mbed 2019-01-14 17:34:50 +05:00
Martin Kojtal a2ae34b0e6 cellular: fix coding style 2018-11-15 07:23:37 +00:00
Teppo Järvelin 1a047efade Cellular: review fixes, added missing fixes from master. 2018-11-11 14:13:05 +02:00
Teppo Järvelin 9fb83024ea Changed CellularContext to inherit from CellularBase instead of NetworkInterface. \n Changed Device constructor to take Filehandle instead of eventqueue. 2018-11-11 14:13:05 +02:00
Teppo Järvelin ad2abbe887 Cellular: major refactoring while introducing new CellularContext class. 2018-11-11 14:12:49 +02:00
Martin Kojtal 71d35749f9 cellular: fix coding style 2018-11-07 08:56:32 +00:00
Cruz Monrreal 66968c5bb0
Merge pull request #8371 from u-blox/ublox-cellular-unsupported-features
Cellular: Add unsupported features for UBLOX targets
2018-10-30 08:46:47 -05:00
mudassar-ublox 0b2d508991 Added unsupported features for UBLOX targets 2018-10-26 10:05:37 +05:00
Kimmo Vaisanen 963bf8146d Cellular: Refactor basic AT command stop and response reading into own method
This reduces ROM usage by few hundred bytes.
2018-10-22 09:44:12 +03:00
mudassar-ublox 9c2686fda6 error handling for socket create 2018-10-08 12:24:40 +05:00
Teppo Järvelin 8f4acc14ca Cellular: CellularDevice:get_default_instance() implemented
Removed copy-paste code from targets by creating implementation methods to override.
2018-09-07 14:49:18 +03:00
Ari Parkkila 1eb1fabad0 Cellular: Allow cellular modules to override network registration mode 2018-08-24 04:27:49 -07:00
Cruz Monrreal 17a525c487
Merge pull request #7619 from u-blox/cellular_ublox_udp_tcp_imp
UBLOX cellular api's for UDP and TCP
2018-08-21 10:12:47 -05:00
mudassar-ublox f512668230 Replaced rx_avail with pending_bytes 2018-08-15 16:54:40 +05:00
mudassar-ublox f9aaee55dd Support added for async sockets 2018-08-15 14:52:57 +05:00
mudassar-ublox 122e771063 socket_open function removed 2018-07-31 15:09:29 +05:00
mudassar-ublox ffb4f926e9 Artistic style applied and updated power function 2018-07-30 19:41:02 +05:00
Martin Kojtal cde18aa0bc cellular: astyle fix 2018-07-27 13:33:20 +01:00
mudassar-ublox a8abeccdac UBLOX cellular api's for UDP and TCP 2018-07-26 19:20:38 +05:00
Teppo Järvelin 2aa5c32aa4 Cellular: added greentea test for cellular device. 2018-06-04 10:25:54 +03:00
Teppo Järvelin b3226acbbf Cellular: Fixed rebase error. 2018-04-11 09:38:13 +03:00
Teppo Järvelin 83ea9be5f5 temp commit while changing work... 2018-04-11 09:31:44 +03:00
Bilal c376e501aa Moving deprecated warnings outside the class 2018-03-27 12:55:38 +05:00