Commit Graph

146 Commits

Author SHA1 Message Date
Tomasz Sobkowiak
0022da5e37 [EGD-5204] Show passcode screen only when PC is connected
USBConfigured event is not fired when powerbank, charger is connected.

[EGD-5204] Show passcode screen only when PC is connected

USBConfigured event is not fired when powerbank, charger is connected.
2021-02-25 10:28:08 +01:00
Piotr Tański
d5c3d41ca4 [EGD-5204] Secure USB communication
Secure all endpoints by returning 403(Forbidden) when USB is connected.
Request screen passcode to enable secured endpoints.
2021-02-24 19:49:07 +01:00
Kuba Kleczkowski
993235b7b7 [EGD-5740] Change cellular message handlers
Phone modes dependent message handlig is moved to separated
handlers.
2021-02-23 17:41:53 +01:00
Lukasz Skrzypczak
a5d1fadf2e [EGD-3685] Vibra handling
Added driver & business logic. Responds to messages.
2021-02-18 17:27:54 +01:00
Adam Dobrowolski
f724d9074b [EGD-5701] Added DOM dump to harness
* Added generic handler to developerMode
* Added DOM message handling
2021-02-18 16:53:07 +01:00
Marek Niepieklo
042e5b6984 [EGD-4625] Fix update timeout timer
Moved timer handling to Service Desktop
Use message comm. to update timer state
2021-02-18 13:45:15 +01:00
Wojtek Rzepecki
323786c4d2 [EGD-4797] Battery bar as widget
Battery bar now is present as
a separate widget in top bar.
Additionally refactored passing
battery status.
2021-02-15 13:05:56 +01:00
Maciej-Mudita
11aa4c7ffb [EGD-5382] Add LowPower CpuSentinels
In order to synchronize the Low Power mode, the services were
immediately informed about the frequency change,
so that they can update their resources (e.g. PWM filling)
and services may request the maximum CPU frequency in order
to perform a task (e.g. screen redraw, telephone conversation)
2021-02-12 09:40:36 +01:00
Maciej-Mudita
ec56afc933 [EGD-5381] Add Low Power Drivers
Peripherals clock synchronization dependent on PLL2
2021-02-10 08:46:13 +01:00
Wojtek Rzepecki
01d1c84f25 [EGD-5390] Add keypad backlight to GUI
Added demo connection to keypad light
GUI window.
2021-02-01 16:55:00 +01:00
Przemyslaw Brudny
9645fbc278 [EDG-4717] Add screen for brightness control
Window for manual and automatic screen brightness control.
2021-01-19 12:09:36 +01:00
Wojtek Rzepecki
b24f0bca20 [EGD-2501] Add gsm powerdown due to battery
Gsm model power state maintenance based on battery level.
2021-01-15 11:05:22 +01:00
pawpMudita
52ad797f25 [EGD-4737] Add VoLTE ON/OFF switch in Settings Network window
Add VoLTE ON/OFF switch in Settings Network window
2021-01-11 12:53:45 +01:00
breichel
a5f957823d [EGD-4628] Add APN settings and URC handler for PDP context
Classes supporting APN settings on modem and telephone
configuration (synchronization) have been constructed.
Possibility of asynchronous execution
of individual actions via ServiceCellularAPI.
Added message with information about deactivation of the
PDP context (URC) that the
application / service can listen on.
2021-01-10 10:01:30 +01:00
Wojtek Rzepecki
7e157e83a2 [EGD-5050] Add brownout detection
Brownout detectection realized through charger driver
2021-01-07 10:55:25 +01:00
Hubert Chrzaniuk
bb6989c2a8 [EGD-4978] Add Bluetooth virtual audio device
Bluetooth audio device requires different handling than other
audio devices. The commit adds proxy device that does not
handle requests itself but instead sends requests too Bluetooth
service.
2020-12-21 13:46:40 +01:00
Wojtek Rzepecki
243deec8d5 [EGD-4952] Added critical level check + messages 2020-12-21 10:12:05 +01:00
wojtekrzepecki
c58bb1ad70 [EGD 4654] spike light sensor to display (#1158)
* [EGD-4654] Light control first working

* [EGD-4654] Extended interface with custom brightness function

* [EGD-4654] Extended set of actions

* [EGD-4654] Fixed timer issue + cleanup

* [EGD-4654] Improving switch-case logic

* [EGD-4654] Moved keypad light control to previous state

* [EGD-4654] Refactor in screen light message

* [EGD-4654] Documentation work

* [EGD-4654] Extension of docu

* [EGD-4654] Typo fixing

* [EGD-4654] More improvements in doc

* [EGD-4654] Doxy generation fixes

* [EGD-4654] Pre pr cleanup

* [EGD-4654] PR comments pt 1

* [EGD-4654] Docu small change

* [EGD-4654] Doc updated with pumls

* [EGD-4654] added newlines at the end

Co-authored-by: Wojtek Rzepecki <wojtek.rzepecki@mudita.com>
2020-12-11 15:24:01 +01:00
wojtekrzepecki
4aef4d8166 [EGD-4653] BSP: amblient light sensor (#1135)
* [EGD-4653] Added first working readout

* [EGD-4653] Light sensor first working irq

* [EGD-4653] Interrupt config

* [EGD-4653] Cleanup

* [EGD-4653] Linux target file added

* [EGD-4653] Added messages with readout + fix of keypad light message

* [EGD-4653] Proper lux calculation

* [EGD-4653] Branch fix

* [EGD-4653] Pre PR cleanup

* [EGD-4653] Clang tidy hints application

* [EGD-4653] PR comments pt1

* [EGD-4653] Style branch fix

* [EGD-4653] Pr comments pt2

Co-authored-by: Wojtek Rzepecki <wojtek.rzepecki@mudita.com>
2020-12-04 15:21:45 +01:00
wojtekrzepecki
be057d28d4 [EGD 4449] display backlight (#1120)
* [EGD-4449] Added fsl drivers for pwm

* [EGD-4449] Added sketch of cpp wrapper for PWM driver

* [EGD-4449] First configuration of pwm

* [EGD-4449] Pin Mux config added

* [EGD-4449] Finalized basic configuration

* [EGD-4449] Added layer of eink frontlight control

* [EGD-4449] Added to worker event

* [EGD-4449] Added getter for brightness level

* [EGD-4449] Added mutex and clamp

* [EGD-4449] First working PWM driver configuration

* [EGD-4449] More minimalistic interface

* [EGD-4449] Cleaning and refactoring

* [EGD-4449] Connected to message system

* [EGD-4449] Added gamma correction

* [EGD-4449] PWM Start/Stop logic configuration

* [EGD-4449] Linux target file added

* [EGD-4449] Minor refactorings

* [EGD-4449] Branch style fix

* [EGD-4449] PR comments pt 1

* [EGD-4449] PR comments pt 2

* [EGD-4449] branch style fix

* [EGD-4449] PR pt3 - messages change

* [EGD-4449] Minor change

* [EGD-4449] BrightnessLevel type added

* [EGD-4449] Moved processing to EventManager

* [EGD-4449] 1-5 levels to percentage

* [EGD-4449] Fix style

Co-authored-by: Wojtek Rzepecki <wojtek.rzepecki@mudita.com>
2020-12-02 16:29:03 +01:00
wojtekrzepecki
7e568d3c95 [EGD-4175] keyboard backlight (#1082)
* [EGD-4483] fix for put_64 in libmtp

* [EGD-4175] Added cpp to cmake script

* [EGD-4175] Rename to keypad_backlight and first test

* [EGD-4175] First working setup

* [EGD-4175] Remaking the interface

* [EGD-4175] Added class to event manager

* [EGD-4175] Cleaning

* [EGD-4175] Added linux target file

* [EGD-4175] Added missing deinit

* [EGD-4175] cleanup

* [EGD-4175] Added check state function

* [EGD-4175] Simpler interface

* [EGD-4175] Linux target file adjustment

* [EGD-4175] Cleanup ..

* [EGD-4175] Style check fail repair

* [EGD-4175] Another style check fix

* [EGD-4175] Applying style branch fix

* [EGD-4175] Red<->Green exchange

* [EGD-4175] PR comments pt1

* [EGD-4175] PR comments pt2

* [EGD-4175] PR comments pt3

* [EGD-4175] Another style check fix

* [EGD-4175] next PR comments

* [EGD-4175] New cpp file for evm, namespaces fix

* [EGD-4175] Last pr cleaning

* [EGD-4175] Yet another style check fix...

* [EGD-4175] Final fixes from pr

Co-authored-by: Roman Kubiak <roman.kubiak@mudita.com>
Co-authored-by: Wojtek Rzepecki <wojtek.rzepecki@mudita.com>
2020-11-30 09:25:11 +01:00
kkleczkowski
608839d453 [EGD-4423] Added MMI convertible to action messages. (#1087)
* [EGD-4423] Added MMI convertible to action messages.

* [EGD-4423] Fixed message type.

* [EGD-4423] Review applied.

* [EGD-4423] Unneded message removed, restored cellular log blocking.

Co-authored-by: Kuba Kleczkowski <dd>
2020-11-26 15:44:36 +01:00
Piotr Tanski
fe86716984 [EGD-4153] Use actions instead explicit applications switch. (#1032) 2020-11-23 09:32:42 +01:00
breichel
adb6a64085 [EGD-4063] Handling PUK/PIN (#1014)
[EGD-4063] Added handling of PIN/PUK codes for SIM card objects.
SimCard class was added (supply pin and puk, change sim, get state, get sim lock infromation, get attempts counters)
URCCpin via URC handler was added
New message type to send data handled in URCCpin handler to ServiceCellular
2020-11-19 11:25:56 +01:00
Bartosz Cichocki
d5baec3837 [EGD-4211] moved test harness into service-desktop (#945)
Co-authored-by: SP2FET <bartosz.cichocki@mudita.com>
2020-11-05 13:37:34 +01:00
Piotr Tanski
299be4daf6 [EGD-4151] Application manager actions introduced. (#905)
* [EGD-4151] Application manifest structure defined.
* [EGD-4156] Applications registry and basic action handler implemented.
2020-11-04 10:24:35 +01:00
Adam
8bab7f0031 EGD-3585 ServiceGUI and ServiceEink initial cleanup (#953)
* EGD-3585 SerwiceGUI and ServiceEink initial cleanup

* moved code to one function per message handling
* removed dead code from comments
* added Service.cpp demangling to debug messages for clear output
* added Response value to return messages to `connect()`
2020-11-03 17:27:00 +01:00
Pawel Paprocki
f3b31d690f [EGD-4058] Create File Indexer db Agent (#863) 2020-11-02 14:47:29 +01:00
breichel
5be842fc7d Egd 3676 (#824)
[EGD-3676] Version of PIN SIM handling with mockuped actions (messages)
2020-11-02 14:36:16 +01:00
Lucjan Bryndza
f7350c4d44 [EGD-4181] Indexer service scan files (#914)
* [EGD-4181] Initial file indexer service

* [EGD-4181] Initial version of the indexer service

* [EGD-4181] Small changes needed for file indexer

* [EGD-4181] Pass message from vfs to indexer service

* [EGD-4181] Initial indexer service with timers

* [EGD-4181] File indexer service list files

* [EGD-4181] Use default destructor in header

Don't use iterator

* [EGD-4181] Code review fixes.

* [EGD-4030] File indexer handle base mime types

* [EGD-4181] Code review fixes.

* [EGD-4181] Audio file indexer initial stub

* [EGD-4030] Text files indexer

* [EGD-4081] Missing UTF8 file header

* [EGD-4181] Startup paths as an array.

* [EGD-4181] VFS notifier dir fixes

* [EGD-4181] Service fileindexer as static library

* [EGD-4181] Code review fixes

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2020-10-30 16:19:39 +01:00
Adam
0422d48f46 EGD-4178 EINK inverted mode (#915)
* EGD-4178 Added simplistic eink invert mode option
2020-10-30 10:37:56 +01:00
Adam
64db7d8327 EDG-3585 Small fixup for refresh & cleanup in buildDrawLists (#916)
* EGD-3585 Minor refresh fixup&  Normalised buildDrawList everywhere
2020-10-30 10:13:47 +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
marek303
daf6500977 [EGD-4123] SwitchToNotification added to ApplicationManager (#879)
* [EGD-4123] Implemented notifications based on application manager actions.

Co-authored-by: marek303 <marek303@poczta.onet.pl>
Co-authored-by: Piotr Tański <piotr.tanski@mudita.com>
2020-10-23 13:52:28 +02:00
Hubert Chrzaniuk
4c22ef5107 [EGD-4099] BT set stream (#846) 2020-10-20 13:43:53 +02:00
Przemyslaw Brudny
e131dae68f [EGD-3743] Removed old doxygen copyright statements from project. 2020-10-20 12:55:10 +02:00
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
Maciej Gibowicz
d5b0283a0c [EGD-4038] handling incoming calls and sms in sleep mode (#819) 2020-10-19 13:25:39 +02:00
KacperLewandowski
ba4640c4af [EGD-3469] ServiceTime - start 2020-10-15 20:58:45 +02:00
Bartek Cichocki
305d43a176 [EGD-3773] added A2DP playback backend 2020-10-14 09:23:53 +02:00
RobertPiet
26ab21212e [EGD-3800] settings api and test initial version, unit tests, reviews 2020-10-12 11:06:11 +02:00
Hubert Chrzaniuk
9c7e4139db [EGD-3784] Add service audio non blocking API (#789) 2020-10-08 10:15:46 +02:00
Marcin Smoczyński
2cff347326 [EGD-4002] audio: remove phone call recording (#794)
There is no requirement for this functionality and it complicates the
audio subsystem.

Fix includes and cleanup minor flaws in the process of this change.
2020-10-07 15:49:40 +02:00
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
Tomek Sobkowiak
e50e30f154 [EDG-3825] Add base messages for settings service (#747)
* [EDG-3825] Add base messages for settings service
2020-10-01 20:29:00 +02:00
SP2FET
ca03073cc4 [EGD-3643] added BT dedicated bonding (simple pairing) 2020-10-01 17:19:41 +02:00
kkleczkowski
250e7ea9c0 Egd 2914 ussd (#729)
* [EGD-2914] Window + base API.

* [EGD-2914] USSD test window changed.

* [EGD-2914] CMUX frames deserialised in dlc channel.

* [EGD-2914] USSD session.

* [EGD-2914] CUSD urc handler.

* [EGD-2914] Simplified USSD test window, sms storage command.

* [EGD-2914] Setting sms storage at modem init.

* [EGD-2914] Changelog.

* [EGD-2914] Style fix.

* [EGD-2914] Style fix again.

* [EGD-2914] Cleanup.

* [EGD-2914] PR applied.

* [EGD-2914] Rebase fixes.

* [EGD-2914] Style fix.

Co-authored-by: Kuba Kleczkowski <dd>
2020-10-01 14:30:22 +02:00
Bartek Cichocki
2060dd964f [EGD-2625] added BT scan
[EGD-2625] moved btstack to mudita_develop branch
2020-09-29 13:51:58 +02:00
Jakub Pyszczak
6295751412 [EGD-3818] Audio service cleanup 2020-09-28 10:54:07 +02:00
alek
07c33c89cc [EGD-3491] Added DTMF tone transmission 2020-09-25 18:18:34 +02:00