Mirela Chirica
ffb9cdb4b3
Cellular: Registration parameters as struct
2018-10-09 10:49:47 +03:00
Cruz Monrreal
b153bb3f77
Merge pull request #8057 from korjaa/remove_sim_pin_print
...
Removed cellular PIN code print from debug log.
2018-10-08 10:07:11 -05:00
Martin Kojtal
2247494596
Merge pull request #7978 from jarvte/fix_cellular_no_pin
...
Cellular: state machine and easycellular now return error fast if sim…
2018-10-04 13:38:34 +02:00
Jaakko Korhonen
473ac20017
Removed cellular PIN code print from debug log.
2018-10-01 09:11:28 +03: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
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
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
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
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
Teppo Järvelin
03f50e6d89
Cellular: review fixes.
2018-05-23 22:02:01 +03:00
Teppo Järvelin
678cff4463
Cellular: review changes.
2018-05-17 11:20:58 +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
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
Martin Kojtal
d768b6f468
Merge pull request #6677 from jarvte/cellular_fsm_crash_bug
...
Cellular: fixed null pointer bug in cellular fsm
2018-04-25 08:24:49 +01:00
Teppo Järvelin
6a2eefba9c
Cellular: fixed null pointer bug.
...
Null pointer could have been called after stop() in cellular state machine.
2018-04-19 14:30:33 +03:00
Teppo Järvelin
55f4360680
Cellular: review fixes to cellularfsm and cellularnetwork.
2018-04-18 12:35:38 +03:00
Teppo Järvelin
1990f63382
Cellular: fixed state machine after rebase.
2018-04-17 10:24:19 +03: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
e4c37f2275
Cellular: plmn used when registering can be given for CellularConnectionFSM.
2018-04-17 10:16:32 +03:00
Cruz Monrreal
7f9e69d491
Merge pull request #6632 from TeemuKultala/error_messages
...
cellular: Error messages
2018-04-16 10:34:04 -05:00
Teemu Kultala
c597d8447c
cellular: sim pin setting
2018-04-13 12:33:43 +03:00
Teemu Kultala
7b6208c0db
cellular: error message changes
2018-04-13 09:01:57 +03:00
Teppo Järvelin
94ecc4567b
Cellular: Separated context activation in CellularConnectionSFM.
2018-04-13 08:28:18 +03:00
Teppo Järvelin
f7f21dc377
Cellular: review fixes and fixed unit tests.
2018-04-11 09:38:13 +03:00
Teppo Järvelin
12e1f07150
modified at timeout while doing attach and connect as it might take up to one minute and at timeout was 10s.
2018-04-11 09:38:13 +03:00
Teppo Järvelin
dcdb7a5da2
Fixed state machine to accept roaming as valid registration.
2018-04-11 09:38:13 +03:00
Teppo Järvelin
ac9b882049
Fixed bug in state machine registaring phase.
2018-04-11 09:31:44 +03:00
Teppo Järvelin
6f3eebcd36
Fixed possible crash and removed trace from greentea.
2018-04-11 09:31:44 +03:00
Teppo Järvelin
af2890da03
Improved registration phase in state machine.
2018-04-11 09:31:44 +03:00
Ari Parkkila
6072407ec9
Cellular: async FSM updates
2018-04-11 09:31:44 +03:00
Teppo Järvelin
84b445f51c
Fixed coverity warnings for class ATHandler and removed unnecessary assert from state machine.
2018-04-11 09:31:44 +03:00
Teppo Järvelin
54ab974846
Fixed coverity warnings for targets folder. Also fixed one bug while copying sim.
2018-04-11 09:31:44 +03:00
Teppo Järvelin
0ebfa35d7b
Fixed coverity warnings for class CellularConnectionFSM
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
b400d18a0c
Wait for modem ready signal in startup sequence.
2018-04-11 09:31:44 +03:00
Teppo Järvelin
231458dc36
Picked Ari's changed to reduce stack size. Removed device info printing from state machine.
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
c26311b071
async works. Retry logic needs refining.
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
1661fc2744
Modified state machine, added cellular state and callback.
2018-04-11 09:31:44 +03:00
Ari Parkkila
bfed2baeb6
Changed cellular device as not static
2018-03-02 14:38:08 +02:00
Ari Parkkila
b811f7e84d
Fixed EasyCellularConnection to have debug flag
2018-03-02 14:38:08 +02:00
Ari Parkkila
e53b93114e
Typedef OnboardCellularInterface to EasyCellularConnection
2018-03-02 14:38:07 +02:00
Teppo Järvelin
c9c3f85311
Changed state machine class name and implementation.
2018-03-02 14:38:07 +02:00