[EGD-5565] Fix update process on new lf filesystem These changes are needed for update to work with new LFS fileystem, also minor bugfixes are included.
[EGD-5512] Usb security refactor and devices pairing Move all security related functionality to single security endpoint Paired devices can be added to avoid further passcode requests
[EGD-6030] Fix Analise and optimize stack for service-desktop-worker Reduce stack size to 1k
[EGD-5204] Show passcode screen only when PC is connected 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.
[EGD-5204] Secure USB communication Secure all endpoints by returning 403(Forbidden) when USB is connected. Request screen passcode to enable secured endpoints.
[EGD-5737] Merge master into experimental Synchronize with master before merging
[EGD-4625] Fix update timeout timer Moved timer handling to Service Desktop Use message comm. to update timer state
[EGD-5737] Merge master into experimental Keep experimental up to date with changes from master
[EGD-5737] Merge master into experimental Keep experimental up to date with changes from master
[EGD-5664] Fix excessive logging in USB-CDC Remove excessive logging in USB-CDC, which slows down transfer
Merge branch 'master' into stable
[EGD-4850] Fix of statics between USB CDC and ServiceDesktop 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.
[EGD-4696] Several stabilization patches. (#1192)
Merge branch 'master' into stable
[EGD-4899] Worker class design improvements and fixes (#1190) * allow workers to run independently from service * change worker to use FreeRTOS wrapper Queue class instead of freeRTOS native queues * fix bug disallowing to destruct worker that have never ran * fixed worker bad state transition to Running state
Merge branch 'master' into stable
[EGD-4751] Change: new filesystem handling implementation in module services. (#1151) Due to vfs deprecation there is need to remove all vfs calls from code. This PR covers module services. It also contains minor fixes in module-services.
Merge branch 'master' into stable
[EGD-4557] implement usb-deinit (#1101) Added usb deinit calls for rt1051 and linux
[EGD-4318] enable service desktop (#973) * [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>