Commit Graph

167 Commits

Author SHA1 Message Date
Lukasz Skrzypczak
379d5130c3 [BH-1071] Latch detect on startup
Added latch pressed detection
2021-11-03 15:34:35 +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
Przemyslaw Brudny
d768eb3665 [EGD-7766] Vibration level PWM addition
Added base PWM settings to vibrations. Added vibration
volume setting.
2021-10-20 14:06:39 +03:00
Piotr Tański
f8adbf2bed [EGD-7474] Contacts management fixes
Fixed managing contacts on the application side.
2021-10-04 15:06:22 +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
Pawel.Paprocki
757f0db958 [BH-690] Add interface for alarm and alarm repo
Definition of basic alarm structures and interfaces
2021-08-06 13:17:58 +02:00
Wojtek Rzepecki
0e42b0016e [EGD-7044] Strip down calendar code
Stripping the calendar code to provide only
MVP defined functionalities
2021-07-07 09:05:57 +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
Marek Niepieklo
9b28cd6790 [CP-84] Implement Security API
- Added pass code unlock from MC
- Removed Set USB security status
- Changed isLocked to phoneLocked in request for phone lock status
- Removed remainings of USB security in Settings App
- Reworked USB security model to depend both on
    Phone lock state and Pass code being enabled
- Updated test_security.py
2021-06-08 10:23:21 +02:00
Radoslaw Wicik
aa1ca514cb [BH-353] Add minimal build target for BH
Introducing changes required for adding BellHybird target without
removing PurePhone.
Adden new targets:
* Pure (builds PurePhone and PurePhone.img)
* Bell (builds BellHybird and BellHybird.img)
* [PurePhone|BellHybrid]-[UpdatePackage|StandaloneImage)
2021-06-07 17:05:29 +02:00
Przemyslaw Brudny
9a17c5fc3c [EGD-6676] PhoneLock handling with ServiceDesktop
Replaced old PhoneLock handler in ServiceDesktop with new
interactions with Application Manager PhoneLockHandler.
2021-05-05 13:55:14 +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
Wiktor S. Ovalle Correa
14a01945b6 [EGD-6485] ServiceDB cleanup
Remove old unused ServiceDB API and deprecate its remains still being
in use.
2021-04-12 13:35:51 +02:00
Kuba Kleczkowski
b88b8fc438 [EGD-6121] Add offline mode in service cellular
Adds entering and leaving ito offline mode in sevice
cellular. Outgoin SMS and calls are blocked Proper popups
are shown in applications Call and Messages.
2021-04-01 19:32:07 +02:00
Marcin Smoczyński
b890bcd6e3 [EGD-5260] Add A2DP playback to audio
Add basic playback capability using Bluetooth A2DP profile.
Only stereo/44100/16bit files are supported at the moment

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-03-25 01:01:35 +01:00
Michał Kamoń
46b8914054 [EGD-5945] Bluetooth-harness API messages
This PR:
* provides Bluetooth-Harness API messages definition [EGD-5944]
* provides Bluetooth-Harness API messages implementation
* provides Bluetooth-Harness API usage on harness side [EGD-5946]
* provides Bluetooth-Harness tests [EGD-5947]
2021-03-19 10:27:29 +01:00
Wojtek Rzepecki
e69576aa60 [EGD-6192] Add torch hw control v2
Change behavior of torch
control according to newest
design.
2021-03-18 08:53:19 +01:00
RobertPiet
39e6f1b18a [EGD-5902] Phone Modes Windows
Windows for phone modes created.
Offline:FightMode/messages only ServiceCellularApi created.
ConnectionFrequency and DND options settings throught AppSettings.
2021-03-11 17:38:44 +01:00
SP2FET
da27b16dcc [EGD-6100] Add BT device turn off handling
After BT device disconnects (e.g. because of shutdown) Pure is now
aware of this
2021-03-11 10:33:51 +01:00
SP2FET
66db7b0841 [EGD-5512] Usb security refactor and devices pairing
Move all security related functionality to single security endpoint
Paired devices can be added to avoid further passcode requests
2021-03-11 08:46:18 +01:00
Mateusz Grzegorzek
898de0540c [EGD-5932] Create Quotes agent
- add Quotes agent,
- implement get all quotes
  and get all categories queries,
- extract PagedData from ListDirData
  and reuse it in QuotesMessages,
- unify naming in Quotes and FileIndexer,
- add Quotes agent unit tests
2021-03-09 16:43:22 +01:00
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