Commit Graph

3289 Commits

Author SHA1 Message Date
SP2FET
b055eee371 [EGD-5981] Fix BT scan stop issue
Btstack's scan stop call was not working properly thus force stop
function has been added
2021-03-02 11:03:17 +01:00
SP2FET
8460e9e915 [EGD-5980] Fix BT paired devices list
After pairing more than 1 device the paired device list showed
only the last paired. This commit fix this issue
2021-03-02 11:03:17 +01:00
Lucjan Bryndza
194368db9d [EGD-5047] Add support for newlib time
Add support for newlib time standard syscalls.
2021-03-02 10:20:41 +01:00
Wiktor S. Ovalle Correa
622a7141e0 [EGD-5926] Unmount VFS partitions on close
There is no shutdown procedure reflecting sysInit,
but filesystems can be unmounted directly before returning
from main()
2021-03-02 10:07:45 +01:00
lblach
76dc6f9f5b [EGD-5771] Create post update info window
Add post update info window.
2021-03-02 09:30:15 +01:00
Wiktor S. Ovalle Correa
2c4dd15023 [EGD-5927] Redirect access to '/lib' in emulator
Sanitizer was trying to access libraries after all objects
got deleted and hung in a nested bug state.
2021-03-01 18:13:54 +01:00
Pawel.Paprocki
73ff1752c5 [EGD-5898] Fix test send message
Added extra time to send message
2021-03-01 16:43:58 +01:00
SP2FET
d1fe9bc520 [EGD-5977] Fix empty BT devices list after pairing
After changing flow of settings windows, the stopScan command
is being executed right after executing pairing, so cleaning the
scan devices list is being done on scan start
2021-03-01 16:33:30 +01:00
Kuba Kleczkowski
64b89cc0f0 [EGD-5621] Change call request facory
Commands crated by call request factory had the wrong timeout.
Now timeout is defined by command.
2021-03-01 16:17:26 +01:00
Michał Kamoń
fec0f2550f [EGD-5966] Fix unit test build linker error
Problem was created by not extending `VisitorMock`
to mock new method of abstract `GuiVisitor`
2021-03-01 15:17:25 +01:00
Lucjan Bryndza
bb5a91ebe3 [EGD-5948] Fix build pure image for all target
Currently image is generated as a separate rule, but we need
to build image for the all targets.
2021-03-01 14:35:27 +01:00
Hubert Chrzaniuk
bb76fe4080 [EGD-5713] Change volume hardware buttons behaviour
The volume button policy has been redesigned to be less
ambiguous for the user.
2021-03-01 13:54:39 +01:00
Marcin Smoczyński
ea7264d434 [EGD-5941] Add tool to analyze stack usage
Add a script to determine a stack usage of code components.
The GENERATE_STACK_USAGE option must be used in the build configuration.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-03-01 13:27:44 +01:00
Wiktor S. Ovalle Correa
2d2e432893 [EGD-5900] Fix filesystem performance issue (Linux)
Make fread/fwrite ignore requested item size
and perform on 8KB blocks
2021-03-01 11:50:58 +01:00
Pawel Olejniczak
e676068f62 [EGD-5912] Add forget bluetooth device feature
Added button on AllDevices window, and handling for it.
Added needed messages for communication with service bluetooth.
Feature is now complete on application settings side.
Further integration in service bluetooth is needed.
2021-03-01 10:11:24 +01:00
Mateusz Grzegorzek
3fb041cb41 [EGD-5899] Restore Quotes Windows
Due to mistakes probably during rebase
Quotes Windows weren't correctly merged by this PR:
https://github.com/mudita/MuditaOS/pull/1252

This PR fixes it.
2021-03-01 09:58:35 +01:00
Hubert Chrzaniuk
cceb5b09d6 [EGD-5789] Fix loudspeaker in-call logic
In some cases loudspeaker state night have not
been passed properly ignoring users choice.
2021-03-01 09:22:52 +01:00
Mateusz Grzegorzek
9832365ca2 [EGD-5698] Add pagination for messages
Add pagination for messages
2021-02-26 18:37:56 +01:00
SP2FET
a05bf00ac7 [EGD-5765] Add BT docs
Added simple documentation about profile manager
2021-02-26 14:52:41 +01:00
Radoslaw Wicik
9d8eff64fc [EGD-5860] Fix build packages
Merging and cleaning cmakes requred cleaning.
2021-02-26 14:20:11 +01:00
Radoslaw Wicik
d5174215eb [EGD-5819] Fix count
Fix wrong "count" key word in contacts, and add test for variables in
device info endpoint.
Disabled test jira:
5906 - test_calendar_events.py
5907 - test_connection_security.py
5908 - test_dom_dump.py
5909 - test_usb_echo.py
2021-02-26 14:06:00 +01:00
Lucjan Bryndza
5c574c1edc [EGD-5877] Remove flash script update flasing doc
Remove old flashEMMC script and update flash documentation

Update doc/boot_and_update.md

Co-authored-by: Wojtek Cichoń <wojtek.cichon@protonmail.com>

Update doc/running_on_phone.md

Co-authored-by: Wojtek Cichoń <wojtek.cichon@protonmail.com>

Update doc/running_on_phone.md

Co-authored-by: Wojtek Cichoń <wojtek.cichon@protonmail.com>

Update doc/running_on_phone.md

Co-authored-by: Wojtek Cichoń <wojtek.cichon@protonmail.com>

Update doc/boot_and_update.md

Co-authored-by: Wojtek Cichoń <wojtek.cichon@protonmail.com>

Update doc/running_on_phone.md

Co-authored-by: Wojtek Cichoń <wojtek.cichon@protonmail.com>
2021-02-26 12:30:40 +01:00
Pawel Olejniczak
c51411c876 [EGD-5861] Complete bluetooth connecting process on settings side
Enable connecting BT devices in settings.
Connect popup and add adjust messages for connection error handling.
2021-02-26 09:51:48 +01:00
Michał Kamoń
8907669795 [EGD-5489] Add Bluetooth pairing test
This PR provides a harness test of a current stage `Bluetooth` pairing
functionality. That is provided a `Bluetooth` device name, test logic:
* navigates to a appropriate window
* scans for devices available
* navigates over appropriate device and check's if it is focused
2021-02-26 08:59:13 +01:00
RobertPiet
79d27c977c [EGD-5725] Sms threads pagination
Added pagination for sms threads
2021-02-25 19:55:02 +01:00
RobertPiet
00fde83a0a [EGD-5808] Introduce cache for Settings
Settings Cache introduced
2021-02-25 18:28:31 +01:00
Wojtek Rzepecki
0c098808e8 [EGD-5660] Add PWM Cpu sentinel
Change of PWM frequency due
to main clock change in low
power operation.
2021-02-25 17:09:05 +01:00
Roman Kubiak
2a29e27996 [EGD-5757] Fix backup API
Fix backup endpoint to work with new paths and FS api
The flow is based on the design in confluence.
2021-02-25 16:04:04 +01:00
Marcin Smoczyński
7c65f04452 [EGD-5893] Disable optimization for os
Disable FreeRTOS optimization for RelWithDebInfo configuration in order
to be able to analyze system memory (heap and tasks' stacks).

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-02-25 15:35:36 +01:00
Hubert Chrzaniuk
fcb170f3d3 [EGD-5847] Fix call app when no CLIP available
The call app might have not appeared on the screen
when no caller info was available.
2021-02-25 15:13:48 +01:00
SP2FET
2b1ce1aa0e [EGD-5879] Fix BT uart error
To be able to properly send data via UART, the frequency has to
be higher (to be fixed in the future)
2021-02-25 14:14:17 +01:00
SP2FET
f9b80ac26c [EGD-5764] Implement handling multiple BT profiles
To be able to connect to the BT device with more than one audio
profile, we need something to manage those profiles. Created here
ProfileManager made it convenient
To be able to work properly with BT, CPU freq has to be at least
at Level_5 - to be fixed!
2021-02-25 14:03:44 +01:00
Pawel Olejniczak
81e49a91ce [EGD-2630] Add pairing passkey handling on bluetooth settings side
Connect prompt window and add missing messages.
2021-02-25 11:36:15 +01:00
Pawel Olejniczak
1e219f3c5c [EGD-2634] Add pairing process result confirmation
Enable pairing BT devices in settings.
Connect popup and add adjust messages for pairing error handling.
2021-02-25 11:36:15 +01:00
Tomasz Sobkowiak
0022da5e37 [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.
2021-02-25 10:28:08 +01:00
lblach
203f81977f [EGD-5756] Add Update Window
Create Update Window(s) to control and visualize the MuditaOS update
process on Pure.
2021-02-25 09:28:01 +01:00
Marcin Smoczyński
080a2bfe8f [EGD-5760] Add option to use minimal metadata
Add a possibility to use a minimal version of libphonenumber's metadata
to reduce firmware size in debug.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-02-24 20:17:51 +01:00
Pawel Olejniczak
2b05b9739e [EGD-5204] Secure USB communication
Secure all endpoints by returning 403(Forbidden) when USB is connected.
Request screen passcode to enable secured endpoints.
2021-02-24 19:49:07 +01:00
Piotr Tański
d5c3d41ca4 [EGD-5204] Secure USB communication
Secure all endpoints by returning 403(Forbidden) when USB is connected.
Request screen passcode to enable secured endpoints.
2021-02-24 19:49:07 +01:00
Pawel.Paprocki
a3d2c9fead [EGD-5863] Add retry dialog window
Add generic retry dialog window
2021-02-24 17:20:59 +01:00
Wiktor S. Ovalle Correa
1d4ed26f41 [EGD-5870] Fix filesystem remounting
Skip remounting if a filesystem is already R/W
2021-02-24 16:36:51 +01:00
Piotr Tański
6916fed47b [EGD-5836] Turn on/off the tethering via harness
This allows a user to turn on and off the tethering via test harness.
2021-02-24 15:21:31 +01:00
Piotr Tański
4f3366ee80 [EGD-4157] Actions queue added
All actions shall be queued in order to process them later.
2021-02-24 14:52:20 +01:00
Hubert Chrzaniuk
4490d0da7f [EGD-5714] Add phone mode handling for Audio Service
Added separate set of settings for all phone modes along
with basic support for phone mode change.
2021-02-24 13:00:43 +01:00
Marcin Smoczyński
e9fae2e321 [EGD-5869] Add puregdb
Add misc-tools repo containing:
 - linker map file analyzer (firmware size analyzer)
 - gdb's plugin which checks system memory health

Automatically load puregdb at startup of a debug session.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-02-24 12:49:53 +01:00
Radoslaw Wicik
c5baf39b51 [EGD-5860] Fix build packages
Error introduced by merge, fixed paths and dependences.
2021-02-24 12:36:30 +01:00
SP2FET
3d3b997cc0 [EGD-5856] Update Btstack
Updated to the latest version, fixes few bugs
2021-02-24 08:33:41 +01:00
Lukasz Skrzypczak
16c0d16647 [EGD-3685] Fix timers starting without callback
Fixed null-callback timer in Vibra starting automatically on creation
2021-02-24 07:01:27 +01:00
breichel
46b856d6e6 [EGD-5831] Fix handling URC
Fix handling URC like no carrier
2021-02-23 20:13:43 +01:00
Lucjan Bryndza
e61a7d2dac Merge branch 'EGD-5737-merge-master-to-exp-lbr-fix' 2021-02-23 18:52:15 +01:00