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
Mirela Chirica
aff55462f5
Cellular: Fix for ATHandler's read string and hexstring NULL termination
2018-07-10 15:09:09 +03:00
Cruz Monrreal
58b725be85
Merge pull request #7359 from u-blox/sim_pin_init
...
Cellular: EasyCellularConnection::connect doesn't have any check that "CellularConnectionFSM" object is created or not
2018-06-29 20:08:16 -05:00
mudassar-ublox
1e150c96b5
Cellular: Fixed set_sim_pin method calling
2018-06-28 11:49:20 +05:00
Teppo Järvelin
5ccfd9f83c
Cellular: improved observing of disconnect for callbacks.
2018-06-27 09:34:09 +03:00
Cruz Monrreal
0132e7c1a7
Merge pull request #7273 from jarvte/update_cellular_unit_tests
...
Cellular: added unit tests for new API functions (sim, power, base, device).
2018-06-26 20:41:52 -05:00
Teppo Järvelin
9f68977fee
Cellular: Rebase and fix tests as they got broken in rebase.
2018-06-26 09:14:15 +03:00
Teppo Järvelin
4bd4042101
Cellular: updated unit tests.
2018-06-26 09:08:26 +03:00
Teppo Järvelin
f64c84b1b7
Cellular: review fixes for cellularinformation tests.
2018-06-26 09:05:46 +03:00
Teppo Järvelin
8624765c06
Cellular: added greentea tests for CellularInformation.
2018-06-26 09:05:46 +03:00
Teppo Järvelin
f84862191c
Cellular: added more CellularInformation unit tests.
2018-06-26 09:05:46 +03:00
Cruz Monrreal
335fd58a7c
Merge pull request #7269 from jarvte/add_cellular_network_tests
...
Cellular: add cellular network tests
2018-06-25 10:05:20 -05:00
Amanda Butler
da6f2d958b
Copy edit CellularConnectionFSM.h
...
Copy edit for consistent tense and comma usage.
2018-06-21 11:12:08 -05:00
Teppo Järvelin
1a60422b74
Cellular: fixed defect where SIM interface was closed too early causing crash with certain configurations.
2018-06-20 14:15:22 +03:00
Teppo Järvelin
1fb4d2dfc9
Cellular: fixed unit tests after rebasing with master.
2018-06-20 09:08:51 +03:00
Teppo Järvelin
861867e3cc
Cellular: Added network unit tests.
2018-06-20 08:28:00 +03:00
Teppo Järvelin
7efa041fcb
Cellular: added greentea tests for CellularNetwork.
2018-06-20 08:28:00 +03:00
Cruz Monrreal
fcfe6e1c43
Merge pull request #7217 from AriParkkila/cellular-info-sim
...
Cellular: Add AT+CCID and AT+CGSN
2018-06-19 08:54:49 -05:00
Cruz Monrreal
d1dc1e849e
Merge pull request #7146 from jarvte/add_cellular_sim_and_power_tests
...
Cellular: Added power and sim greentea and unit tests.
2018-06-19 08:46:51 -05:00
Ari Parkkila
7d006f6f6a
Cellular: Target support for AT+CCID and AT+CGSN
2018-06-15 14:28:48 +03:00
Anna Bridge
3e2e6a714a
Merge pull request #7195 from jarvte/fixing_easycellular_release_version
...
Cellular: Semaphore wasn't released in easycellular release build.
2018-06-15 11:13:34 +01:00
Teppo Järvelin
f821b02468
Cellular: fixed unit tests after rebase with latest changes.
2018-06-15 09:51:16 +03:00
Teppo Järvelin
7e1b0480b0
Cellular: Added power and sim greentea and unit tests.
2018-06-15 09:03:08 +03:00
Cruz Monrreal
ac107e955f
Merge pull request #6962 from jarvte/release_resources_cellular_statemachine
...
Cellular: release resources in state machine.
2018-06-14 10:19:12 -05:00
Cruz Monrreal
276588f9fa
Merge pull request #7098 from SeeedJP/feature-cellular-mux
...
[Wio 3G] Adding platform
2018-06-14 10:17:19 -05:00
Cruz Monrreal
c82af3dbe9
Merge pull request #7102 from jarvte/adding_cellular_tests
...
Adding cellular tests
2018-06-14 10:16:58 -05:00
Ari Parkkila
44365bccd0
Cellular: Added AT+CCID and AT+CGSN
2018-06-14 13:47:17 +03:00
Teppo Järvelin
7e34349628
Cellular: Semaphore wasn't released in easycellular release build.
2018-06-12 16:04:39 +03:00
Teppo Järvelin
d9a99b0a45
Cellular: release resources in state machine. Made sure that athandler does not try process urc's after switch to data mode.
2018-06-12 09:01:03 +03:00
Cruz Monrreal
af55378c26
Merge pull request #7182 from AriParkkila/cellular-greentea-fix
...
Cellular: Disable Greentea tracing to consume less memory
2018-06-11 21:28:02 -05:00
Cruz Monrreal
1b14351e28
Merge pull request #7084 from AriParkkila/cellular-debug
...
Cellular: Enable AT debug also when mbed-trace is disabled
2018-06-11 09:06:53 -05:00
Cruz Monrreal
5e8a0a853a
Merge pull request #7097 from TeemuKultala/random_port
...
cellular: random socket port number
2018-06-11 08:57:47 -05:00
Ari Parkkila
150a204e2b
Cellular: Disable Greentea tracing to consume less memory
2018-06-11 12:57:26 +03:00
Yoshihiro TSUBOI
0751dd7c95
[Wio 3G] Changed suggested things
...
Removed context check from do_user_authentication.
2018-06-11 15:20:15 +09:00
Yoshihiro TSUBOI
16e706ecd4
[Wio 3G] Changed suggested points
...
Changed accessibility cellular features member functions, fixed minor target issues
2018-06-08 20:13:58 +09:00
Teppo Järvelin
b35dc6a582
Review fix:
...
- set ppp_active false if close fails in ppp disconnect.
- unset sigio in ppp disconnect
- take ownership of filehandle in CellularNetwork::disconnect even in case of failure
2018-06-08 12:29:50 +03:00
Teemu Kultala
d3a46eb7cd
more effective port randomisation
2018-06-05 13:25:59 +03:00
Teppo Järvelin
9a3c3b531f
Cellular: fixed unit tests to compile after rebasing to latest.
2018-06-04 13:27:50 +03:00
Teppo Järvelin
3311a6e456
Cellular: added more unit tests for CellularDevice.
2018-06-04 10:25:54 +03:00
Teppo Järvelin
2aa5c32aa4
Cellular: added greentea test for cellular device.
2018-06-04 10:25:54 +03:00
ytsuboi
e5b8591818
[Wio 3G] Adding platform
2018-06-04 15:55:43 +09:00
Teemu Kultala
b7bad77569
random socket port number
2018-06-04 09:53:34 +03:00
Anna Bridge
b5b306ed50
Merge pull request #7052 from mirelachirica/bc95_sock_id_fix
...
Cellular: BC95 socket creation to fail on missing socket id in the re…
2018-06-01 12:14:14 +01:00
Ari Parkkila
7482032989
Cellular: Enable AT debug also when mbed-trace is disabled
2018-06-01 14:07:27 +03:00
Cruz Monrreal
0f41831afd
Merge pull request #7033 from AriParkkila/cellular-at-fix
...
Cellular: Fix AT URC handler not to dismiss incoming chars
2018-05-29 10:44:00 -05:00
Cruz Monrreal
206cab97ac
Merge pull request #6965 from mirelachirica/fix_unittests
...
Cellular: Unit tests fixes
2018-05-29 10:37:35 -05:00
Cruz Monrreal
917fe08752
Merge pull request #6928 from jarvte/fix_cellular_connect_disconnect
...
Cellular: Fixed con-disc sequence can now be called multiple times.
2018-05-29 10:36:11 -05:00
Mirela Chirica
5c2262219d
Cellular: BC95 socket creation to fail on missing socket id in the response
2018-05-29 17:05:16 +03:00
Ari Parkkila
c8287e5470
Cellular: Fix AT URC handler not to dismiss incoming chars
2018-05-28 10:32:14 +03:00
Teppo Järvelin
03f50e6d89
Cellular: review fixes.
2018-05-23 22:02:01 +03:00
Mirela Chirica
853c4c6dd1
Cellular: Added ENOTTY define in mbed_retarget stub
2018-05-23 12:31:17 +03:00
Mirela Chirica
6e7d0a8847
Cellular: Added missing copyrights
2018-05-23 12:11:02 +03:00
Mirela Chirica
b59ef26930
Cellular: Unit tests fixes
2018-05-23 12:11:02 +03:00
Teppo Järvelin
678cff4463
Cellular: review changes.
2018-05-17 11:20:58 +03:00
Ari Parkkila
3abfa4531f
Cellular: Removed obsolete FEATURE_COMMON_PAL flag from trace
2018-05-17 09:41:49 +03:00
Ari Parkkila
6a3dce839e
Cellular: Updated coding guidelines
2018-05-17 09:02:54 +03:00
Teppo Järvelin
8fa8abca27
Cellular: Fixed connect-disconnect sequence can now be called multiple times.
2018-05-16 14:25:35 +03:00
Ari Parkkila
a146e0e7ff
Cellular: AT debugging improved
2018-05-16 12:39:30 +03:00
Ari Parkkila
287a1a86d0
Cellular: AT handler review fixes
2018-05-14 10:25:00 +03:00
Ari Parkkila
3bdb6d1737
Cellular: Fixed ATHandler write poll timeout
2018-05-14 10:25:00 +03:00
Ari Parkkila
9b896a16bb
Cellular: ATHandler yield to wait review fixes
2018-05-14 10:25:00 +03:00
Ari Parkkila
559abd3009
Cellular: AT requests are to be processed within time period
2018-05-14 10:24:59 +03:00
Ari Parkkila
98ef516061
Cellular: Changed ATHandler yield to wait
2018-05-14 10:23:06 +03:00
Cruz Monrreal
7a1ab1890b
Merge pull request #6792 from jarvte/cellular_dynamic_alloc_and_destr
...
Cellular: Add dynamic alloc and destruction to easycellular
2018-05-07 10:28:43 -05:00
Teppo Järvelin
b22a16fe4a
Cellular: Added dynamic alloc and destruction to easycellular.
...
Now application can call connect and disconnect multiple times and resources are freed and constructed properly.
Also whole easycellular can be deleted and constructed again.
2018-05-03 12:47:47 +03:00