* Adding document describing how to use logger
* Adjusting logs to follow a new guide
* Change order in log header:
line number is now before function name
In case of disconnection from MC during reception of large messages
(e.g. to FS endpoint), the parser may be left in a state expecting
further parts of the message. This causes incorrect handling of new
messages arriving after reconnection to MC.
Added a timer to reset a Parser when transfer times out.
Split module-utils into smaller components for better dependency
management. Fix many dependencies throughout the project.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
Changed:
- Runtime disabled logs which didn't add value from ServiceDesktop
- Runtime disabled logs which didn't add value from SystemManager
- Added possibility to change runtime logging levels
- Integrated ServiceDesktop developer code a bit - it might be used
as virtual base with little to no modifications for other endpoints
which would result with less redundant code
We have no controll on UART over the device flushing, minimum code
added to assure that data could be flushed
We do not close services when these are closed with reason
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-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>