Commit Graph
24 Commits
Author SHA1 Message Date
Piotr Tanski 22102c4ba5 [EGD-4200] Message handling refactored. (#974) 2020-11-06 15:24:59 +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
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
Adam Dobrowolski 32f51fd796 EGD-3056 PR review applied 2020-04-15 16:50:19 +02:00
Adam Dobrowolski ee8dbc4e7f EGD-3056 Handle reboot with watchdog, TODO's removed/updated 2020-04-15 16:50:19 +02:00
Adam Dobrowolski f529f836cf EGD-3056 Added name for SystemManager in similar way to EventManager 2020-04-15 16:50:19 +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 3862f10e43 EGD-3056 SystemManager - added RebootReady state and some documentation 2020-04-15 16:50:19 +02:00
Adam Dobrowolski 0d75d6ec5b EGD-3056 SystemManager - initial work on delaying reboot
* updated docs
* added PreShutdownLoop
* added c_str() for SystemManager inner state for debug
2020-04-15 16:50:19 +02:00
Radoslaw Wicik a8573a404c Apply new style 2020-03-17 10:03:16 +01:00
Mateusz 0b470de378 Bugfix: gpio interrupts(power switch hold button) 2019-10-04 11:29:25 +02:00
Mateusz 6c4c8b7628 WiP: Suspend/Resume tests 2019-09-17 08:45:41 +02:00
Mateusz b6781c47db temp cmmit 2019-09-12 10:47:02 +02:00
Mateusz 22ad981b01 WiP: Suspend/Resume procedure implementation + testing 2019-09-04 13:43:27 +02:00
Mateusz 883b8f2550 WiP: Extended sysmgr api
WiP: did some tests
2019-09-02 13:18:06 +02:00
Mateusz 8b4cf5e35a WiP: Added Suspend/Resume API 2019-08-30 10:37:51 +02:00
Mateusz e8babd16d5 WiP: Removed unneeded WakeUp/GoSleep handlers
WiP: Added new handler - > SwitchPowerMode
2019-08-29 11:40:31 +02:00
Mateusz 980e27623d Fix: DestroyService on Rt1051 2019-08-27 12:57:10 +02:00
Mateusz 1a59b7b6cb #MATI SUPER FIX, fixed async msg handling in DataReceivedHandler 2019-08-12 12:18:59 +02:00
Mati 21fff20088 WiP: small refactor in sysmgr init procedure
WiP: added filling audio buffers
2019-08-07 19:41:08 +02:00
Mateusz ab94586a61 WiP: MuxChannel class development, bug fixes 2019-06-28 15:43:32 +02:00
Mateusz c44f11218b WiP: muxchannel workers 2019-06-27 15:07:47 +02:00
Robert Borzecki d3235d54d7 Removed submodule 2019-05-21 23:35:00 +02:00