Commit Graph

85 Commits (7f39bb4453c85fb6085d5f696513e9a53bda65cc)

Author SHA1 Message Date
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
Cruz Monrreal 7b29f7d2e8
Merge pull request #7795 from mirelachirica/issue_7470_access_to_power
Cellular: Add getters for device and serial to EasyCellularConnection
2018-08-29 09:37:38 -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
Mirela Chirica 2c29852dba Cellular: Added getters for device and serial to EasyCellularConnection 2018-08-15 09:34:59 +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
mudassar-ublox 1e150c96b5 Cellular: Fixed set_sim_pin method calling 2018-06-28 11:49:20 +05:00
Amanda Butler da6f2d958b
Copy edit CellularConnectionFSM.h
Copy edit for consistent tense and comma usage.
2018-06-21 11:12:08 -05: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
Anna Bridge 3e2e6a714a
Merge pull request #7195 from jarvte/fixing_easycellular_release_version
Cellular: Semaphore wasn't released in easycellular release build.
2018-06-15 11:13:34 +01:00
Teppo Järvelin 7e34349628 Cellular: Semaphore wasn't released in easycellular release build. 2018-06-12 16:04:39 +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 c82fd31735 Removed double attach from EasyCellularConnection. 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 f6a0403c82 Fixed build by removing unnecessary include. 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