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
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
Ari Parkkila
397b396291
Cellular: Update cellular documentation
2019-01-21 11:43:49 +02:00
Teemu Kultala
dbdbae3632
cellular: AT Handler API
2018-12-14 13:19:03 +02:00
Cruz Monrreal
fce4dc6dc3
Merge pull request #8852 from jarvte/cellular_doxygen_update
...
Cellular: update doxygen and add attach CellularDevice.
2018-12-07 11:23:22 -06:00
Amanda Butler
446c428645
Edit CellularContext.h
...
Edit file for complete sentences and correct commas.
2018-12-06 16:42:59 -06:00
Amanda Butler
411320ad8b
Edit CellularDevice.h
...
Edit file for complete sentences, consistent tense and correct commas.
2018-12-06 16:38:28 -06:00
Teppo Järvelin
76672db5cc
Cellular: add Callback functionality to CellularDevice.
2018-11-27 08:05:41 +02:00
Teppo Järvelin
a3f1ad7b8b
Cellular: updated doxygen for CellularContext and CellularDevice.
2018-11-27 08:04:01 +02:00
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
Teppo Järvelin
d1f2e91e93
Working version of async registration.
2018-04-11 09:31:44 +03:00
Teppo Järvelin
2b14a9ee5f
temp
2018-04-11 09:31:44 +03:00
Teppo Järvelin
702efc1de5
Temp commit, not compiling...
2018-04-11 09:31:44 +03:00
Teppo Järvelin
83ea9be5f5
temp commit while changing work...
2018-04-11 09:31:44 +03:00
Cruz Monrreal
7c30faf69d
Merge pull request #6264 from jarvte/master
...
Deprecated warnings for feature/netsocket/cellular
2018-03-16 13:32:09 -05:00
Teppo Järvelin
53455c5528
Fixed correct includes so that compile log is not polluted.
2018-03-13 16:23:15 +02:00
Teemu Kultala
bd75d5327f
callback API added
2018-03-12 11:51:27 +02:00
Teppo Järvelin
9e2da6af7d
Removed mux comments from code.
2018-03-02 14:38:08 +02:00
Teppo Järvelin
7c9f5f3781
Removed mux.
2018-03-02 14:38:08 +02:00
Teppo Järvelin
c9c3f85311
Changed state machine class name and implementation.
2018-03-02 14:38:07 +02:00
Ari Parkkila
164e8fb717
Added modem_debug_on to cellular device
2018-03-02 14:38:07 +02:00
Teppo Järvelin
1fd9ba6caa
APN lookup from database support.
2018-03-02 14:38:07 +02:00
Teppo Järvelin
1a3b6e589c
Doxygen update: removed documentation from inherited classes as INHERTIC_DOCS is enabled in doxygen config. Reduces copy-paste and eases maintenance.
2018-03-02 14:38:07 +02:00
Teppo Järvelin
3ff131be0a
Doxygen update, missing class definitions from AT_ classes.
2018-03-02 14:38:06 +02:00
Ari Parkkila
bc67100dcf
Added const in AT_CellularNetwork::set_registration
2018-03-02 14:38:06 +02:00
Teppo Järvelin
0e20e49ef7
review fixes to athandler: changing int16/8 to int's and some minor issues.
2018-03-02 14:38:06 +02:00
Teppo Järvelin
9e85767c80
PR review fixed: removed dead code, removed magic numbers.
2018-03-02 14:38:05 +02:00
Ari Parkkila
db2c5cff20
Added cellular stack API
2018-03-02 14:38:05 +02:00
Ari Parkkila
863ec3c3cc
Initial cellular feature
2018-03-02 14:38:02 +02:00