Lefucjusz
f585c33b7a
[BH-2002] Fix crash when connected with broken USB cable
...
Fixes of the issues that would cause device
crash when connected with broken USB cable:
* fixed memory leaks in VCOM init and deinit
functions;
* guarded accessing desktopWorker object in
message handlers, as messages are asynchronous
and might arrive after worker has already been
destroyed. Not the cleanest solution, but
does the trick
2024-06-06 14:37:07 +02:00
Lefucjusz
8a25c9e1d2
[BH-2001] Fix debug build with new FSL
...
* Fixed some issues that have been
caught by asserts in debug build.
* Minor cleanup.
2024-06-04 11:02:17 +02:00
Maciej Gibowicz
f388b77cc6
[BH-1882] Fix display of "Connected" label on home screen
...
The "connected" label did not appear on the home screen if the USB was
connected during onboarding.
2024-02-22 11:17:08 +01:00
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
Lefucjusz
55ee585837
[CP-2184] Fix Pure not connecting to MC after leaving tethering
...
Fix of the issue that after disconnecting tethering Pure
would not connect back to Center, only USB cable
reconnection would resolve the issue.
2023-09-13 15:33:14 +02:00
Lefucjusz
783ebcbb6c
[MOS-183] Fix RT1051 debug build
...
Fix of multiple issues that resulted
in debug build failing.
2023-06-14 13:12:50 +02:00
Lukasz Mastalerz
7dc758bbc3
[CP-1968] Disconnecting the device during file upload causes problems with the USB
...
Fixed the problem with an endless loop while sending data
when USB is already disconnected.
2023-06-12 12:04:38 +02:00
Lefucjusz
ebcd139412
[CP-1962] Add Harmony color detection
...
* Added serial number based Harmony color
detection.
* Unified serial number handling for both
products.
2023-06-06 14:37:52 +02:00
Lefucjusz
da838b8c8f
[BH-1706] Fix inaccessible MTP on Harmony
...
Fix of the issue that Harmony's MTP
was constantly locked after MOS-686
fix, as the mechanics of unlocking
was not handled for Harmony at all.
2023-06-02 14:47:29 +02:00
Lukasz Mastalerz
c1a8e47c43
[BH-1690] Add information about the connection to the PC
...
Added text with information about the connection to the main window
when the USB cable is connected to the PC
2023-05-24 10:01:02 +02:00
rrandomsky
c96dc7dc30
[MOS-686] Fixed MTP availability only after phone unlocked
...
Fixed file access via MTP even when phone is not unlocked.
Now access is granted when the phone is unlocked by the user entering
a passcode. If the phone is not passcode protected (passcode is nor set)
then access to the files is always possible via MTP.
2023-05-18 15:57:09 +02:00
Mateusz Piesta
205fedb9a6
[BH-1595] USB reset procedure
...
* Fixed incorrect reset procedure
* Minor refactor
2023-05-16 09:42:34 +02:00
Mateusz Piesta
b6235923bf
[BH-1595] USB charger detection issues
...
* Fixed issues with USB charging port detection
* Fixed memory leak in usb_stack/OS integration layer
* Fixed incorrect handling of software timer
* Minor cleaning/refactor.
[BH-1595] Turned off USB/PC charging
Charging enabled only for a dedicated charger. Users won't be able
to charger while connected to the PC.
2023-04-28 13:54:36 +02:00
Lukasz Mastalerz
00b2deac97
[CP-1512] Add information allowing identification to crashdump file
...
Add the serial number and generation timestamp to crashdump filename.
2023-01-10 09:16:42 +01:00
Lukasz Mastalerz
3b2e1ef675
[CP-1665] Adding an information about device colour to USB descriptor
...
Getting information about device colour and changing it to number.
Pass information about device colour to usb_stack.
Set a bcdDevice with the corresponding value.
2022-12-02 09:24:10 +01:00
Maciej-Mudita
dce833e84f
[MOS-713] Fix access to the phone before going onboarding
...
Before accepting the EULA,
the user may fully use the Mudita-Center.
2022-10-04 09:40:49 +02:00
Maciej-Mudita
6ebd1550db
[MOS-686] Revert - Fix the accessibility of user files by MTP
...
This reverts commit 42ca53a732 .
2022-09-22 10:20:36 +02:00
Maciej-Mudita
42ca53a732
[MOS-686] Fix the accessibility of user files by MTP
...
User files accessible via MTP only if phone is unlocked
2022-09-16 09:52:27 +02:00
Mateusz Piesta
5fc2f024db
[CP-1560] MTP root path
...
Make MTP root path configurable.
2022-09-14 12:41:54 +02:00
Lefucjusz
255d03a5da
[MOS-677] Fix crash on importing unprocessable contact
...
Fix of the issue that phone crashed when trying
to import contact with phone number that couldn't
be parsed.
Additionally minor code cleanup.
2022-09-06 10:38:53 +02:00
Adam Wulkiewicz
fe708cdf31
[MOS-670] Change clang-format AlwaysBreakTemplateDeclarations to Yes
...
Add --all and --fix-all options to style-check-hook
2022-08-26 15:22:39 +02:00
Bartosz
3d13f10839
[MOS-668] Modify USB notifications logging
...
Modified USB notificaitons logging so no logs are being created
when USB data is received, thus logs are not overloaded and are
smaller
2022-08-22 11:53:30 +02:00
Maciej Gibowicz
fd66ad4d0e
[MOS-645] Fix Mudita Center synchronization fail
...
Sometimes the user was unable to connect
to the Mudita Center due to sync errors
2022-08-03 12:32:11 +02:00
Kuba
c31856fb69
[MOS-509] Fixed tethering popup loop
...
Tethering popup loop is fixed. Also there was unneded USB
configuration on each battery SoC change event.
2022-06-09 13:08:07 +02:00
Paweł Joński
7a9ba7ffa8
[BH-1448] MTP closing routine and VCOM reset routine
...
MTP closing routine and VCOM reset routine
2022-04-20 11:17:55 +02:00
Maciej Gibowicz
619685d70a
[MOS-339] Fix rapid change of CPU frequency
...
After disconnecting the USB cable, the CPU consumption
increased to over 80% (for 4 MHz), which resulted
in a cyclical change in the CPU frequency and finally
a much shorter battery life.
2022-04-11 08:54:54 +02:00
Lucjan Bryndza
abc1c1f218
[MOS-257] Turn off USB drivers when usb is disconnected
...
Turn off USB device drivers when the usb cable
is disconnected
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com >
2022-03-18 10:03:11 +01:00
Przemyslaw Brudny
304fb2c844
[MOS-111] Added missing refresh conditions
...
Added missing refresh conditions.
2022-02-22 12:49:27 +01:00
Pawel Olejniczak
57fd6f3c9e
[CP-1033] Add Outbox endpoint to service-desktop
...
Outbox endpoint will be used to provide notifications
about changes in messages/threads/calls during connection
with Mudita Center. This mechanism will ensure an efficient
data synchronization between Mudita Pure and Mudita Center.
2022-02-17 21:47:19 +01:00
Maciej Gibowicz
0bc5db64a6
[EGD-8138] Software closing procedure improved
...
Release of resources and closing of all unfinished
services and workers.
2022-01-20 17:07:37 +01:00
Maciej Gibowicz
7f9bc6bf6f
[EGD-7922] Added Permanent Frequency Setting
...
Added Permanent Frequency setting in Advanced Developer
Mode with simple set window.
2021-12-06 13:57:38 +01:00
Wojtek Rzepecki
1a66e73b78
[BH-1167] USB async receive
...
Polling routine replaced with event driven
implementation for USB receive
2021-11-10 16:57:02 +01:00
Artur Śleszyński
fb6d036617
[CP-564] Reorganize desktop endpoints
...
Move desktop endpoint factory to a separate lib to be able to provide
different factories for different products.
2021-09-24 12:11:53 +02:00
Marcin Smoczyński
57874cab33
[BH-912] Improve sys module structure
...
Improve structure of the module sys. Problems within this module
prevents from linking others.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com >
2021-09-24 10:01:19 +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
bd1d1967b2
[EGD-7465] Fix double de-initialization of USB
...
Added flag for Worker-Desktop initialization state
2021-09-06 17:14:16 +02:00
Marek Niepieklo
bd06eacbda
[CP-403] Replace old update code
...
Removed update related code
Removed update test scripts
2021-08-05 17:11:24 +02:00
Adam Dobrowolski
2a709ced4b
[CP-325] Request reboot code adjusted to work with harness
...
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
2021-07-12 12:59:19 +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
6f21138e85
[CP-253] Add checksum to package transfer
...
Added CRC32 to FS download command
2021-06-29 16:28:24 +02:00
Artur Śleszyński
3c2ca020a9
[CP-183] Do not log sensitive data in service-desktop
...
Remove potential printing of user-sensitive data.
2021-06-29 11:07:25 +02:00
Marek Niepieklo
bf06b5bad8
[CP-206] Report Pure serial number in USB descriptors
...
Added serial number to USB device descriptor
2021-06-23 12:03:52 +02:00
Marek Niepieklo
d857c5538f
[CP-200] Delete file with old OS version
...
Removed update file after a successful update or
in case of an interrupted download.
2021-06-17 16:25:06 +02:00
Lukasz Skrzypczak
7fee0d9cfb
[BH-378] Utils move log to library
...
Moved log to separate library
2021-06-08 12:24:29 +02:00
Wojtek Rzepecki
14d4ce8220
[EGD-6615] Fix tethering repeated notification
...
Repair of repeated tethering notification
after disconnection.
2021-04-29 16:45:12 +02:00
Maciej Gibowicz
6a80654b52
[EGD-6457] Add power management for USB
...
When the USB is disconnected, we turn off the peripherals
by going into the suspend bus mode.
2021-04-22 17:46:07 +02:00
Marek Niepieklo
75f225ce0d
[EGD-6309] Fix 2-sec delay in VCom deinit when USB cable disconnected
...
When USB wasn't attached, MTP task waits for configured event,
hence it cannot be joined before semaphore take times out (2 sec).
2021-03-26 10:51:57 +01:00
Maciej Gibowicz
9ab4fb1518
[EGD-6308] Add block CPU frequency decreasing for connected USB
...
While the USB cable is connected, the battery charging works,
so in this case energy saving is not critical
and for a more stable transmission, we block decreasing
the CPU frequency below 132 MHz.
2021-03-24 18:57:23 +01:00
Marek Niepieklo
5ab1ef65dd
[EGD-5868] Add access to backup over MTP
...
This change adds access to backups via MTP
after backup file has been successfuly created.
2021-03-22 18:59:11 +01:00