Adam Dobrowolski
cb93d58d85
[CP-371] Updater miscelanous developer mode and logs changes
...
Changed:
- Runtime disabled logs which didn't add value from ServiceDesktop
- Runtime disabled logs which didn't add value from SystemManager
- Added possibility to change runtime logging levels
- Integrated ServiceDesktop developer code a bit - it might be used
as virtual base with little to no modifications for other endpoints
which would result with less redundant code
2021-07-27 13:56:37 +02:00
Mateusz Grzegorzek
7188802f8e
[BH-669] Fix CMake in service-appmgr
...
Fix CMake in service-appmgr
2021-07-21 14:19:41 +02:00
Wojtek Rzepecki
992b0ea2c3
[EGD-3171] Fix key shortRelease on app switch
...
Fix of shortRelease on app switch while long
press applied on previous window
2021-07-13 11:03:20 +02:00
Lucjan Bryndza
97538c8969
[CP-319] Extends reboot reason code
...
Extends reboot reason codes after reboot to updater
to detect updater command requests: Update, FactoryReset
and the Recovery.
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com >
2021-07-08 17:13:02 +02:00
Lucjan Bryndza
5324fcc0a6
[CP-312] Add reboot to update function
...
Because update procedure it is splitted to the two stages
downloading and update throught separate binary we need
to pass ecoboot special flag to request reboot to updater
bin after update procedure.
This patch adds this functionality to the PureOS.
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com >
2021-07-07 10:46:29 +02:00
Wojtek Rzepecki
c0115fdc9a
[EGD-6952] Fix tethering on low battery
...
Added prevention of tehering mode change
while battery is below critical level
2021-06-18 09:15:34 +02:00
Jakub Pyszczak
e2863061e0
[EGD-6932] Small cellular refactor
...
Refactor regarding https://github.com/mudita/MuditaOS/pull/2226 .
2021-06-15 12:50:44 +02:00
Pawel.Paprocki
95d96b82b6
[BH-370] Convert utils common_data into a libs
...
Create clipboard and eventsore libs
2021-06-09 14:39:11 +02:00
Wiktor S. Ovalle Correa
b2ca227fd5
[EGD-6746] Use new SimCard implementation
...
Switch to SimCard implementation provided by previous commit
2021-05-20 17:52:48 +02:00
Maciej Gibowicz
fa61bb38cd
[EGD-5661] Add power management for filesystem
...
Add peripheral control (USDHC and PLL2 clocks)
for file system support.
This will save energy and extend battery life.
2021-04-22 14:05:57 +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
Bartosz Cichocki
22809d630b
[EGD-6208] Add blocking phone mode changes during tethering
...
When the tethering is enabled, the phone mode shouldn't change,
now, any attempt ends with a notification
2021-04-12 12:56:36 +02:00
Wojtek Rzepecki
269efac576
[EGD-6285] Fix system close
...
Add proper way of closing
system services
2021-04-09 08:30:32 +02:00
Bartosz Cichocki
5fb105d0b1
[EGD-6214] Add slider position reading after disabling tethering
...
To be able to set proper phone mode changed by the slider during
tethering, the forced readout of slider position has been added
2021-04-08 15:48:25 +02:00
Piotr Tański
4f0c3c82af
[EGD-6209] Tethering confirmation popup added
...
Provided a tethering confirmation popup.
The popup shows up once a USB cable is connected to a PC.
2021-04-08 09:26:46 +02:00
Pawel.Paprocki
29bf1e40f1
[EGD-5834] Fix restore API
...
Change restore API
backup/restore/update harness tests
2021-03-30 16:53:23 +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
Maciej Gibowicz
677e18cada
[EGD-5658] Add eInk CPU frequency hold
...
While the screen is being redrawn,
we block CPU frequency decreasing
2021-03-15 08:54:40 +01:00
Wojtek Rzepecki
776a51e592
[EGD-5969] Add battery charging UI
...
Battery charging UI modified
according to design
2021-03-10 08:50:27 +01:00
Piotr Tański
f37159fff3
[EGD-5918] The system should crash on init failure
...
ServiceDB init process times out. Its timeout should be extended.
2021-03-08 11:27:06 +01:00
Wojtek Rzepecki
ef63ee267c
[EGD-5304] Add new way of system close
...
Unified method of closing
the system orchestrated by
system manager
2021-03-04 15:55:55 +01:00
lblach
76dc6f9f5b
[EGD-5771] Create post update info window
...
Add post update info window.
2021-03-02 09:30:15 +01:00
lblach
203f81977f
[EGD-5756] Add Update Window
...
Create Update Window(s) to control and visualize the MuditaOS update
process on Pure.
2021-02-25 09:28:01 +01:00
Piotr Tański
6916fed47b
[EGD-5836] Turn on/off the tethering via harness
...
This allows a user to turn on and off the tethering via test harness.
2021-02-24 15:21:31 +01:00
Piotr Tański
b9661350f8
[EGD-5697] Framework for phone modes introduced
...
It allows to transmit phone modes information to listening services.
2021-02-16 14:05:42 +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
lblach
a0b79647ed
[EGD-4068] Add Update Package Installation Mode
...
It is necessary that the PureOS update mechanism enters Update Package
Installation Mode (where most of the services are stopped)
when the PureOS update package gets downloaded into the phone.
2021-02-11 12:35:06 +01:00
Piotr Tański
65119cb495
[EGD-5027] Services synchronization introduced
...
Dependencies between services are now supported.
2021-02-10 12:37:42 +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
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
alek
82125e9357
[EGD-3247] Remove reminders of unused ping-pong feature
...
Feature was already removed some time ago but still some reminders
persist. This commit only removed mentioned reminders.
Some minor style fixes suggested by clang tidy were also applied.
2021-01-31 15:34:38 +01:00
Wojtek Rzepecki
abdca6d635
[EGD-5090] Add Brownout GUI window
...
Gui window will appear due to brownout
event. System shutdown will be also called.
2021-01-22 13:23:58 +01:00
Hubert Chrzaniuk
fc5ab3a70c
[EGD-5325] Remove using namespace directives from headers
...
"Using namespace" directive should not be added in headers
because this practice pollutes source files.
2021-01-22 11:25:45 +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
Wojtek Rzepecki
7e157e83a2
[EGD-5050] Add brownout detection
...
Brownout detectection realized through charger driver
2021-01-07 10:55:25 +01:00
Maciej-Mudita
f9b9967b0e
[EGD-4694] Add CPU frequency shift mechanism
...
The CPU frequency changes automatically which saves energy
2020-12-22 18:00:57 +01:00
Wojtek Rzepecki
df37008c66
[EGD-4952] Fixes for rt1051
2020-12-21 10:12:05 +01:00
Wojtek Rzepecki
243deec8d5
[EGD-4952] Added critical level check + messages
2020-12-21 10:12:05 +01:00
Piotr Tanski
4e0f72e70a
[EGD-4696] Several stabilization patches. ( #1192 )
2020-12-15 15:30:13 +01:00
Maciej Gibowicz
9c9e921ab4
[EGD-4693] PowerManagement: CPU load measurement ( #1156 )
...
Add FreeRTOS idle tasks Run Time Statistics
This will allow to measure the CPU load
2020-12-10 17:27:54 +01:00
Mateusz Grzegorzek
9d35def14d
[EGD-4477] Dump logs to a file for linux ( #1081 )
...
[EGD-4477] Implement dumping logs to a file for linux
2020-11-27 11:26:02 +01:00
Radoslaw Wicik
b117704345
[EGD-4219] Convert service-evtmgr and service-lwip to library
2020-11-18 10:09:02 +01:00
Piotr Tanski
22102c4ba5
[EGD-4200] Message handling refactored. ( #974 )
2020-11-06 15:24:59 +01:00
Marcin Smoczyński
486d21af0e
[EGD-4288] refactor global data ( #959 )
...
Reduce firmware size by refactoring global data defined in public
headers.
Each global variable which require runtime initialization adds
initialization code to every translation unit which includes the header
where the variable is defined and declared.
2020-11-04 18:24:39 +01:00
Radoslaw Wicik
2276ceed67
[EGD-3743] Update copyrights in fies
2020-10-20 12:55:10 +02:00
Lucjan Bryndza
0014dae259
[EGD-3854] Removing goto's from the code ( #797 )
...
It is generic cleanup task for removing all goto files
Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com >
2020-10-08 08:58:49 +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
Marcin Smoczyński
af85469c26
[EGD-3864] main file cleanup ( #761 )
...
Remove dead code; cleanup and sort include list. Introduce config file.
2020-10-01 14:47:53 +02:00