Commit Graph

271 Commits

Author SHA1 Message Date
Kuba
69cf2575cc [EGD-7909] Fixed phone mode switching
Service cellular is holding minimum cpu frequency during
phone mode switch.
2021-11-19 16:43:00 +01:00
Kuba
6e12e5834f [EGD-7738] Fix modem reset
Fixed modem reset procedur so now it will not stuck in cellular
init on factory fresh phone. Also removed T3/T4 board recognition.
2021-10-21 18:45:43 +02:00
Kuba
d620a8a4a0 [EGD-7615] Fix Modem soft reset
Cellular is configuring modem after reset.
2021-10-13 13:32:40 +02:00
Kuba
2443cb6ab1 [EGD-7614] Add Enable Rndis mode
Adds enabling Rndis mode in modem, so tethering is possible
on Linux, Mac and Windows.
2021-10-06 14:54:23 +02:00
Marcin Smoczyński
57874cab33 [BH-912] Improve sys module structure
Improve structure of the module sys. Problems within this module
prevents from linking others.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-24 10:01:19 +02:00
Marcin Smoczyński
bd90e57516 [BH-907] Split utils module into components
Split module-utils into smaller components for better dependency
management. Fix many dependencies throughout the project.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-23 15:14:40 +02:00
Kuba
091e76ae7c [EGD-6914] Fix missing no sim message
Added QSIMSTAT urc handler and command parser. Added
sim insertion state in SimCard. Now there No Sim response
is sended if sim is missing. Sim not respond timer removed
from Application Manager.
2021-09-09 13:41:08 +02:00
tomaszkrosnowski
9c0dde9a03 [EGD-7485] Fix cellular behaviour in offline mode
When in offline/message only, while Pure is in message poll mode and
incoming call will happen CellularService will start answering call thus
resulting to show the incorrect info in call log and not showing the
first call after Online mode is switched back.
This commit is cherry-picked from EGD-7332.
2021-09-03 14:41:06 +02:00
Piotr Tański
90e7a48198 [EGD-7362] Merge release/0.76.1 into master
Merge release/0.76.1 into master.
2021-09-02 11:12:59 +02:00
Mateusz Grzegorzek
ed68fc92ec [BH-754] Split ServiceDB
- rename ServiceDB to ServiceDBCommon,
- create separate ServiceDB for Pure and Bell,
- move Pure-specific functionality
from `ServiceDBCommon` to Pure `ServiceDB`
2021-08-20 10:47:29 +02:00
Mateusz Grzegorzek
e1ef821609 [BH-741] Split ApplicationManager
Separate Pure and Bell ApplicationManager functionalities
to separate files.
2021-08-18 14:29:51 +02:00
Pawel.Paprocki
ce82949067 [EGD-7167] Pass IMEI number to Settings
Get IMEI from cellular and display it in Settings
2021-08-05 19:00:42 +02:00
Mateusz Piesta
71becac0d0 [EGD-6609] Separated out sms logic
Switching to async sending model required separation of out sms logic.
Specific class was added and most of the logic was moved from cellular
service to this class.
2021-07-20 07:46:01 +02:00
Kuba
27ccfe12a1 [EGD-7124] Add import contacts from sim
Added imort contacts from sim card.
2021-07-16 13:37:40 +02:00
Pawel Olejniczak
73819ffd0d [CP-215] Expose current operator name in service desktop API
Get current operator name from cellular modem,
and expose it in service desktop API to let
Mudtia Center use it.
2021-07-14 01:03:34 +02:00
Kuba
5f34f5ad7c [EGD-6889] Fix Fixed network time handling
Fixed Network time handling. Automati Date and Time setting
is handled in service-cellular. Enabling and diasbling time
repotring is added.
2021-07-13 11:31:07 +02:00
Alek Rudnik
ebc9e56562 [EGD-7142] Fix compilation issues with __PRETTY_FUNCTION__
Fix compilation issues with __PRETTY_FUNCTION__ used in
logging functions
2021-07-12 19:41:10 +02:00
Alek Rudnik
49b7ab8509 [EGD-7005] Removed sensitive data cellular
Removed sensitive data from service and module cellular.
Logger factory introduced to easily manage sensitive logs.
2021-07-12 12:25:04 +02:00
Artur Śleszyński
3a244f2576 [CP-265] Extend cellular logging
Log:
* phone call state
* VoLTE setting state
2021-07-12 08:45:55 +02:00
Pawel Olejniczak
56449096fd [CP-267] Ensure cellular logging
Log information such as: selected SIM slot,
received signal parameters (QNWINFO, CSQ),
selected antenna, AT commands exchanged
with the modem, slider position.
Also fixed logging level for rt1051.
2021-07-09 16:50:30 +02:00
Wojtek Rzepecki
fc3e4f73d7 [EGD-6956] Add offline calls notifications
Changed calls notifications for offline mode
2021-07-02 13:48:26 +02:00
Wojtek Rzepecki
e147ff1b81 [EGD-6957] Add sms notifications in DnD
SMS notifications configuration in do
not disturb phone mode
2021-07-02 13:19:05 +02:00
Wojtek Rzepecki
bf3cc2f23c [EGD-6955] Add calls notifications in DND
Add notifications for incoming calls in DND
phone mode according to design.
2021-06-30 13:19:33 +02:00
Piotr Tański
ef0872eaf6 [EGD-5709] Fixed actions support in Call application
Fixed:
- returning from a call window to previous application
- closing SMS templates window if open from call window
2021-06-22 17:31:14 +02:00
Hubert Chrzaniuk
54ef6d5dda [EGD-5709] Add full actions support in call application
Application call used both actions and messages which
caused windows switch problems. It has been refactored
to handle all communication by actions.
2021-06-22 17:31:14 +02:00
Pawel.Paprocki
95d96b82b6 [BH-370] Convert utils common_data into a libs
Create clipboard and eventsore libs
2021-06-09 14:39:11 +02:00
Wiktor S. Ovalle Correa
eb026fe8b0 [EGD-6907] Introduce ModemState in Cellular
We should not use Cellular's internal states to drive
other system parts, especially applications
2021-06-08 18:42:37 +02:00
Lukasz Skrzypczak
7fee0d9cfb [BH-378] Utils move log to library
Moved log to separate library
2021-06-08 12:24:29 +02:00
Wiktor S. Ovalle Correa
d10019c643 [EGD-6898] Remove dead SimProcedure code
There were leftovers from an earlier SIM initialization procedure
2021-06-07 14:59:14 +02:00
Paweł Joński
5ad878c6c4 [BH-371] Replace gsl with mainline submodule and move to third-party
Replacing loose gsl files with gsl mainline project as submodule
and moving it to third-party
2021-06-07 09:30:04 +02:00
Wiktor S. Ovalle Correa
43e8b862ac [EGD-6896] Sanitize Tray event handling
Tray events were handled inconsistently with its Message used
in a separate context
2021-06-04 09:38:44 +02:00
Maciej Janicki
6851c04e12 [EGD-5976] Add tethering cellular disabling
This commit adds disabling of URC messages during
tethering mode. It also adds call and sms logging after
tethering is disabled.
2021-06-01 09:03:23 +02:00
Alek Rudnik
93c4675d1d [EGD-6701] System time usage fixes
Fixed all calls to stdlib time.
Removed all redundant calls to Timestamp treated as time source.
2021-05-27 16:54:44 +02:00
Maciej Janicki
ce3676ba47 [EGD-6796] Fix excesive ATA command with HSP
This commit fixes excesive ATA cmd in HSP by checking call type in
ServiceCellular.
2021-05-25 15:30:15 +02:00
Wiktor S. Ovalle Correa
b2ca227fd5 [EGD-6746] Use new SimCard implementation
Switch to SimCard implementation provided by previous commit
2021-05-20 17:52:48 +02:00
Adam Dobrowolski
b38adceced [EGD-6019] Minimum settings ownership lifetime fixups
added weakptr link to settings and checks
    it wont crash on deinitialized setings now
Pseuto UT are passing
Added:
    - deregistration on Settings destrution
    - weak referencing of Service to not crash Settings on missuse
    - Proxy as initialization parameter to Settings
Unused code removed
Enabled tests to be written for Settings
Removed dependency from freertos in test global file
EntryPath tests updated and compilation slimed
2021-05-18 13:25:54 +02:00
Przemysław Brudny
e71a044bd3 [EGD-6019] Revert of two commits
This reverts commit b6416b15da.
This reverts commit e2f3882d8a.
2021-05-14 09:54:36 +02:00
Adam Dobrowolski
b6416b15da [EGD-6019] Minimum settings ownership lifetime fixups
added weakptr link to settings and checks
    it wont crash on deinitialized setings now
Pseuto UT are passing
Added:
    - deregistration on Settings destrution
    - weak referencing of Service to not crash Settings on missuse
    - Proxy as initialization parameter to Settings
Unused code removed
Enabled tests to be written for Settings
2021-05-13 18:22:44 +02:00
Alek Rudnik
457e9b4fc8 [EGD-3542] Fix issue with sending text messages form new message window
Fixed too short timeout for sending sms
Fixed flow for switching to thred window to asynchornous one
Fixed some minor issues connected to new sms error handling
2021-05-07 16:24:27 +02:00
Michał Kamoń
46c57aaa88 [EGD-6599] Add single number call notification
This PR adds proper notification on call notifications coming from
single number. To that end following changes have been introduced:
 * extension of Notification DB record with contact_id filed
 * use of `ContactRecordInterface` in `NotificationsRecordInterface`
 * extension of `Increment` query to require `PhoneNumber::View`
 * multiple minor changes on path from creating/handling
 `NotificationsRecord` to displaying respective notification.
2021-05-06 14:39:53 +02:00
Maciej Janicki
c88c82ae86 [EGD-6319] Refactor cellular modem directory
- Removed not used files from old implementations.
- Renamed some classes to follow naming convention.
- Renamed methods to use consistent styling.
- Restructured code.
2021-05-05 16:34:35 +02:00
Maciej Janicki
ea27e68716 [EGD-5748] Remake Cellular flow
This commit remakes cellular data flow
introducing full error propagation.
2021-04-23 15:03:08 +02:00
Kuba Kleczkowski
9fe5815a65 [EGD-6301] Add Connecting to the network in intervals
It implements mode Offline Messages only - connecting to
the GSM network in defined by user intervals and rejecting
incomig calls during connected phase. It also implements
handling of connetion interval setiing and small fix in modes
popup.
2021-04-21 14:18:25 +02:00
Mateusz Grzegorzek
1f9f429b0b [EGD-5773] Device becomes not responsive when opening settings
Use asynchronous communication with service cellular
to obtain own number.
2021-04-21 13:20:02 +02:00
Wiktor S. Ovalle Correa
cc0a76f2c7 [EGD-6485] Remove Cellular message types from global
Domain-specific message types should not pollute global space.
2021-04-20 17:31:36 +02:00
Jakub Pyszczak
6be93bef43 [EGD-6166] HSP ringing
Added HSP ring sound on incoming call event while
there's bluetooth connection active and HSP is
selected as the current profile.
Possibility of pick up/decline the call using
BT device buttons added.
Slightly changed HSP initialization according
to the UML-s added.
Changed call hangup handler in service cellular.
2021-04-20 10:29:30 +02:00
Alek Rudnik
fd935f4179 [EGD-6093] Audio settings API
Refactored Audio settings API.
Moved phone modes logic from serivce audio to service clients level.
Removed redundant API.
Seprated API for vibration and sound enable/disable.
Fixed issues with vibrations logic.
2021-04-16 14:50:38 +02:00
Piotr Tański
81adfe41ab [EGD-6347] Refactored phone modes handling in applications
PhoneModeObserver doesn't work properly in applications.
Applications have to handle the phone mode changes via AppMgr.
Phone mode and tethering handlers separated.
2021-04-12 14:54:55 +02:00
Marcin Smoczyński
87c21588f8 [EGD-6324] Update audio assets
Upload latest audio assets. Original file names preserved.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-04-09 08:03:30 +02:00
Maciej Gibowicz
ee65e0c558 [EGD-6082] Fix cellular start harness test
Improved cellular cold and hot start harness test
2021-04-08 23:15:11 +02:00