Teppo Järvelin
9d67a8b61c
Cellular: send disconnect to correct ctx
...
Disconnect was sent to all CellularContext classes even it concerned
one specific context. Some disconnect events are still sent to all
context classes. These event are coming from network and ment for all
context classes or event did not specify cid.
2019-04-17 13:53:40 +03:00
Teppo Järvelin
dba3d42362
Cellular: call AT+CGEREP after sim is ready
...
Current implementation did call AT+CGEREP before sim was ready
and it was failing in most modems.
2019-03-18 08:10:09 +02:00
Martin Kojtal
cf76b74aad
Merge pull request #9837 from jarvte/drop_bg96_cgact_support
...
Cellular: CGACT not supported in coming firmware in BG96
2019-03-14 09:16:39 +01:00
Teppo Järvelin
0905f01438
Cellular: Removed API get_connection_status() from CellularNetwork
...
This was left accidentally after refactoring.
It wasn't giving correct states after refactoring.
CellularContext::get_connection_status should be used instead.
2019-03-01 14:51:05 +02:00
Teppo Järvelin
4077898de1
Cellular: fix issue where CGACT not supported in coming firmware in BG96.
2019-02-28 08:36:31 +02: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
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
Ari Parkkila
235c2bc00d
Cellular: Removed get_extended_signal_quality and changed get_signal_quality
2019-01-22 02:23:03 -08: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
ad2abbe887
Cellular: major refactoring while introducing new CellularContext class.
2018-11-11 14:12:49 +02:00
Mirela Chirica
ffb9cdb4b3
Cellular: Registration parameters as struct
2018-10-09 10:49:47 +03:00
Ari Parkkila
13106fb774
Cellular: Disable AT+CGAUTH on HE910 and BC95
2018-09-17 03:28:18 -07:00
Ari Parkkila
1eb1fabad0
Cellular: Allow cellular modules to override network registration mode
2018-08-24 04:27:49 -07:00
Martin Kojtal
cde18aa0bc
cellular: astyle fix
2018-07-27 13:33:20 +01:00
Teppo Järvelin
5ccfd9f83c
Cellular: improved observing of disconnect for callbacks.
2018-06-27 09:34:09 +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
Teppo Järvelin
f821b02468
Cellular: fixed unit tests after rebase with latest changes.
2018-06-15 09:51:16 +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
025e0dfc49
Cellular: moved one function in cellularnetwork to public as it was accidently set as protected.
2018-04-19 13:40:33 +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
9b0b92bb1c
Cellular: added detach from the network.
2018-04-12 13:37:49 +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
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
83ea9be5f5
temp commit while changing work...
2018-04-11 09:31:44 +03:00
Teppo Järvelin
c9c3f85311
Changed state machine class name and implementation.
2018-03-02 14:38:07 +02:00
Mirela Chirica
6670ebbc5f
- PDP context creation fixes for stack type handling
...
- Delete created contexts that do not succed to activate
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
ef14aef823
review and dynamic alloc ( #3 )
...
* Review fixes. Changed apn, username and password to be dynamically allocated.
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
Juho Eskeli
66aca1fddf
Connection status callback added.
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
863ec3c3cc
Initial cellular feature
2018-03-02 14:38:02 +02:00