Commit Graph

277 Commits

Author SHA1 Message Date
Borys Jelenski
d9ae779a37 [EGD-5503] Add watchdog implementation
The system watchdog monitors whether there is message traffic
on the Bus. If no message was sent for an extended period of time,
a reset will occur. It should also protect against system-wide hangs.

On Linux, watchdog is simulated by a FreeRTOS task that will call exit
on timeout.
2021-02-19 11:32:12 +01:00
Przemyslaw Brudny
d0200de5d5 [EGD-5398] Added onBoarding application first version
Created first version of onBoarding application. Added welcome
window, configuration start window and adopted language
window. Small Icon GUI refactor. AppManager language copy removed.
2021-02-11 16:37:51 +01:00
Mateusz Grzegorzek
0b75c6299d [EGD-4873] Add colors to rt1051 logs
Bring back possibility to get colorful logs from rt1051.
Colored logs can be now turned on in runtime using
Logger::enableColors method.
2021-02-10 18:19:32 +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
mkamonMdt
fac27c747a [EGD-4955] Add on-off test harness for simulator
This PR provides CI test for turning on and off PurePhone
simulator.
2021-02-02 10:01:51 +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
KacperLewandowski
ba4d547f47 [EGD-4009] alarm clock: add main window (#1100)
Create alarm clock application and add main window.
2020-12-07 10:45:50 +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
Bartosz Cichocki
50f28e8f19 [EGD-4270] updated test API, added sending message case in test harness (#1042)
[EGD-4270] build fix for GCC 10

Co-authored-by: SP2FET <bartosz.cichocki@mudita.com>
2020-11-19 13:02:06 +01:00
Roman Kubiak
899d2139a1 [EGD-4286] remove ServiceDesktop from main.cpp (#958)
small fix in flash_emmc.sh (.ini files are not there anymore)
umount end eject disk are active again
2020-11-04 17:13:19 +01:00
Radosław Wicik
57f6c267ee [EGD-4213] Convert service-appmgr to library - library (#960) 2020-11-04 15:59:45 +01:00
Lucjan Bryndza
617dfe99d1 [EGD-4298] File indexer disabled by default (#962)
Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2020-11-04 15:13:27 +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
Bartosz Cichocki
f16d30222c [EGD-4191] added keyReleased handling from service-desktop (#930)
Co-authored-by: SP2FET <bartosz.cichocki@mudita.com>
2020-11-02 20:08:05 +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
kkleczkowski
10e5542676 Egd 4143 Service antenna enabled. (#936)
* [EGD-4143] WiP service-antenna enabled.

* [EGD-4143] Fixed service timer, connetion status from store.

* [EGD-4143] Changelog.

* [EGD-4143] Fixes after rebase.

* [EGD-4143] Service-antenna LOG disabled.

* [EGD-4143] PR suggestions.

* [EGD-4143] Duplicated includes removed.

Co-authored-by: Kuba Kleczkowski <dd>
2020-10-29 15:07:22 +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
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
marek303
f1e68d2204 [EGD-3315] Main functionality: DB queries, timers processing, base classes for future use 2020-10-15 20:58:45 +02:00
KacperLewandowski
ba4640c4af [EGD-3469] ServiceTime - start 2020-10-15 20:58:45 +02:00
KacperLewandowski
ad626ebc93 [EGD-3857] Create calculator application 2020-10-15 14:57:57 +02:00
Adam Dobrowolski
7b4a706cd6 EGD-4036 Application windows - added register mechanism
* Moved ApplicationLauncher to separate files - declutering
* WindowsStore renamed to WindowsFactory - Store needs to be splitted toavoid antipattern
* Options window build dynamically onBeforeShow
* Dialog windows dynamically built
2020-10-13 17:46:10 +02:00
Piotr Tanski
f5aec0444a [EGD-3838] Introduced a meditation progress bar with simple implementation of meditation application. (#783) 2020-10-09 14:14:40 +02:00
mozdzyk
57a57805e9 [EGD-3359] Special characters and emoji window 2020-10-01 16:53:47 +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
RobertPiet
ea13bda5c7 [EGD-3681] settings main screen updated to the design chart https://projects.invisionapp.com/d/main#/console/18241335/385967135/preview
[EGD-3681] review issues solved: new settings window contains link to the old one, _old files removed, issues regarding lambda params, removed translations for de, fr, sp;removed section file/author from the header/body, removed destructor - default one exists in the base class, not used parameter with maybe_unused param, reoved dead code; DeinitHandler removed (was empty) - currently base class calls onClose on all its windows; reinterpret_cast removed
2020-09-23 11:20:33 +02:00
Bartek Cichocki
6d22e00544 [EGD-3637] restoration of Bluetooth stack
[EGD-3637] Bluetooth hangup fix
2020-09-22 09:52:15 +02:00
Marcin Smoczyński
2e80e118a3 [EGD-3770]: remove viewer app
This app is not useful anymore and should be removed.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2020-09-21 14:23:55 +02:00
Bartek Cichocki
4c7f8ff7b5 [EGD-3522] added missing updateTemplate query 2020-09-02 17:26:01 +02:00
Bartek Cichocki
9eeeb6ae92 [EGD-3502] reworked endpoints and handlers
added endpoint listener to query
2020-09-02 17:26:01 +02:00
Marcin Smoczyński
4ab862c726 [EGD-3556] allow disabling applications
RT1051 SDRAM is not big enough to fit full Debug build. To be able to
debug on the RT1051 add options to choose precisely which applications
you want to include in the build allowing to decrease debug firmware
size.

Enable size optimization for applications (configurable) in debug mode
and allow to specify with cmake options which applications can be
optimized with.

Remove -Og debug flags which break debugging.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2020-08-31 13:11:33 +02:00
Bartek Cichocki
06b3a54b1d [EGD-3489] Fixed damaged json and length hardfault, added tests 2020-08-07 14:54:28 +02:00
Bartek Cichocki
b16172a217 fixed payload length issue 2020-08-07 14:54:28 +02:00
alek
bc7f0091ca [EGD-3423] Added simple music player 2020-08-04 16:53:12 +02:00
Roman Kubiak
9137db7c51 removed comments from main.cpp 2020-07-24 12:21:07 +02:00
Roman Kubiak
1925bb2ac6 removed all bluetooth code 2020-07-24 12:21:07 +02:00
kkleczkowski
e46d2a2829 Egd 3244 antenna manager (#490)
* [EGD-3244] Service antenna + utils State.

* [EGD-3244] CellularAPI + at::response.

* [EGD-3244-antenna-manager] Changes in application Antenna.

* [EGD-3244-antenna-manager] Changes in antenna app ( antenna switch multicast ).

* [EGD-3244-antenna-manager] Changed Antenna app GUI.

* [EGD-3244-antenna-manager] Basic algorithm.

* [EGD-3244-antenna-manager] Fixes in algorithm.

* [EGD-3244-antenna-manager] Small fixes + service blocking.

* [EGD-3244-antenna-manager] Little cleanup.

* [EGD-3244-antenna-manager] Restored Cellular call in Application Antenna.

* [EGD-3244-antenna-manager] Style fix.

* [EGD-3244-antenna-manager] Sewrvice antenna disabled.

* [EGD-3244-antenna-manager] PR suggestions + linux buil fixed.

* [EGD-3244-antenna-manager] Updated changelog

* [EGD-3244-antenna-manager] Style fix.

* [EGD-3244-antenna-manager] Fixed submodule.

* [EGD-3244-antenna-manager] PR suggestions + toNumeric UT.

* [EGD-3244-antenna-manager] PR suggstions again.

Co-authored-by: Kuba Kleczkowski <dd>
2020-07-07 10:54:47 +02:00
Radoslaw Wicik
af47be76fd [EGD-3245] Add Fota Service 2020-06-10 14:38:25 +02:00
Radoslaw Wicik
ab650096e4 [EGD-3201] Add automatic releases 2020-06-10 13:38:51 +02:00
Adam Dobrowolski
d3faef1101 EGD-2964 application calendar - removed leak, added to menu 2020-05-04 08:45:20 +02:00
Radoslaw Wicik
49ca4257da [EGD-3151] Add fixes for SIM detection
Add proper passing SERIAL_PORT info
Convert cmux to unique_ptr in module-cellular
2020-04-27 17:24:24 +02:00
Adam Dobrowolski
2cee195e09 EGD-3056 subscribtion based execution (on typeid) added and works fine
Till now there was no clear way to register hanlder for message in
Service, with this approach one can register function/lambda handler
for Message which encurages handling messages in functions rather than
in hudge switch cases.
With aproach like this our Messages resembe something between Command
and State pattern. In state pattern `Message` would be `Event` send,
whereas Service would be `Context`.
2020-04-15 16:50:19 +02:00
Adam Dobrowolski
8342d813a3 EGD-3056 Created EventManager serivce name constant in inline string 2020-04-15 16:50:19 +02:00
Marcin Smoczyński
f2eb9bb37a [EGD-2594] apps/call: add libphonenumber support
Augment handling phone numbers with libphonenumber:
 - add "as you type" formatting to phone numbers,
 - normalize phone number handling by using libphonenumber's phone
 number representation.

Clean up the code by moving application logic back to the application
and window data back to the window and reordering includes.

Application's stack size has been increased due to formatter stack
utilization level.
2020-04-08 18:23:45 +02:00
Przemyslaw Brudny
c0822b6658 [EDG-3019] Moved log.hpp and debug.hpp into main PurePhone repo 2020-03-24 15:55:32 +01:00
Przemyslaw Brudny
8f92715951 [EDG-3019] Segger utils moved to git submodule 2020-03-23 18:37:37 +01:00
Przemyslaw Brudny
98cd819ffb [EGD-2978] PR cleanup changes 2020-03-20 14:28:57 +01:00
Przemyslaw Brudny
e7cb0cb579 [EGD-2978] Formatter cleanups 2020-03-20 14:28:57 +01:00
Przemyslaw Brudny
499d6ce5e1 [EGD-2978] Linux target build macro excluded 2020-03-20 14:28:57 +01:00
Przemyslaw Brudny
864265a2c7 [EGD-2978] System View updates 2020-03-20 14:28:57 +01:00