Commit Graph

61 Commits

Author SHA1 Message Date
Krzysztof Mozdzynski
0ef0d615f3 [EGD-4150] Change filename i18 to i18n (#1108)
Change filename of internationalization files from i18 to i18n.

I18n should stand for internationalization, not i18. That's why I changed in 'module-utils' name of the folder 'i18' and both .cpp and .hpp files to 'i18n'.
2020-11-27 18:31:00 +01:00
Piotr Tanski
fe86716984 [EGD-4153] Use actions instead explicit applications switch. (#1032) 2020-11-23 09:32:42 +01:00
Radoslaw Wicik
998ceac48e [EGD-4217] Convert service-db to library 2020-11-13 12:18:33 +01:00
Radoslaw Wicik
945e39df21 [EGD-4216] Convert service-cellular to library 2020-11-10 13:35:12 +01:00
Hubert Chrzaniuk
b7e1a04a12 [EGD-4301] Bluetooth Audio profile support (#984)
- implemented audio sink/source switching
 - reorganized / renamed sound events
 - moved SetBluetoothStreamData and AudioDevice instance to base Operation class
 - added audio profiles RecordingBluetoothHSP, RoutingBluetoothHSP
 - removed unused audio Profiles
 - removed redundant OutputPath and InputPath classes from CodecParamsMAX98090
2020-11-09 17:53:28 +01:00
Radoslaw Wicik
4bdfb00de7 [EGD-4214] Convert service audio to library 2020-11-09 11:56:19 +01:00
Hubert Chrzaniuk
c9df89318a [EGD-4169] Fix call timer (#908) 2020-10-28 16:11:59 +01:00
Piotr Tanski
dd50838789 [EGD-4051] Based application manager app switching on application stack. (#858)
* [EGD-4051] Based application manager app switching on application stack.

* [EGD-4051] Application manager thorough refactor.
2020-10-23 15:45:58 +02:00
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
Adam Dobrowolski
383073f8f7 EGD-4098 Call rework 2020-10-15 17:45:40 +02:00
Hubert Chrzaniuk
ebcef7a692 [EGD-4054] Audio API for setting stream parameters (#826) 2020-10-15 09:27:15 +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
alek
07c33c89cc [EGD-3491] Added DTMF tone transmission 2020-09-25 18:18:34 +02:00
alek
cb0f0b2a9b [EGD-3095] added audio workers synchronization mutexes
Added incoming call ring tone.
2020-07-23 23:58:29 +02:00
Przemyslaw Brudny
5c64f96b11 [EGD-3336] Alignment refactor. 2020-07-15 13:07:20 +02:00
Marcin Smoczyński
0936930063 [EGD-2593] improved matching contact by numbers
Introduced format aware phone number comparison to allow improved
matching phone numbers with contacts.

Phone numbers are also displayed formatted on a phonebook/calllog
list view and on detailed contact info view.

Entered and e164 number are verified to match each other during
processing db request.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2020-06-17 14:01:38 +02:00
Alek Rudnik
89eeba99eb Egd 3188 new sms enhancments (#355)
* [EGD-3188] new sms window - fix layout and functionalities

* [EGD-3188] sending sms from calllog and phonebook

* [EGD-3188] aborting the incoming call via sending sms template
Unufy sms ui common actions to use libphone number only
added default option to contactrecrord::getformattedname method

* [EGD-3188] fix for siwtching back from sms template window when the call is aborted

* [EGD-3188] PR fixes
2020-05-12 20:19:07 +02:00
Pawel Olejniczak
2014feabc7 [EGD-3155] Add changes suggested by reviewers 2020-05-08 08:57:29 +02:00
Marcin Smoczyński
c47923d70a [EGD-3107] Call number validation
Use specialized class to to pass phone number between apps and services
instead of ambigious std::string. Introduced class (utils::PhoneNumber)
wraps calls to libphonenumber providing more convienient interface.
However using libphonenumber directly may be resource hungry in terms
of stack, heap and cpu usage, so helper class has been introduced to
pass information about phone numbers (utils::PhoneNumber::View). It is
designed to maintain integrity thus can be created from an instance of
utils::PhoneNumber only or moved/copied to.

Add new field to the calllog db holding e164 formatted number. Both
entered and e164 numbers will be needed to be able to match with
contacts correctly.

Add constexpr information about country codes (utils::country).
2020-05-05 00:51:53 +02:00
Adam Dobrowolski
5f5a01fa43 EGD-2964 application call removed leak 2020-05-04 08:45:20 +02:00
Alek Rudnik
895369e8f8 [EGD-3114] fix alignment spelling (#300) 2020-04-15 09:13:37 +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
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
Adam Dobrowolski
09adf35eb5 EGD-3026 Database record unified ID field name 2020-03-24 14:17:12 +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
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
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
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
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
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-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
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
Robert Borzecki
38d1f8ceb6 Added missing brackets. 2019-09-03 15:51:38 +02:00
Robert Borzecki
7a4af994af WIP: refreshing signal strength. 2019-08-07 12:07:17 +02:00
Robert Borzecki
a9abf5cad6 Merge branch 'EGD-2011_audio_routing' of github.com:muditacom/PurePhone into application-starting 2019-08-07 08:42:04 +02:00
Mati
0557c1d4f7 WiP: temp commit 2019-08-07 07:45:39 +02:00
Robert Borzecki
fd3c4b8b15 Added routing in incoming call. 2019-08-07 07:16:31 +02:00
Robert Borzecki
841bf4407a Added message icon and call duration clock. 2019-08-06 23:23:05 +02:00