Commit Graph

391 Commits (8e41cac58386568c6f91d7e1b2eb5508fda30cbd)

Author SHA1 Message Date
Cruz Monrreal f9e5167126
Merge pull request #8258 from mirelachirica/fix_compile_warning_network
Cellular: Fix compile warnings for CellularNetwork
2018-10-11 10:11:54 -05:00
Cruz Monrreal c43a3f4dfb
Merge pull request #8148 from kivaisan/wise_1570_cellular_tcp
Cellular: Quectel BC95 TCP socket support
2018-10-10 15:49:30 -05:00
Mirela Chirica ffb9cdb4b3 Cellular: Registration parameters as struct 2018-10-09 10:49:47 +03:00
Mirela Chirica 723e913bcc Cellular: AT handler read string up to delimiter or stop tag 2018-10-09 10:47:25 +03:00
Cruz Monrreal b15d09173e
Merge pull request #8315 from kivaisan/fix_cellular_unittests
Fix cellular unittests
2018-10-08 10:24:31 -05:00
Cruz Monrreal bff4f4be6c
Merge pull request #8268 from mirelachirica/fix_gt_set_credentials
Cellular: Fix greentea network set credentials test case
2018-10-08 10:17:05 -05:00
Cruz Monrreal b153bb3f77
Merge pull request #8057 from korjaa/remove_sim_pin_print
Removed cellular PIN code print from debug log.
2018-10-08 10:07:11 -05:00
Martin Kojtal 365d61e4a9
Merge pull request #7304 from cedrickkukela-cd/MTS_DRAGONFLY_L471QG_pull_request_feature_changes
Add MTS dragonfly, MTS dragonfly l471
2018-10-08 11:06:23 +02:00
mudassar-ublox 9c2686fda6 error handling for socket create 2018-10-08 12:24:40 +05:00
Ari Parkkila 3784dd066e Cellular: Fixed AT drivers for Gemalto/Cinterion cellular module to close internet service and profile. 2018-10-08 00:14:29 -07:00
mudassar-ublox 903b6d6d19 C030_R410M cellular target added 2018-10-05 17:21:51 +05:00
Martin Kojtal 2247494596
Merge pull request #7978 from jarvte/fix_cellular_no_pin
Cellular: state machine and easycellular now return error fast if sim…
2018-10-04 13:38:34 +02:00
Kimmo Vaisanen 05f0ba8e97 Cellular: Fix AT_CellularStack unittest
Missing CellularSocket constructor caused uninitialized values to be used.

Also changed comparision macros to ASSERT_EQ as suggested by GoogleTest guide.
2018-10-03 14:44:34 +03:00
Leon Lindenfelser f0a5dce37f Delete commented out merge conflict resolution 2018-10-01 08:25:47 -05:00
Jaakko Korhonen 473ac20017 Removed cellular PIN code print from debug log. 2018-10-01 09:11:28 +03:00
Leon Lindenfelser 88c1cd1e37 Add header so cellular_power tests compile and run 2018-09-27 15:49:06 -05:00
Leon Lindenfelser ff817de28c Fix broken cellular_device test and delete commented code 2018-09-27 14:21:57 -05:00
Cruz Monrreal 9bd17d33f3
Merge pull request #7934 from wajahat-ublox/psm_method_typo
corrected a typo in AT_CellularPower::opt_power_save_mode
2018-09-27 10:20:44 -05:00
Mirela Chirica 85df0b5cce Cellular: Fix greentea network set credentials test case 2018-09-27 13:51:49 +03:00
Leon Lindenfelser 97d6a91eb9 Fix rebase conflict file 2018-09-26 15:54:03 -05:00
Leon Lindenfelser 9791e98575 Fix so building for other targets does not fail 2018-09-26 15:39:42 -05:00
Leon Lindenfelser 5ff0eb9d92 Rebase and changes for Dragonfly nano support 2018-09-26 15:39:42 -05:00
Leon Lindenfelser 55bcf93574 Fixed spacing/tabs and clean up targets.json 2018-09-26 15:37:33 -05:00
cedrick kukela 59dda88e05 changes to support mts dragonfly nano ppp 2018-09-26 15:37:33 -05:00
Mirela Chirica 265255305a Cellular: Fix compile warnings for CellularNetwork 2018-09-26 16:39:05 +03:00
Mirela Chirica 983425e4fc Cellular: Fix cellular network unit test 2018-09-24 15:15:18 +03:00
Martin Kojtal 2e049ce035
Merge pull request #8019 from jarvte/fix_crash_in_close_cellularnetwork
Cellular: fixed crash when closing CellularNetwork via CellularDevice.
2018-09-24 09:06:34 +02:00
Cruz Monrreal 73a96a68cf
Merge pull request #8147 from AriParkkila/cell-auth
Fix authentication on a cellular network for Access Point Name (APN)
2018-09-22 16:25:35 -05:00
Kimmo Vaisanen 7931378245 Cellular: Quectel BG96 TCP socket support 2018-09-19 13:01:48 +03:00
Cruz Monrreal f00c5643e5
Merge pull request #7944 from AnttiKauppila/unittests
Cellular Unittests refactored to GoogleTest framework
2018-09-18 11:30:23 -05:00
Teppo Järvelin ed7606bf0c Cellular: fixed crash when closing CellularNetwork via CellularDevice. 2018-09-18 14:45:07 +03:00
Martin Kojtal 87daf8f8c3
Merge pull request #7969 from jarvte/cellu_multiple_context
Cellular: CellularDevice:get_default_instance() implemented
2018-09-17 14:52:10 +02:00
Ari Parkkila 13106fb774 Cellular: Disable AT+CGAUTH on HE910 and BC95 2018-09-17 03:28:18 -07:00
Kimmo Vaisanen 1f1b5d3a5a Cellular: Quectel BC95 TCP socket support 2018-09-17 13:06:24 +03:00
Antti Kauppila a6b4938844 Small improvements for test cases 2018-09-17 12:07:43 +03:00
Antti Kauppila adc4ce4385 Old Cellular UNITTESTS removed 2018-09-17 12:07:43 +03:00
Ari Parkkila 4698cd268d Cellular: Implement APN authentication for BG96 2018-09-17 01:14:59 -07:00
Ari Parkkila fb899d2cc1 Cellular: Fix APN authentication before context activation 2018-09-17 01:14:59 -07: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
Cruz Monrreal 06106297a4
Merge pull request #6293 from Taiki-San/patch-1
Reduce .text footprint of the network stack
2018-09-05 10:16:04 -05:00
Teppo Järvelin 69bcbd84db Cellular: state machine and easycellular now return error fast if sim pin needed but not provided. 2018-09-04 13:13:35 +03:00
Martin Kojtal b20fd506c1
Merge pull request #7910 from AriParkkila/cell-test-attach
Cellular: Fix Greentea test for network attach
2018-09-04 08:20:38 +02:00
Martin Kojtal e7b3c0d727
Merge pull request #7894 from jarvte/fix_cellular_unittests
Cellular: CellularDevice unittests fix initialization
2018-09-02 20:18:25 +02:00
Wajahat Abbas acd6ff304a corrected a typo in AT_CellularPower::opt_power_save_mode 2018-08-30 16:47:09 +05:00
Cruz Monrreal e649beac5e
Merge pull request #7788 from AriParkkila/cell-copn
Cellular: Fixed AT+COPN
2018-08-29 09:38:13 -05:00
Cruz Monrreal 7b29f7d2e8
Merge pull request #7795 from mirelachirica/issue_7470_access_to_power
Cellular: Add getters for device and serial to EasyCellularConnection
2018-08-29 09:37:38 -05:00
Ari Parkkila ce84209507 Cellular: Fix Greentea test for network attach 2018-08-28 06:20:50 -07:00
Taiki 758f6d2e83 Switch the IPv4 parser to the one recently introduced in libservice. Return a bool value on wether parsing of the IPv4 address string was successful 2018-08-28 14:00:54 +02:00
Ari Parkkila 90fe9de8ed Cellular: Fixed network registration on Gemalto AT drivers 2018-08-28 02:14:28 -07:00
Ari Parkkila 9d0e3d8797 Cellular: Added support for the Gemalto/EMS31 cellular module 2018-08-28 02:14:28 -07:00
Ari Parkkila a14ac31f68 Cellular: Added support for the Gemalto/BGS2 cellular module 2018-08-28 02:14:28 -07:00
Ari Parkkila 761e01f55c Cellular: Gemalto Cinterion support for ELS61 2018-08-28 02:14:28 -07:00
Martin Kojtal 9e012c3de6
Merge pull request #7860 from AriParkkila/cell-reg-mode
Cellular: Allow cellular modules to override network registration mode
2018-08-28 10:42:48 +02:00
Teppo Järvelin 5e6988899c Cellular: review fix removed magic numbers from unit tests. 2018-08-28 07:36:49 +03:00
Cruz Monrreal 7ac4bf4a4e
Merge pull request #7870 from AriParkkila/cell-cgdata
Cellular: Support for GPRS dial-up
2018-08-27 10:29:44 -05:00
Cruz Monrreal 686b77949f
Merge pull request #7857 from AriParkkila/cell-stack-mt
Cellular: Make AT_CellularStack socket array multi-thread safe
2018-08-27 10:29:29 -05:00
Teppo Järvelin ccb75d2771 Cellular: fixed CellularDevice unittests by doing proper initializations between tests. 2018-08-27 13:00:20 +03:00
Ari Parkkila 1eb1fabad0 Cellular: Allow cellular modules to override network registration mode 2018-08-24 04:27:49 -07:00
Martin Kojtal 582b414ea2
Merge pull request #7840 from mirelachirica/wise_1570_greentea_tests
WISE_1570 greentea tests
2018-08-24 11:31:44 +02:00
Ari Parkkila 4b223b6ff2 Cellular: Make AT_CellularStack socket array multi-thread safe 2018-08-24 00:21:26 -07:00
Ari Parkkila d208706fd6 Cellular: Support for GPRS dial-up 2018-08-23 02:37:47 -07:00
Mirela Chirica 9ef2d0d5ca Cellular: Fix information greentea tests for BC95 modem 2018-08-22 14:41:31 +03:00
Mirela Chirica 8db370c642 Cellular: Fix sim greentea tests for BC95 modem 2018-08-22 14:41:30 +03:00
Mirela Chirica c0b8a113b1 Cellular: Fix network greentea tests for BC95 modem 2018-08-22 14:40:22 +03:00
Mirela Chirica b5d68b546a Cellular: In LTE mode last PDP context cannot be deactivated 2018-08-22 14:38:18 +03: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
Cruz Monrreal cd0126ae29
Merge pull request #7768 from jarvte/document_all_cellular_errcodes
Cellular: Document all possible error codes for cellular API.
2018-08-21 09:42:55 -05:00
Amanda Butler 9f5a71a7bb
Copy edit CellularSMS.h
Copy edit file for parallelism, consistent capitalization and minor grammar nits.
2018-08-20 15:41:25 -05:00
Amanda Butler 23da904f8e
Copy edit CellularSIM.h
Copy edit for parallelism, and fix typo and capitalization from before these changes.
2018-08-20 15:36:37 -05:00
Amanda Butler 14e1745ec6
Copy edit CellularPower.h
Copy edit file for parallelism, and fix typo
2018-08-20 15:32:40 -05:00
Amanda Butler 9d4bb83cc6
Copy edit CellularNetwork.h
Copy edit file for parallelism and active voice.
2018-08-20 15:22:15 -05:00
Amanda Butler 7181afcf69
Copy edit CellularInformation.h
Copy edit file for parallelism and active voice.
2018-08-20 15:11:53 -05:00
Cruz Monrreal 871ee09c7a
Merge pull request #7667 from AriParkkila/cellular-detect
Cellular: Add CellularDevice::init_module API to be called at startup
2018-08-17 11:09:11 -05:00
Cruz Monrreal 7b8a13791b
Merge pull request #7740 from mirelachirica/missing_resp_stop
Cellular: Handle AT response stop in case IP address is missing from …
2018-08-16 09:06:05 -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
Mirela Chirica 2c29852dba Cellular: Added getters for device and serial to EasyCellularConnection 2018-08-15 09:34:59 +03:00
Ari Parkkila 5f8f47590f Cellular: Fixed AT+COPN 2018-08-14 04:47:58 -07:00
Teppo Järvelin 907fede1d7 Cellular: review fixes for doxygen changes of return values. 2018-08-13 15:09:14 +03:00
Teppo Järvelin 66fcbb9291 Cellular: Document all possible error codes for cellular API. 2018-08-13 09:45:25 +03:00
Teppo Järvelin a8faeac365 Cellular: Fixed sms greentea by removing uncommon character set setting 2018-08-10 14:00:42 +03:00
Teppo Järvelin 6a64ca9a69 Cellular: Fixed sms greentea tests init
Fixed sms greentea tests by making sure that device is ready to accept
AT commands before sending them.
2018-08-10 13:57:01 +03:00
Mirela Chirica c217a521f4 Cellular: Handle AT response stop in case IP address is missing from CGPADDR response 2018-08-09 11:41:19 +03:00
Teemu Kultala df8252539b sms gt tests: rebase and astyle fix 2018-08-07 16:34:46 +03:00
Teemu Kultala 2b82746ae2 sms gt tests: changes after review 2018-08-07 14:10:57 +03:00
Teemu Kultala f9a90d82b0 sms gt tests 2018-08-07 14:10:57 +03:00
Cruz Monrreal 4000e009c1
Merge pull request #7564 from wajahat-ublox/ublox_idle_mode
Cellular: Make ATHandler::cmd_start() virtual
2018-08-02 10:11:55 -05:00
Teppo Järvelin b761e7b5a3 Cellular: fixed greentea tests C027 and BG96. 2018-08-02 08:10:32 +03:00
Wajahat Abbas dfc8ca91fa made destructor virtual as class has a virtual method now 2018-08-01 16:59:18 +05:00
Ari Parkkila c6ab45b6e1 Cellular: Added CellularDevice::init_module API to be called at startup 2018-08-01 04:52:10 -07:00
Ari Parkkila f059fb36bd Cellular: Updated coding guidelines 2018-08-01 04:50:14 -07:00
Martin Kojtal 85ef7a008f cellular: fix tests that astyle breaks
Ignore TEST_GROUP by AStyle. As this uses macro, is not visible to formatter.
By default, it assumes it is a function and treats methods as blocks inside a
function (inlined {}). We ignore it.

We might just not format UNITTESTS in the future if we face similar issues
in the future.
2018-07-31 13:15:57 +01: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
Wajahat Abbas fda096b4c4 Make ATHandler:cmd_start() virtual 2018-07-20 13:49:43 +05:00
Mirela Chirica ee41015304 Cellular: Fix socket_send unit test 2018-07-11 13:45:00 +03:00
Ari Parkkila 4d431cd1ae Cellular: Removed max_packet_size 2018-07-11 13:11:47 +03:00
Mirela Chirica 7de9770f0c Cellular: More unit tests for ATHandler's read routines 2018-07-10 15:09:09 +03:00