Commit Graph

21923 Commits (ba3727b4e83c94cc54a182a52217159357f512e8)

Author SHA1 Message Date
Mirela Chirica ba3727b4e8 Cellular: Unit tests for Non-IP socket 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 84e5013a2d Cellular: added setting of data carrier support for UART. 2019-01-22 02:23:04 -08:00
Teppo Järvelin 725e14d15f Cellular: Add State machine unit tests. 2019-01-22 02:23:04 -08:00
Teppo Järvelin 97709f52ec Cellular: fix possible crash in state machine
_sim_pin was changed to pointer from array and length was checked with
strlen. If _sim_pin was null it caused crash. Fix by checking _sim_pin against NULL.
Power class could have been called without checking if power is NULL. Fix by checking
that power class is not null.
Fix state machine to return correct states when queried.
2019-01-22 02:23:04 -08:00
Teppo Järvelin fa5d0fc358 Cellular: Added generic cellular modem
Generic cellular module (GENERIC_AT3GPP) can by used as a default
module when porting new cellular module. It's a good starting point
and eases porting of new modules. GENERIC_AT3GPP uses only standard
3GPP AT commands when communicating with the modem.
2019-01-22 02:23:04 -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 b0d37ebec4 Cellular: Removed unnecessary checks after new
After this change we were able to change methods
ATHandler::set_urc_handler and CellularDevice::set_ready_cb to void
and simplify error handling.
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
Ari Parkkila c7486b2a0d Cellular: Added shutdown() 2019-01-22 02:23:04 -08:00
Ari Parkkila bdddb445a6 Cellular: Moved reset from power to device 2019-01-22 02:23:03 -08:00
Ari Parkkila 1bc84404b2 Cellular: Removed set_power_level() 2019-01-22 02:23:03 -08:00
Ari Parkkila 0813b969f7 Cellular: Unify set_at_mode and init_module into init() 2019-01-22 02:23:03 -08:00
Ari Parkkila 2dde5a4376 Cellular: Move ready_cb from power to device 2019-01-22 02:23:03 -08:00
Ari Parkkila 19b24946df Cellular: AT remove_urc_handler changed to set_urc_handler(prefix, 0) 2019-01-22 02:23:03 -08:00
Ari Parkkila e49f90fb0b Cellular: Move device_ready from power to device 2019-01-22 02:23:03 -08:00
Ari Parkkila 38f79a9b65 Cellular: Move PSM setting from power to device 2019-01-22 02:23:03 -08:00
Ari Parkkila 36292a4f14 Cellular: Move eDRX setting from power to network 2019-01-22 02:23:03 -08:00
Teemu Kultala 22a536a78a cellular: eps ciot optimization network support check astyle fix 2019-01-22 02:23:03 -08:00
Teemu Kultala f94117559b cellular: eps ciot optimization network support check
-added an API for checking network eps ciot optimization support
-renamed the API for getting the UE parameters
-the API for setting the UE parameters includes now a callback, which
will be called once network support for eps ciot optimization is known
2019-01-22 02:23:03 -08:00
Teppo Järvelin 22d9105318 Removed CellularSIM interface.
Moved methods to classes CellularDevice and CellularInformation.
SIM interface was removed to simplify cellular usage and
methods better suite new classes.
Updated greentea and unit tests.
2019-01-22 02:23:03 -08:00
Ari Parkkila 235c2bc00d Cellular: Removed get_extended_signal_quality and changed get_signal_quality 2019-01-22 02:23:03 -08:00
Teppo Järvelin 08bd651ae4 Cellular: Fixed CellularStateMachine to stop on all target states. 2019-01-22 02:23:03 -08:00
Martin Kojtal 31579fe4bb
Merge pull request #9328 from SeppoTakalo/ip-core-doxygen
Doxygen fixes for IP networking area
2019-01-22 10:48:10 +01:00
Martin Kojtal bab6e2cb0b
Merge pull request #9440 from davidsaada/david_lfs_emubd_ignore
Put LittleFS emulated BD module under .mbedignore
2019-01-22 09:33:40 +01:00
Martin Kojtal cf75dc4b43
Merge pull request #9286 from alekla01/alekla01-include_check-patch-1
travis: Add include_check job
2019-01-22 09:33:20 +01:00
Martin Kojtal 1568be0771
Merge pull request #9389 from cmonr/fixed-travisCI-python-modules
Travis CI: Bind remaining python modules
2019-01-21 16:39:45 +01:00
Aleksi Klasila fc41ea90d2 Add Travis include mbed.h check 2019-01-21 16:47:44 +02:00
Martin Kojtal a09b5f5c6b
Merge pull request #9416 from fkjagodzinski/test_update-systimer
RTOS: SysTimer: Fix test timing issues
2019-01-21 13:44:53 +01:00
Martin Kojtal 7b29593a41
Merge pull request #9415 from SeppoTakalo/ONME-4140
Allow NSAPI_ERROR_UNSUPPORTED from Socket::setsockopt()
2019-01-21 13:43:37 +01:00
Martin Kojtal 4019efb21d
Merge pull request #9399 from paul-szczepanek-arm/fix-null-check
BLE: fix missing null checks on Gap event handler
2019-01-21 13:43:16 +01:00
Martin Kojtal 5c46faeb86
Merge pull request #9417 from jeromecoutant/PR_DNSTIMEOUT
Netsocket DNS test: increase timeout value
2019-01-21 13:42:24 +01:00
Martin Kojtal ad5bcfc1de
Merge pull request #9427 from paul-szczepanek-arm/fix-truncation
BLE: fix possible truncation
2019-01-21 13:42:07 +01:00
Martin Kojtal a23a850a42
Merge pull request #9247 from kjbracey-arm/atomic_load_store
Add atomic loads and stores and barriers
2019-01-21 13:39:00 +01:00
Martin Kojtal 2a7a3262c8
Merge pull request #9398 from kjbracey-arm/no_armc6_warn
Revert "Warn with ARMC6 and not v8m"
2019-01-21 13:37:59 +01:00
Martin Kojtal 344a3017af
Merge pull request #9422 from u-blox/i_gnss
PB_1 is not connected to D4 in R412M above
2019-01-21 13:36:49 +01:00
Martin Kojtal 67dd4496bf
Merge pull request #9248 from kjbracey-arm/socket_pending_atomic
InternetSocket: use atomics, not volatile
2019-01-21 13:35:47 +01:00
Martin Kojtal 091fe2bed4
Merge pull request #9401 from loverdeg-ep/custom-targets-option
tools: adds and implements a --custom-targets command line switch
2019-01-21 13:17:01 +01:00
Martin Kojtal 27cce81580
Merge pull request #9258 from jeromecoutant/PR_FLASHSKIP
FLASH test: skip test if test region overlaps code
2019-01-21 13:15:51 +01:00
Martin Kojtal acd1e986f0
Merge pull request #9428 from 0xc0170/fix_exporters
STM32H743ZI: iar removal as not supported in v7.x
2019-01-21 13:15:30 +01:00
Seppo Takalo 58c2760e3f Fix spelling mistakes 2019-01-21 11:54:49 +02:00
Seppo Takalo 6b8b108ceb Add missing copyright header. 2019-01-21 11:47:41 +02:00
Seppo Takalo 6f15b04655 Fix review findings. 2019-01-21 11:45:13 +02:00
Mel Weed 0f0469d03d editorial changes 2019-01-21 11:45:13 +02:00
Mel Weed b79b608362 mbed-tls/TLS to Mbed TLS 2019-01-21 11:45:13 +02:00
Mel Weed 40418d8ff9 grammatical corrections 2019-01-21 11:45:13 +02:00
Mel Weed ea296afec2 editorial changes, punctuation 2019-01-21 11:45:13 +02:00
Kari Haapalehto fcd497303d Review changes 2019-01-21 11:45:12 +02:00