Martin Kojtal
5ad7c3ee6e
Merge branch 'gracefully_disconnect' of https://github.com/jarvte/mbed-os into dev_rollup
2018-11-24 21:15:38 +00:00
Martin Kojtal
b16569dc3f
Merge pull request #8838 from 0xc0170/dev_rollup
...
Rollup v2 for 5.11rc1
2018-11-24 21:37:02 +01:00
Teppo Järvelin
c6205628d6
Cellular: unified return value comments on API folder.
2018-11-20 07:47:01 +02:00
Teppo Järvelin
a655a538b0
Cellular: more gracefully disconnect.
2018-11-19 16:02:30 +02:00
Ari Parkkila
9bdeb68e74
Cellular: Updated debug prints, and network registration return value
...
Updated cellular debug trace prints:
- Removed unnecessary prints.
- Tracing more in DEBUG level.
- Read/write bytes not printed on big packets.
- Signal quality (RSSI) traced to log network problems.
- Dismissed AT data is traced.
- Modem type and firmware version are traced.
Network registration returns NotRegistered instead of StatusNotAvailable,
because that's not in 3GPP TS 27.007.
2018-11-19 02:55:43 -08:00
Teppo Järvelin
88213d3e03
Cellular: astyle fixes after introducing CellularContext class and major refactor.
2018-11-13 18:50:35 +02:00
Teppo Järvelin
14f3740c13
Cellular: fixed cellular greentea tests after major refactoring.
2018-11-13 18:33:55 +02:00
Teppo Järvelin
3f6e088782
Cellular: Fixed backward compatibility with OnBoardCellularInterface and set default values in NetworkInterfaceDefaults.cpp.
2018-11-11 14:13:05 +02: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
dbbe2ddc59
Cellular: fixed to compile even if CELLULAR_DEVICE and rx/tx are not defined.
2018-11-11 14:13:05 +02:00
Teppo Järvelin
609b0f71be
Cellular: minor doxygen fixes.
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
Teppo Järvelin
8880538eba
Cellular: Introduced new state machine to replace old CellularConnectionFSM
...
CellularDevice class own new state machine. Now we don't have to expose state machine
which may change and so we don't have to make API changes if that happens.
EasyCellularConnection uses now CellularDevice instead of old state machine.
2018-11-11 14:11:21 +02:00
Martin Kojtal
71d35749f9
cellular: fix coding style
2018-11-07 08:56:32 +00:00
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
Mirela Chirica
ffb9cdb4b3
Cellular: Registration parameters as struct
2018-10-09 10:49:47 +03: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
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
Ari Parkkila
13106fb774
Cellular: Disable AT+CGAUTH on HE910 and BC95
2018-09-17 03:28:18 -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
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
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
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
cde18aa0bc
cellular: astyle fix
2018-07-27 13:33:20 +01:00
Teppo Järvelin
1fb4d2dfc9
Cellular: fixed unit tests after rebasing with master.
2018-06-20 09:08:51 +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
Ari Parkkila
7d006f6f6a
Cellular: Target support for AT+CCID and AT+CGSN
2018-06-15 14:28:48 +03:00
Teppo Järvelin
7e1b0480b0
Cellular: Added power and sim greentea and unit tests.
2018-06-15 09:03:08 +03:00
Ari Parkkila
44365bccd0
Cellular: Added AT+CCID and AT+CGSN
2018-06-14 13:47:17 +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
Martin Kojtal
9cc4302c51
Merge pull request #6629 from jarvte/add_select_plmn_to_cellularfsm
...
Cellular: add plmn for CellularConnectionFSM
2018-04-19 12:07:20 +02:00
Teppo Järvelin
e78e1d28db
Cellular: check plmn against network to verify correct network and don't try to register again if we are are already in correct nw.
2018-04-17 10:16:32 +03:00
Teppo Järvelin
0b5fae3670
Cellular: added deprecation note for parameter timeout in set_attach.
2018-04-12 13:37:49 +03:00
Teppo Järvelin
9b0b92bb1c
Cellular: added detach from the network.
2018-04-12 13:37:49 +03:00
Teppo Järvelin
31428533ba
Fixed missing doxygen param.
2018-04-11 09:38:13 +03:00
Teppo Järvelin
c036b6698d
Doxygen fixes for copy-paste errors.
2018-04-11 09:38:13 +03:00
Ari Parkkila
6072407ec9
Cellular: async FSM updates
2018-04-11 09:31:44 +03:00
Teppo Järvelin
89843246ac
Separated context activation from connect, increased stack size to 2048 to avoid stack underflows and changed connection callback call.
2018-04-11 09:31:44 +03:00
Teppo Järvelin
f0026e4c48
review fixed and some minor improvements.
2018-04-11 09:31:44 +03:00
Teppo Järvelin
b400d18a0c
Wait for modem ready signal in startup sequence.
2018-04-11 09:31:44 +03:00