~aleteoryx/muditaos

ref: 2de63da94351d16b4bd25ad45c5ad70cbc1bb6fa muditaos/module-services/service-desktop/WorkerDesktop.cpp -rw-r--r-- 9.2 KiB
6bc6eccc — Roman Kubiak 5 years ago
[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.
66db7b08 — SP2FET 5 years ago
[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
82fe792e — Pawel.Paprocki 5 years ago
[EGD-6030] Fix Analise and optimize stack for service-desktop-worker

Reduce stack size to 1k
0022da5e — Tomasz Sobkowiak 5 years ago
[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.
d5c3d41c — Piotr Tański 5 years ago
[EGD-5204] Secure USB communication

Secure all endpoints by returning 403(Forbidden) when USB is connected.
Request screen passcode to enable secured endpoints.
fe721693 — Wiktor S. Ovalle Correa 5 years ago
[EGD-5737] Merge master into experimental

Synchronize with master before merging
042e5b69 — Marek Niepieklo 5 years ago
[EGD-4625] Fix update timeout timer

Moved timer handling to Service Desktop
Use message comm. to update timer state
3b141041 — Wiktor S. Ovalle Correa 5 years ago
[EGD-5737] Merge master into experimental

Keep experimental up to date with changes from master
46f9cc7e — Lucjan Bryndza 5 years ago
[EGD-5737] Merge master into experimental

Keep experimental up to date with changes from master
ab28f102 — Marek Niepieklo 5 years ago
[EGD-5664] Fix excessive logging in USB-CDC

Remove excessive logging in USB-CDC, which slows down transfer
92a8a78e — Marcin Smoczyński 5 years ago
Merge branch 'master' into stable
2dc0bc36 — mkamonMdt 5 years ago
[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.
4e0f72e7 — Piotr Tanski 5 years ago
[EGD-4696] Several stabilization patches. (#1192)

009aa9dd — Lucjan Bryndza 5 years ago
Merge branch 'master' into stable
8a3eb646 — Hubert Chrzaniuk 5 years ago
[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
bcb2f3dd — Lucjan Bryndza 5 years ago
Merge branch 'master' into stable
6ce0dc4d — jimmorrisson 5 years ago
[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.
c0d1d524 — Lucjan Bryndza 5 years ago
Merge branch 'master' into stable
9fdb2984 — Roman Kubiak 5 years ago
[EGD-4557] implement usb-deinit (#1101)

Added usb deinit calls for rt1051 and linux
b4814861 — Roman Kubiak 5 years ago
[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>
Next