Commit Graph

103 Commits

Author SHA1 Message Date
kkleczkowski
330c57e1d0 Egd 3259 (#781)
* [EGD-3259] Updating RTC time from network time.

* [EGD-3259] Updated changelog.

* [EGD-3259] Missing files.

* [EGD-3259] Time updaten notification.

* [EGD3259] Fixed SET_TIME_ZONE_REPORTING command.

* [EGD3259] SET_TIME_ZONE_REPORTING fixed properly.

* [EGD-3259] Commands added to factory.

* [EGD-3259] Fixes after rebase.

* [EGD-3259] Style fix.

* [EGD-3259] PR applied.

* [EGD-3259] PR applied again.

Co-authored-by: Kuba Kleczkowski <dd>
2020-10-07 15:33:46 +02:00
Jakub Pyszczak
2df98eea48 [EGD-3841] Add audio vibration and enable sound option 2020-10-06 17:06:34 +02:00
Tomas Rogala
460885701f [EGD-3700] Switch window rework
-Create application->switchManyWindowsBack() method
-Create equivalent to empty window enum class
-Remove stored prevWindows variables
-Add bottom bar to empty window (equivalent to allEvents)
-Repair going back to previous windows functionality
-Repair switching window (with empty events DB)
-Add EventShift value to event records time
2020-10-06 09:35:14 +02:00
Adam
f5f27d642f EGD-2955 EGD-3588 Timers fully refactored & updated (#721)
* Timers now are Application thread safe
* Timers now have consistent API independend of Application (no more c style timers)
* Timers can have either: callback or override onTimer() method - this
  way we can create more complicated timers or just use existing ones
* gui::Timer added via adapter class GuiTimer to decouple sys::Timer
  with gui::Timer
* Fixed race in wrapper
* Updated docs
* fixed using std and cpp_freertos and DataReceivedHandler hidden in Application.hpp
2020-10-02 14:04:57 +02:00
Tomek Sobkowiak
9ab0945f0f [EDG-3825] Add base messages for settings service 2020-09-29 09:48:23 +02:00
Jakub Pyszczak
6295751412 [EGD-3818] Audio service cleanup 2020-09-28 10:54:07 +02:00
Jakub Pyszczak
d7617b2f3c [EGD-3487] Volume buttons 2020-09-24 10:53:25 +02:00
Piotr Tanski
9447da6585 [EGD-2870] Message drafts feature implemented. (#704)
- Save unsent messages as drafts on thread view window close.
- Queries for SMS add and update introduced.
- Fix for windows IDs all being zeroes across the GUI.
2020-09-21 10:25:00 +02:00
jimmorrisson
7b626ce755 [EGD-3098] Add audio volume control per functionality. 2020-09-20 13:41:19 +02:00
jimmorrisson
63685f9247 [EGD-3097] Add storing and updating audio settings in database. 2020-09-11 12:06:03 +02:00
alek
66d7a4b722 [EGD-3402] Fixes for handling temporary contacts
Fix for adding contact from call app
Fix in windows stack
2020-07-16 13:49:44 +02:00
pholat
adaf18829e gui::Text rewrite (#483)
* Text refactor added
2020-07-07 14:37:53 +02:00
alek
cc0b64cb88 [EGD-3237] fixed some other methods return types 2020-05-27 09:55:11 +02:00
alek
432e3ad7e2 [EGD-3237] fixed return type of switchWindow and returnToPreviousWindow 2020-05-27 09:55:11 +02:00
Alek Rudnik
08358df991 Egd 2825 sms clipboard (#362)
* [EGD-2825] clipboard class implementation

* [EGD-2825] returnToPreviousView moved from appwindow to application class

* [EGD-2825] paste

* [EGD-2825] fixed paste label

* [EGD-2825] copy

* [EGD-2825] comment

* [EGD-2825] removed init data

* [EDG-2825] add clipboard UT

* [EGD-2825] add sms fw option
renamed SMSTemplateData to SMSTextData

* [EGD-2825] fxies in EventStore

* [EGD-2825] PR fixes

* [EGD-2825] rem not needed comment
2020-05-15 13:34:26 +02:00
Adam Dobrowolski
432a9ad61b [EGD-3160] Application.cpp moved all switch in DataReceivedHandler to functions 2020-04-24 10:36:32 +02:00
Mateusz Grzywacz
238ba83503 [EGD-3104] refresh fix on input 2020-04-23 11:19:17 +02:00
alek
37c3d69363 [EGD-3086] added new bool flag to control the windows stack 2020-04-17 15:05:32 +02:00
Mateusz Grzywacz
ce09a5e40e SIM icon unification + fast refresh + missing icons 2020-04-15 11:11:18 +02:00
Alek Rudnik
09cf520c12 Egd 558 adjust volume during a call (#283)
* [EGD-558][fix] change error to info

* [EGD-558] added volume control of currently active audio operation

* [EGD-558] added ringing on incoming call

* [EGD-558] mini clean up in callwindow

* [EGD-558] removed reinterpret_casts and added some logging

* [EGD-558] rewritten methods to increment/decrement volume

* [EGD-558] clean up

* [EGD-558] moved volume control to application class
added nullptr checks

* [EGD-558] fixed types

* [EGD-558] added some audio debug logs

* [EGD-558] left a comment why ringing sound is currently disabled

* [EGD-558] PR fixes

* [EGD-558] PR fix

* [EGD-558] added propper error codes on pointer checking in Audio.cpp
2020-04-10 11:00:17 +02:00
Adam Dobrowolski
4a61f400e7 EGD-3055 Fixed printf issues 2020-04-08 12:23:53 +02:00
Przemyslaw Brudny
c0822b6658 [EDG-3019] Moved log.hpp and debug.hpp into main PurePhone repo 2020-03-24 15:55:32 +01:00
Przemyslaw Brudny
8f92715951 [EDG-3019] Segger utils moved to git submodule 2020-03-23 18:37:37 +01:00
Adam Dobrowolski
e4de2a2410 SIM hot swap fixes and system abort on not enabled hot swap feature
* SIM hot swap should now properly show |x| in sim place when there is
  no SIM inserted in selected sim slot
* ServiceCellular now can inform on Fatal state desktop which will
  trigger window `Reboot` with no point of exit
* All windows in Desktop now have name in one place
* Access to cmux channels via enum class instead of String (which is errorprone)
2020-03-19 14:53:03 +01:00
Radoslaw Wicik
a8573a404c Apply new style 2020-03-17 10:03:16 +01:00
Alek-Mudita
dc3d655abe Egd 2566 signal strength indicator (#214)
* [EGD-2566] refactored cellular notification recogniton

* [EGD-2566] add new conversion to dBm

* [EGD-2566] added dBm to bar calculations
some minor fixes connected to signal strength
put static data in event store

* [EGD-2566] removed magic number

* [EGD-2566] PR fixes

* [EGD-2566] PR fixes

* [EGD-2566] missing rebase fix

* [EGD-2566] moved Signal Strength to separate file.

* [EGD-2566] missing return

* [EGD-2566] update signalstrength without message sending

* [EGD-2566]  reverted USE_DAEFAULT_BAUDRATE to 1

* [EGD-2566][fix] missing change for closing  end call window

* [EGD-2566] fix for proper checking for CSQ. Verbose setting of singla strength in Store

* [EGD-2566] fixed inlude in ScopeDTime.

* [EGD-2566]  added mutex in GSM store

* [EGD-2566] missing change

* [EGD-2566] reverted USE_DAEFAULT_BAUDRATE

* [EGD-2566] PR fixy
2020-03-13 16:42:42 +01:00
Adam Dobrowolski
2ee92531bb EGD-2848 Fixed super ugly icon shown on SIM update 2020-03-12 15:24:39 +01:00
Adam Dobrowolski
66467ab9d2 [EGD-2571] refactor - commands on GSM - SIM working 2020-02-18 07:39:16 +00:00
Adam Dobrowolski
55220c45a5 [EGD-2523] Added sim card indicator on topBar 2020-02-18 07:39:16 +00:00
Adam Dobrowolski
ae915f3512 [EGD-2571] Clenup: removed MessageType static_casts, fixed debug.h defines. Added GPIO event 2020-02-12 13:31:13 +00:00
Adam Dobrowolski
11f32113b9 [EGD-2499] [FIX] fixed race condition in ApplicationManager
it was a race between ApplicationX and ApplicationMager.
If application Manager got timeslice of sheduler prior to Application X
switch of Application state, switch of focus application stayed igored
2020-01-20 12:38:12 +01:00
Adam Dobrowolski
703d05875d [EGD-2499] [WIP] debugging application manager in progress, appliaction manager states are culprit 2020-01-20 12:38:12 +01:00
Adam Dobrowolski
c3582983da [EGD-2476] Added static lifetime store for battery state and use it on UI 2020-01-15 15:51:21 +01:00
Adam Dobrowolski
26a98bce1e [AppManagement] Getting through previus windows by list
* removed first main window as first window in call app
* moved window switching to application from window
2020-01-10 14:15:28 +01:00
Mateusz Grzywacz
aeaf39191b [EGD-2368] moved all AppTimer objects definitions to init list, to get rid of default AppTimer() ctor 2020-01-02 14:53:34 +01:00
Mateusz Grzywacz
e2cafcee70 [EGD-2368] changes requested in a PR 2020-01-02 14:53:34 +01:00
Mateusz Grzywacz
33ac431af4 [EGD-2368] Approach 2: timer object for use in Application. 2020-01-02 14:53:34 +01:00
Mateusz Grzywacz
c09df40905 [EGD-2368] Approach 1: list of timers 2020-01-02 14:53:34 +01:00
Adam Dobrowolski
9e6402e228 [EGD-2335] Addeed codestyle to changed code chunks 2019-12-09 11:19:37 +01:00
Adam Dobrowolski
092e2b7beb [EGD-2335] Fixed lack of nullptr check 2019-12-09 11:19:37 +01:00
Adam Dobrowolski
3e207881e3 [EGD-2335] misc fixes 2019-12-09 11:19:37 +01:00
Adam Dobrowolski
dba1e8ad8f [EGD-2335] Input of special characters works fine - based on app stack
Small fixup in appStack handling
Limited logs on define for ApplicationManager
2019-12-09 11:19:37 +01:00
Adam Dobrowolski
72496ee8f0 [EGD-2335] Position text properly
When adding special char - if it succeed position cursor
2019-12-09 11:19:37 +01:00
Adam Dobrowolski
339e9c782a [WIP] [EGD-2335] adding special char works ok - need to forget special input app 2019-12-09 11:19:37 +01:00
Adam Dobrowolski
715f45add3 [WIP] [EGD-2335] sorting applications by last app works 2019-12-09 11:19:37 +01:00
Adam Dobrowolski
6cfde644d5 [WIP] [EGD-2335] Removed redundant state in ApplicationManager Application wrapper
* Both Application and ApplicationManager had the same Application::State
state. Unified.
* Removed map of applications to applications list in ApplicationManager
2019-12-09 11:19:37 +01:00
Adam Dobrowolski
ab43425383 [EGD-2335] WIP: we can take in special char
we can take it in ... but we cant say where to putIt
2019-12-09 11:19:37 +01:00
Adam Dobrowolski
77e8cd9341 [EGD-2335] WIP adding AppSpecialInput 2019-12-09 11:19:37 +01:00
Adam Dobrowolski
ab77fbe41a [EGD-2335] Added processing long press prior to key event and return to desktop 2019-11-27 11:09:52 +01:00
Adam Dobrowolski
c5c9ea0087 [EGD-2335] WIP: handling keys moved to widget - works smoothly 2019-11-27 11:09:52 +01:00