Commit Graph

24 Commits

Author SHA1 Message Date
Lefucjusz
8b3ae7b48c [BH-1857] Fix improper PWM module clock frequency computation
* Fix of the issue that source clock for PWM
module was improperly assumed to be derived
from AHB_CLK, while in reality it is
derived from IPG_CLK, what resulted in
module generating signal with 4 times
lower frequency than the configured
one.
* Cleanups.
2024-01-16 13:58:26 +01:00
Lukasz Mastalerz
f7ad63c951 [BH-1412] Fix services dependencies
Changes in dependecy managment
Replacing state flags with states in ServiceGUI
Unifying some parts of code
2023-08-01 17:22:48 +02:00
rrandomsky
4b8543912a [MOS-30] Fix for Alarm not being handled properly during a phone call
During the phone call, the alarm was not displayed and subsequent alarms
after this scenario did not work. This has now been fixed and the alarm
during a phone call will be automatically snooze.
2023-07-12 10:46:44 +02:00
Adam Wulkiewicz
fe708cdf31 [MOS-670] Change clang-format AlwaysBreakTemplateDeclarations to Yes
Add --all and --fix-all options to style-check-hook
2022-08-26 15:22:39 +02:00
Kuba
155edc32fe [MOS-450] Fix turn off torch on critical battery level
Torch is now disabled on critical low battery level.
It will protect from battery draining.
2022-05-06 12:20:52 +02:00
Maciej Gibowicz
d3bba9da05 [MOS-256] Turn off torch driver when not in use
We save on power consumption ~0.7 mA.
2022-03-08 09:21:50 +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
Wojtek Rzepecki
a03817ab96 [EGD-7766] Vibration level PWM addition
PWM channels separate control added.
2021-10-20 14:06:39 +03: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
Marcin Smoczyński
57874cab33 [BH-912] Improve sys module structure
Improve structure of the module sys. Problems within this module
prevents from linking others.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-24 10:01:19 +02:00
Adam Dobrowolski
23b3fd51e5 [EGD-6400] Added no autolocking while torch on feature
When torch is on we don't want to be able to autolock phone
2021-06-02 12:13:43 +02:00
Wiktor S. Ovalle Correa
55c41de597 [EGD-6575] Rename Unicast with timeout as UnicastSync
Using Unicast with timeout is dangerous and strongly discouraged.
This change allows for more precise tracking of such cases.
2021-04-20 09:57:58 +02:00
Wojtek Rzepecki
232d0b4b2e [EGD-6101] Add low battery start prevention
Device will be shutdown after
startup if SOC will be below
shutdown level
2021-03-25 18:15:13 +01:00
Piotr Tański
efef7dcf7f [EGD-6111] Timers refactored
Deep refactor of system timers.
2021-03-19 14:09:35 +01:00
Lukasz Skrzypczak
cefe442d77 [EGD-3685] PR fixes
Included Alek's suggestions from PR
2021-02-18 17:27:54 +01:00
Piotr Tański
bc4d32c7d8 [EGD-5158] Change access to the bus methods
The bus is now accessible only via Service object.
2021-02-08 16:56:42 +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
Radoslaw Wicik
b117704345 [EGD-4219] Convert service-evtmgr and service-lwip to library 2020-11-18 10:09:02 +01:00
Radosław Wicik
d5de12f7ce [EGD-3852] clean include in service (#928) 2020-10-28 15:19:24 +01:00
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +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
kkleczkowski
b70ad6c5fc Egd 3196 small cellular refactor (#365)
* [EGD-3196] Fixed fatals in cellular.

* [EGD-3196] Fixed sms sending.

* [EGD-3196] Fixed timeout in ConfProcedure.

* [EGD-3196] Board type moved to Event Manager.

* [EGD-3196] Event Manager API renamed.

* [EGD-3196] Misiing files.

* [EGD-3196] Fixed modem status message, return code in magnetometer driver, case in modem init procedure.

* [EGD-3196] PR suggestions applied.

* [EGD-3196] Style fix.

* [EGD-3196} GetBoardName -> c_str();

* [EGD-3196] Style fix.

* [EGD-3196] PR suggestions added.

* [EGD-3196] Style fix...

* [EGD-3196] Style fix again.

Co-authored-by: Kuba Kleczkowski <dd>
2020-05-21 16:56:24 +02:00
Kuba Kleczkowski
d8a9d30c8c [EGD-2911-modem-init-rework] PR applied. 2020-05-11 14:04:31 +02:00
Kuba Kleczkowski
22a911c2ba [EGD-2911-modem-init-rework] Hardware platform discover. 2020-05-11 14:04:31 +02:00