~aleteoryx/muditaos

ref: bc4d32c7d8717eebd9e2eb7b1e91ac535eb363e9 muditaos/module-services/service-evtmgr/EventManager.cpp -rw-r--r-- 14.0 KiB
bc4d32c7 — Piotr Tański 5 years ago
[EGD-5158] Change access to the bus methods

The bus is now accessible only via Service object.
7eebea86 — Marek Niepieklo 5 years ago
[EGD-5377] Add USB charger detection

Added USB stack support for detecting connected charger
Added i.MX RT 1051 HW configuration
Added notification to EventManager for detected charger
01d1c84f — Wojtek Rzepecki 5 years ago
[EGD-5390] Add keypad backlight to GUI

Added demo connection to keypad light
GUI window.
ae619d45 — mkamonMdt 5 years ago
[EGD-2514] Fix clock does not refresh

There was no refresh trigger that would cause items like clock
to display its up-to-date state while user is being inactive.
This PR solves that issue providing timer-based refresh trigger
that is dependent on user activity.
92a8a78e — Marcin Smoczyński 5 years ago
Merge branch 'master' into stable
9645fbc2 — Przemyslaw Brudny 5 years ago
[EDG-4717] Add screen for brightness control

Window for manual and automatic screen brightness control.
0e1ca098 — Marcin Smoczyński 5 years ago
Merge commit 'c7dd6b399' into stable
b24f0bca — Wojtek Rzepecki 5 years ago
[EGD-2501] Add gsm powerdown due to battery

Gsm model power state maintenance based on battery level.
7e157e83 — Wojtek Rzepecki 5 years ago
[EGD-5050] Add brownout detection

Brownout detectection realized through charger driver
f9b9967b — Maciej-Mudita 5 years ago
[EGD-4694] Add CPU frequency shift mechanism

The CPU frequency changes automatically which saves energy
f1160fb1 — Wojtek Rzepecki 5 years ago
[EGD-4952] Moved battery level check to separate module
243deec8 — Wojtek Rzepecki 5 years ago
[EGD-4952] Added critical level check + messages
a63628ad — wojtekrzepecki 5 years ago
[EGD-4657] screen light control test (#1186)

* [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-4657] Added tests and fixes

* [EGD-4657] Tests refactor

* [EGD-4657] Proper destruction of timers

* [EGD-4657] Spelling fixes

* [EGD-4657] pre pr cleanup

* [EGD-4657] Build fix

* [EGD-4657] Pr changes pt 1

* [EGD-4657] PR refactor - extracted control algorithm to separate module

* [EGD-4657] Adapted tests to new structure

* [EGD-4657] Cleanup

Co-authored-by: Wojtek Rzepecki <wojtek.rzepecki@mudita.com>
009aa9dd — Lucjan Bryndza 5 years ago
Merge branch 'master' into stable
c58bb1ad — wojtekrzepecki 5 years ago
[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>
bcb2f3dd — Lucjan Bryndza 5 years ago
Merge branch 'master' into stable
4aef4d81 — wojtekrzepecki 5 years ago
[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>
c0d1d524 — Lucjan Bryndza 5 years ago
Merge branch 'master' into stable
be057d28 — wojtekrzepecki 5 years ago
[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>
7e568d3c — wojtekrzepecki 5 years ago
[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>
Next