USBConfigured event is not fired when powerbank, charger is connected.
[EGD-5204] Show passcode screen only when PC is connected
USBConfigured event is not fired when powerbank, charger is connected.
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.
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)
Add license headers to `h`, `c` and `sql` files as this files haven't
been checked previously, script now to automatically updates current
year in existing licenses.
Handling queues with static std::string implementation caused
problem of double-free memory on turning off simulator. Applied
solution to the problem is to pass ownership of queued string to
a receiver side.
Due to a race condition between source and sink voice is not always
starting when calling. Introduce audio stream connections to avoid
race condition and improve handling of audio start and stop operations.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
* [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>
* [EGD-3688] Relax retries count for send
enable ServiceDesktop
* [EGD-3688] Relax retries count for send
enable ServiceDesktop
* [EGD-4318] enable service desktop and USB communication
CDC for serial port (communication with Mudita Center)
MTP for file transfer
* [EGD-4318] include path fix
* [egd-4318] constexpr brought back
* [EGD-4318]: review changes
- all BSP specific code moved to bsp files
- added a device listener class for USB
- simplified WorkerDesktop
* [EGD-4318] more reivew fixes mostly include paths and enums
* [EGD-4319] review fixes for SP2FET
* [EGD-4318] updates for large messages sent from phone
* [EGD-4318] more review fixes
- error checks on linux (ptms open and ptsname)
- removed all vfs
- service-desktop won't start if worker init fails
* [EGD-4318] updated return values for usbInit
* Update module-services/service-desktop/WorkerDesktop.cpp
Co-authored-by: Piotr Tanski <piotr.tanski@mudita.com>
* Update module-services/service-desktop/endpoints/update/UpdateMuditaOS.hpp
Co-authored-by: Piotr Tanski <piotr.tanski@mudita.com>
* [EGD-4318] review fixes
- removed #define
- return values for usbInit
* Update module-bsp/board/linux/usb_cdc/usb_cdc.cpp
Co-authored-by: Piotr Tanski <piotr.tanski@mudita.com>
* [EGD-4318] updated taglib
* [EGD-4318] style fixes
* Update module-bsp/board/linux/usb_cdc/usb_cdc.cpp
Co-authored-by: Alek Rudnik <54846206+alekrudnik@users.noreply.github.com>
* [EGD-4318] switches from freertos Timer class to sys::Timer
* Update module-services/service-desktop/WorkerDesktop.cpp
Co-authored-by: Piotr Tanski <piotr.tanski@mudita.com>
* Update module-services/service-desktop/WorkerDesktop.cpp
Co-authored-by: Piotr Tanski <piotr.tanski@mudita.com>
* [EGD-4318] added mutex/lock during raw data transfers
* [EGD-4318] if the TAR file is zero size or invalid
mtar_close causes HF. This is a workaround
* [EGD-4318] timer should not start on constructor
* [EGD-4318] getRawMode is const noecept
Co-authored-by: unknown <atom@prostate.local>
Co-authored-by: Piotr Tanski <piotr.tanski@mudita.com>
Co-authored-by: Alek Rudnik <54846206+alekrudnik@users.noreply.github.com>
* [EGD-3688] usb stack as an external module
removed old usb code
* [EGD-3688] linux fix
* [EGD-3688] fixes for new USB code
* [EGD-3688] updated submodule