Commit Graph

11 Commits

Author SHA1 Message Date
Lukasz Mastalerz
d9a1194e6f [BH-1688] Create a standard for logs
* 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
2023-10-23 15:17:44 +02:00
Lukasz Mastalerz
7ffd1c15a6 [CP-2032] Unplugging the cable during file upload leaves partially sent file
Files not completely sent will be deleted after the USB cable is removed from
device to not leave any partially sent file
2023-08-23 14:38:10 +02:00
Lukasz Mastalerz
a870922ec3 [CP-1837] Random crashes while copying files
General improvements to prevent running out of memory while copying
files via Mudita Center
2023-03-21 09:17:54 +01:00
Marek Niepieklo
b5749912a9 [CP-825] Interrupted transfer to FS endpoint may corrupt the filesystem
Using std::fstream for file I/O at every file access in FileContext.
Reworked file opening/closing to happen on each file chunk
read/write, so that a file isn’t left open in case of an error
or transfer cancelation.
Separeted RxID and TxID for reliable cancelation of stalled xfers.
2021-11-16 10:50:54 +01:00
Pawel Olejniczak
2268e01df9 [CP-599] Add crc hash to the last chunk of sent file
CRC was counted in one go before starting to send
chunks of the file, which, in the case of a large file,
caused communication to stop for a long while.
In the current implementation, CRC is counted
incrementally while sending individual file chunks.
It is then appended to the last chunk of the file.
2021-10-08 12:41:33 +02:00
Marcin Smoczyński
bd90e57516 [BH-907] Split utils module into components
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>
2021-09-23 15:14:40 +02:00
Artur Śleszyński
b15006a94c [CP-564] Make desktop endpoints a separate lib
In order to have different sets of endpoints for different products,
we need to separate endpoints from the desktop service.
2021-09-21 10:41:37 +02:00
Marek Niepieklo
6934d02455 [CP-346] USB stops working during file transfer
Increased CDC receive queue length to 1024 elements
Improved debug output in Filesystem EP
2021-09-10 09:31:53 +02:00
Marek Niepieklo
0596951027 [CP-280] Implement send file procedure
Implemented Send File operation on FS endpoint
2021-07-09 12:02:32 +02:00
tomaszkrosnowski
e05ddbfdd9 [EGD-7010] Remove sensitive data from logs
Sensivite data like first/second name, messages and notes content,
dialed gsm numbers etc are removed from logs to guarantee security for
Pure users.
2021-07-08 11:43:35 +02:00
Marek Niepieklo
db6e7d0416 [CP-163] Implement FS Endpoint read file
Implemented get file opration in FS Endpoint
2021-06-23 15:23:46 +02:00