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
0c9130efeb
Cellular: change stack_type_supported to get_property
...
Change usage of AT_CellularContext::stack_type_supported to
AT_CellularBase::get_property. This way we can rid of
targets overriding stack_type_supported and delete
unnecessary classes and simplify new targets.
2019-01-22 02:23:04 -08:00
Teppo Järvelin
7c9f9d47ec
Cellular: Remove target files inheriting from AT_CellularNetwork
...
After AT_CellularNetwork::has_registration was replaced with
CellularProperties and better
AT_CellularNetwork::set_access_technology_impl default
implementation we can delete most of the target specific classes
that inherit AT_CellularNetwork.
2019-01-22 02:23:04 -08: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
19b24946df
Cellular: AT remove_urc_handler changed to set_urc_handler(prefix, 0)
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
Ari Parkkila
235c2bc00d
Cellular: Removed get_extended_signal_quality and changed get_signal_quality
2019-01-22 02:23:03 -08:00
Teemu Kultala
a1b1d7c4bd
cellular: registration status change fix
2018-11-26 11:20:21 +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
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
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
d1ff9ed68d
Cellular: added to reset state machine is we get disconnected so application can try again.
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
Mirela Chirica
273590f615
Cellular: Added ATHandler option to write parameters without delimiters
2018-10-29 13:33:09 +02:00
Mirela Chirica
f016d1126f
Cellular: AT handler to support only one callback per URC/prefix
2018-10-29 13:32:15 +02:00
Kimmo Vaisanen
963bf8146d
Cellular: Refactor basic AT command stop and response reading into own method
...
This reduces ROM usage by few hundred bytes.
2018-10-22 09:44:12 +03:00
Cruz Monrreal
a9f43239be
Merge pull request #8295 from AriParkkila/cell-cinterion
...
Cellular: Update Cinterion AT drivers
2018-10-15 10:10:23 -05:00
Mirela Chirica
ffb9cdb4b3
Cellular: Registration parameters as struct
2018-10-09 10:49:47 +03: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
Mirela Chirica
983425e4fc
Cellular: Fix cellular network unit test
2018-09-24 15:15:18 +03:00
Ari Parkkila
13106fb774
Cellular: Disable AT+CGAUTH on HE910 and BC95
2018-09-17 03:28:18 -07:00
Ari Parkkila
fb899d2cc1
Cellular: Fix APN authentication before context activation
2018-09-17 01:14:59 -07:00
Cruz Monrreal
e649beac5e
Merge pull request #7788 from AriParkkila/cell-copn
...
Cellular: Fixed AT+COPN
2018-08-29 09:38:13 -05: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
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
Ari Parkkila
1eb1fabad0
Cellular: Allow cellular modules to override network registration mode
2018-08-24 04:27:49 -07:00
Ari Parkkila
d208706fd6
Cellular: Support for GPRS dial-up
2018-08-23 02:37:47 -07:00
Mirela Chirica
b5d68b546a
Cellular: In LTE mode last PDP context cannot be deactivated
2018-08-22 14:38:18 +03:00
Ari Parkkila
5f8f47590f
Cellular: Fixed AT+COPN
2018-08-14 04:47:58 -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
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
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
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
ytsuboi
e5b8591818
[Wio 3G] Adding platform
2018-06-04 15:55:43 +09: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
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
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