Commit Graph

89 Commits

Author SHA1 Message Date
Adam Dobrowolski
4a61f400e7 EGD-3055 Fixed printf issues 2020-04-08 12:23:53 +02:00
Alek-Mudita
1446a4bff8 Egd 2539 duration class (#258)
* [GED-2539] Timestamp : changed buffer to heap one

[EGD-2539] implemented 1st version of Duration class

[EGD-2539] added autoformating of the output

[EGD-2539] clean up

[EGD-2539] used duration in call and calllog
added Duration operators

[EGD-2539] add better duartions to calllog.db

[EGD-2539] format file

* [EGD-2539] fixes after rebase

* [EGD-2539] displayed format follows design guidline

* [EGD-2539] added UT for duration class and necessary FW fixes

* [EGD-2539] fixed tim_conversion UT

* [EGD-2539] PR fixes

* [EGD-2539] added move constructor to UTF8 class

* [EGD-2539] added checking for nullptr in fillContactData

* [EGD-2539] PR fixes
2020-03-25 17:14:00 +01:00
Przemyslaw Brudny
c0822b6658 [EDG-3019] Moved log.hpp and debug.hpp into main PurePhone repo 2020-03-24 15:55:32 +01:00
Adam Dobrowolski
09adf35eb5 EGD-3026 Database record unified ID field name 2020-03-24 14:17:12 +01:00
Przemyslaw Brudny
8f92715951 [EDG-3019] Segger utils moved to git submodule 2020-03-23 18:37:37 +01:00
Alek-Mudita
0b7d24710a Egd 2548 fix layout of ongoing call window (#246)
* [EGD-2548] added AddContactIcon

* [EGD-2548] added send message Icon - still need to use it in Call Window

* [EGD-2548] SendSmsIcon used in callwindow

* [EGD-2548] rewritten Icon class to be template based
Created all missing Icons

* [EGD-2548] integranio of new icons in callwindow and some fixes

* [EGD-2548] code clean up and tune up constants

* [EGD-2548] clang formatter and fix speaker icons

* [EGD-2548] revert of USE_DAEFAULT_BAUDRATE

* [EGD-2648] destruktor fix
2020-03-20 12:55:51 +01:00
Alek-Mudita
2f92083cec [EGD-3003] fonts clean up (#244)
* [EGD-3003] fonts clean up

* [EGD-3003] large instead of veryverybig
2020-03-19 16:03:11 +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
Alek-Mudita
e3296bb4e8 Egd 2946 add proper rejected call handling (#220)
* [EGD-2046] fixed rejected call status.
Hangup call as asnychronous call
Code clean up.

* [EGD-2964] code refactored

* [EGD-2946] missing rejexted call type name

* [EGD-2946] call app - time duration use RTC
fix #ifdef in AudioServiceApi
Minor gui fixec in call window
2020-03-12 10:46:22 +01:00
Alek-Mudita
017d1812ab Egd 2581 adding new contact from callapp with validation (#207)
* [EGD-2581] [fix] added phonebook const windows names

* [EGD-2581] Dialog - added "No" handler

* [EGD-2581] added contact checking before adding and notfication that it exists

* [EGD-2581] added contact edition action

* [EGD-2581] moved duplicated contact dialog window to phonebook
2020-03-09 10:00:34 +01:00
Alek-Mudita
b853087b3b Egd 2513 callog phonebook integration (#173)
* [EGD-2513] new API to create temparary contact entry if cannot be found
Calllog should search for contact.

* [EGD-2513] #pragma once in all headers file in module-db

* [EGD-2513] new constructor for CalllogRecord

* [EGD-2513] contact recognition for calllog DB API

* [EGD-2513] clean up

* [EGD-2513] displaying name and surname call and calllog

* [EGD-2513] enum instead bool

* [EGD-2513] fix in remporary contact creation

* [fix][EGD-2513] missing c_str

* [fix][EGD-2513] minor fixes in documentation

* [EGD-2513] unified entry read state for both sms and calllog dbs

* [EGD-2513] calllog db documentation

* [EGD-2513] code reviex fixed in ContactRecord
2020-03-02 16:43:29 +01:00
Alek-Mudita
6c8d1f15ff [EGD-2935] added missing NO ANSWER notification (#200) 2020-03-02 14:17:57 +01:00
Alek-Mudita
8585ea8cf4 Call app - contact recognition (#169)
* [EGD-2569] added # and * as numeric inputs

* [EGD-2569] added '+' input sign

* [EGD-2569] created defines with window names for call app

* [EGD-2547] contact recognition during call

* [EGD-2547] moved UiCommon

* [fix][EGD-2547] fix for setting empty UTF string to text gui field

* [EGD-2547] adding new contact from call enter window

* [EGD-2547] minor clean up and added param validation

* [EGD-2547] easier method to add contact

* [EGD-2569] added new keyboard profile (numeric with special signs)
Desktop is passing it properly to Call app.

* [EGD-2569] added transaltor to enternumberwindow

* [EGD-2569] reverted unnecessary changes

[EGD-2569] revert

[EGD-2569] revert of not needed changes

* [EGD-2569] fix in phone.kprof

* [EGD-2547] unified API to call and send sms

* [EGD-2547]  changed default to true

* [EGD-2547] minor clean up.

* [EGD-2569] revert changes in PinLockWindow.cpp

* [EGD-2569][fix] eneter as null char

* [EGD-2547] PR fixes

[EGD-2547] code review fixes / refactored UiCommon

[EGD-2547] more code review fixes

[EGD-2547] rem not needed cast

* [EGD-2547] PR fixes

* [EGD-2547] splitting of UiCommon

* [EGD-2547] typo fix

* [EGD-2547] revereted one line conversion from char to string.
2020-02-28 09:37:25 +01: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
Alek
7ab90f8407 [EGD-555] PR fix 2020-01-21 11:42:36 +01:00
Alek
262fe3809f [EGD-555] callapp name clean up 2020-01-21 11:42:36 +01:00
Alek
5a46f8e50f [EGD-555] fixed messageSwitchToCall API 2020-01-21 11:42:36 +01:00
Alek
d3e41393fe [EGD-555] added switch data handling at enternumberwindow 2020-01-21 11:42:36 +01:00
Alek-Mudita
9bc0e6f3c5 Egd 2420 adding new calllog entry phase 1 (#134)
* [EGD-2420]  minor fix in call app timer

* [EGD-2420] added missing dictionary definitions

* [EGD-2420] removed the same preprocesor defintions

* [fix][EGD-2420] for adding new entry to calllog DB.
It is workaournd as it looks like there is issue with printing 64bit variables in vsnprintf

* [EGD-2420] added new timer for call duration on cellular servcice.

* [EGD-2420] changed unnecessary LOG_ERRORs to LOG_DEBUGs

* [EGD-2420] changed logging levels

* [EGD-2420] added TODO
2020-01-15 15:05:25 +01:00
Alek-Mudita
7ed1fa2f62 Egd 2449 fix for call aborting (#130)
* [fix] checked for proper time ID

* [fix] missing change

* adding proper debugging  possibility

* [fix] added more response validation

* [fix] validatio of the AT+CLCC response

* changed log level

* [fix] added explantation for the fix

* clean up AT command resposne validation methods

* [fix] for aborting call using long press

* added abort() in vApplicationStackOverflowHook

* code review fixes
2020-01-10 16:08:10 +01:00
Adam Dobrowolski
f9127fcc4d [EGD-2392] Reviev applied 2020-01-10 14:15:28 +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
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
5381651663 [WIP] [EGD-2335] Application manager works ok after application state unification 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
Mateusz Grzywacz
e4aab4228a [EGD-2336] fix | changed argument to bool type 2019-12-03 15:13:13 +01:00
Mateusz Grzywacz
d469e92c32 [EGD-2336] selection of ellipsis (dots) position 2019-12-03 15:13:13 +01:00
Mateusz Grzywacz
de765a46f8 [EGD-2336] initial ellipsis 2019-12-03 15:13:13 +01:00
Alek-Mudita
d0d7383e54 Fix tickhandler in call application (#101)
* [fix] for tick handler and oninput methods

* enhanced logging on back button
2019-12-03 12:21:19 +01:00
Alek-Mudita
8b167d1809 Fix for calling (#91)
* fix for not switching to active call

* Added missing icons during unaswered outgoing call + some error logging

* Added additional logging to AT commands
defult timeout set to 300 ms.
Set different timeouts per each AT command.
Minor code refactoring.

* Added some logging, fixed some timeouts and number of returned tockens.

* commented out not needed log

* Added LOG_CUSTOM logging support. Remove unnecessary LOG_ERRORS.

* set ATA cmd timeout to 90 sec

* PR fixes
2019-11-29 11:18:57 +01:00
Alek
d76fee2f83 added checking of pointers after dynamic_cast 2019-11-27 14:15:40 +01:00
Alek-Mudita
1c6701ff2a Egd 516 enter number window (#89)
* EGD-516 fixed layout in enterwindow.
Gently refactor the code.
Minor enhancments.

* EGD-516 removed reinterpret casts from enterwindow

* EGD-516 added new contact icon

* EGD-516 added missing font and new Icon widget.

* EGD-516 fixed icon label alignment

* EGD-516 minor icon changes

* EGD-516 add CallAppStyle

* EGD-516 added icon styl to callappstyle
2019-11-27 14:15:40 +01:00
Adam Dobrowolski
618c2578da [EGD-2335] cleanup: fixed call input 2019-11-27 11:09:52 +01:00
Adam Dobrowolski
e1bde27d79 [EDG-2335] WIP: Application.cpp handling is just sad 2019-11-27 11:09:52 +01:00
RomanKubiak
5e491d4a63 [WiP] [EDG-2167] Working CMUX, call in/out. Code to be cleaned 2019-11-19 12:53:29 +01:00
Alek-Mudita
4f9360b5f1 Egd 2252 no outgoing call number (#68)
* EGD-2252 fixed lack of number during outgoing call

* EGD-2252 one notfication type

* EGD-2252 some call switch data clean up
2019-11-07 19:25:20 +01:00
Adam Dobrowolski
164b9281c8 EGD-2195 - Changed sizes for fonts in project
* changed all fonts to follow one `Style.hpp` include
* Moved title to AppWindow from all the places in code
* added logging on font selection - when not found
* minor fixes
2019-10-25 13:04:33 +02:00
Alek
85b46ccd6a EGD-2180 fix for call app 2019-10-22 21:07:35 +02:00
Alek
44d8281eff EGD-2180 put GUI_REFERSH_FAST in the parent method 2019-10-22 21:07:17 +02:00
Alek
f9b6f8fb40 EGD-2180 auto handling of back button 2019-10-22 21:06:55 +02:00
Alek
006bc3d129 EGD-2180 Issue with gui::ShowMode 2019-10-15 23:18:02 +02:00
Robert Borzecki
30846bfefa wip: Calling from phonebook. 2019-09-18 14:02:21 +02:00
Robert Borzecki
18ac47c10f Added phonebook windows. 2019-09-06 21:19:33 +02:00
Robert Borzecki
1dccf32a8d Added translation for call application.
Added flag to applications to prevent from locking the phone.
Changed look of call window.
2019-09-06 06:50:55 +02:00
Robert Borzecki
3a2e2f735a Added lanugage translation support to call app. 2019-09-04 09:01:38 +02:00
Robert Borzecki
175798a3bc Added circles to call window. 2019-09-04 08:44:02 +02:00