Commit Graph

292 Commits

Author SHA1 Message Date
Lefucjusz
181feb4f40 cleanup 2024-08-20 15:40:34 +02:00
rrandomsky
b821747851 [MOS-1059] Erase only sensitive data from logs
Erase only sensitive data from logs.
2023-11-30 12:31:05 +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
663177ad49 [MOS-170] Report domestic roaming as home network
Changed behaviour of roaming indicator so that
domestic roaming is displayed as home network.
2023-08-08 21:00:32 +02:00
Lefucjusz
d2b9a10dd3 [MOS-1002] Change USSD code handling to match design
Fixed issues with GUI behaviour on failed
USSD code handling.
Minor code cleanup in several parts of system.
2023-08-02 12:07:29 +02:00
Lefucjusz
8d96f2d354 [MOS-993] Logger bug fixes and optimizations
Fixes and optimizations in logger:

* fixed possible buffer overflow when logging
logs over line buffer size;
* reduced max log line length to 2048;
* moved pubsetbuf before file opening;
* log file stream buffer created once
in logger ctor;
* updatet UTs;
* additional minor cleanup.
2023-05-29 09:38:57 +02:00
Marcin Zieliński
80905d58cd [MOS-982] Recognizing WCDMA network access method for 3G in GUI
Ditto
2023-04-26 12:21:22 +02:00
Marcin Zieliński
bf8faf804e [MOS-483] Import SIM card contacts properly
According to information elaborated by Quectel, the contacts don't have
to be saved on a SIM card contiguously and the only way to make sure all
of them are imported is to request for the range [1, 250] (first to
biggest allowed index).
2023-02-02 11:19:41 +01:00
Mateusz Piesta
0a9846e4a8 [MOS-694] Move DB initialization from OS to build scripts
* Switched to DB initialization at compile time
* Organized and cleaned up db files directories(not finished completely)
* Fixed DB related unit tests
* Minor improvements to CMake
* Small fixes for GCC12 build
2023-01-19 16:41:56 +01:00
Marcin Zieliński
bf2d3208bb [MOS-812] Improved CUSD message handling
* Added handling for shorter +CUSD formats, thus got rid of a crash.
* Added handling for the "push session"+"action required" state of a
  USSD interaction with the network.
2023-01-04 17:21:12 +01:00
Kuba Kleczkowski
70fe3a401e [MOS-813] Emergency calling fixed
User is now able to make emergency call with no sim card
inserted. RF functionality in modem is still disabled
until sim card is selected by user.
2022-12-19 17:43:23 +01:00
Bartosz Szostak
e4dc40a7c2 [MOS-741] Fox crashes during the cellular frame processing
Added an additional condition that checks the size of the hacked frame
to avoid processing an incorrect sized frame.
2022-12-06 09:22:27 +01:00
Marcin Zieliński
b069b7bc6b [MOS-793] Connect GUI and modem VoLTE steering
Additionally, fixed many covert bugs that emerged due to
modem restarting.
2022-11-23 09:47:07 +01:00
Bartosz
c85b85f4cd [MOS-259][MOS-602] Fix no calllog entries in DND mode
Fixed no calllog entries in DND mode, which were caused
by not starting the call in DB interface, so no entry was created.

Moreover, small optimizing of the DND handling.
2022-08-29 11:01:11 +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 Cichocki
228fca4b83 [MOS-463] Unify cellular namespace
Unified cellular namespace, fixed test buildiing,
removed some unused includes
2022-06-08 10:54:29 +02:00
Adam Dobrowolski
2b1ae19d62 [MOS-512] Fix build with gcc12
As in topic
2022-06-03 12:38:34 +02:00
Lucjan Bryndza
523eb6f577 [MOS-513] Fix issues related to the GCC12 gcc
Fix issues related to the GCC 12
Fix paths for ignore license headers
2022-06-02 13:24:09 +02:00
Maciej Janicki
1c2e19fce9 [MOS-395] Add new def QCFG settings
Add new default QCFG settings:
- servicedomain,
- nwscanmode.
2022-05-10 10:33:39 +02:00
Maciej Gibowicz
ced864203f [MOS-228] GSM sleep mode dependend on communication with modem
After finishing communication with cellular,
we switch to sleep mode faster, saving the battery
at the same time.
2022-04-28 08:58:27 +02:00
Adam Dobrowolski
a88ccfe49e [MOS-327] Removed call manager call logic in library
Moved call handling to separate library and removed CallManager
Apply suggestions from code review:
Co-authored-by: Bartosz Cichocki <sp2fet@gmail.com>
Co-authored-by: Mateusz Piesta <mateusz.piesta@mudita.com>
2022-04-13 12:23:38 +02:00
Adam Dobrowolski
cc02ffffbb [MOS-258] System profile util works with separate rtt
Profiling Move RTT handling to interfacing library
Library for msgpack sink
magic enum updated
performance monitor fixups
2022-04-07 11:32:49 +02:00
Lefucjusz
dd3eeaf1e2 [MOS-240] PVS Studio analysis bugs fix
Fixes to major part of issues found
by PVS Studio static analysis
mainly micro-optimisations
2022-03-28 13:57:08 +02:00
Adam Dobrowolski
053f270655 [MOS-282] Librarisation of services and test service
* options work a bit better ,now services and apps are
  selectable by option in cmake
* test service example added
* major documentation for module-services
* documentation for project configs and logs

Co-authored-by: Bartosz Cichocki <sp2fet@gmail.com>
Co-authored-by: Mateusz Piesta <mateusz.piesta@mudita.com>
2022-03-18 08:06:21 +01:00
Maciej Janicki
2b2bb13a49 [MOS-296] Merge remote-tracking branch 'origin/stable'
Merge stable Harmony branch into merge wip branch
2022-03-09 19:27:50 +01:00
GravisZro
e59cd4036b [MOS-245] Fix errant spaces
It appears in the past a major edit was made but had used a regex to
change some text which resulted in an errant space between the
enumuneration/struct/class name and the scope resolution operator.
These errant spaces have been removed.
2022-02-24 08:47:20 +01:00
Adam Dobrowolski
c7513c2c65 [EGD-8208] Post rebase and review cleanup
Style fixed, moved files to catalog, renames
2022-02-22 13:36:27 +01:00
Kuba
9e3cc7a692 [EGD-8203] Add URC counter and csq poll mode
Added CSQ notifications counter and CSQ poll mode.
It will help to reduce current cosnuption in case of
variable signal.
2022-02-02 13:20:17 +01:00
Lucjan Bryndza
d1d02fab6b [EGD-7956] Revert Fix DMA issue on tx modem data
This reverts commit 7d8fbec207.
2022-02-01 12:16:17 +01:00
Lucjan Bryndza
7d8fbec207 [EGD-7956] Fix DMA issue on tx modem data
Fix DMA issue on tx modem data

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2022-01-30 14:12:18 +01:00
Mateusz Piesta
c1391090c6 [BH-1389] Catch2 unit tests optimization
Removed redundant recompilation of catch2 main
resulted in over 20% speed up of unit tests compilation.
2022-01-26 15:04:23 +01:00
Marek Niepieklo
53a51e866d [EGD-6991] Message from the operator is not fully shown
Added handling of errors in retrieving a message from the modem
2022-01-26 11:32:01 +01:00
Alek Rudnik
05c8d3117c [EGD-7860] Fix for call error flow
Make sure it is not possible to request a call twice.
Added new error windows for general call error and
no network connection.
Make sure there are no issues when call is requested
from external app e.g. from callog or phonebook.
2021-12-09 21:06:08 +01:00
Kuba
2eff517229 [EGD-7864] Fix Modem rf in enabled after sim selected
Modem is now disconected from network until active sim card
is selected.
2021-11-30 11:10:19 +01:00
Kuba
69cf2575cc [EGD-7909] Fixed phone mode switching
Service cellular is holding minimum cpu frequency during
phone mode switch.
2021-11-19 16:43:00 +01:00
GravisZro
065a70fbd0 [EGD-7253] Fix broken links and remove HTML anchors
Fixes multiple documents with broken links. Removes HTML anchors and
updates each ToC with a proper link.
2021-10-27 14:55:27 +02:00
Kuba
6e12e5834f [EGD-7738] Fix modem reset
Fixed modem reset procedur so now it will not stuck in cellular
init on factory fresh phone. Also removed T3/T4 board recognition.
2021-10-21 18:45:43 +02:00
Piotr Tański
1d2f5cf7a4 [EGD-7754] Dates bumped in disclaimers
Dates bumped from 2020 to 2021.
2021-10-11 19:08:26 +02:00
Kuba
2443cb6ab1 [EGD-7614] Add Enable Rndis mode
Adds enabling Rndis mode in modem, so tethering is possible
on Linux, Mac and Windows.
2021-10-06 14:54:23 +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
Piotr Tański
bf3897b649 [EGD-7610] Unnecessary services and apps removed
Removed lwIP, FOTA and clock application.
2021-09-21 08:34:53 +02:00
Kuba
091e76ae7c [EGD-6914] Fix missing no sim message
Added QSIMSTAT urc handler and command parser. Added
sim insertion state in SimCard. Now there No Sim response
is sended if sim is missing. Sim not respond timer removed
from Application Manager.
2021-09-09 13:41:08 +02:00
Piotr Tański
90e7a48198 [EGD-7362] Merge release/0.76.1 into master
Merge release/0.76.1 into master.
2021-09-02 11:12:59 +02:00
GravisZro
e433e8dd03 Fix transparent backgrounds in PlantUML
Images generated using PlantUML had transparent backgrounds which made
their text difficult to read on GitHub when using "Dark Mode". Forcing
a background color of #F0F0F0 ensures they are all readable.
2021-08-16 17:01:19 +02:00
Marcin Smoczyński
b355d5ce00 [BH-733] Cleanup target dependencies
Remove obsolete target dependencies across modules.
Remove 'cross' and 'unittests' targets.
Refactor some remaining target dependencies to use board include macro.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-08-13 01:43:56 +02:00
Mateusz Grzegorzek
7188802f8e [BH-669] Fix CMake in service-appmgr
Fix CMake in service-appmgr
2021-07-21 14:19:41 +02:00
Kuba
27ccfe12a1 [EGD-7124] Add import contacts from sim
Added imort contacts from sim card.
2021-07-16 13:37:40 +02:00
Alek Rudnik
49b7ab8509 [EGD-7005] Removed sensitive data cellular
Removed sensitive data from service and module cellular.
Logger factory introduced to easily manage sensitive logs.
2021-07-12 12:25:04 +02:00
Pawel Olejniczak
56449096fd [CP-267] Ensure cellular logging
Log information such as: selected SIM slot,
received signal parameters (QNWINFO, CSQ),
selected antenna, AT commands exchanged
with the modem, slider position.
Also fixed logging level for rt1051.
2021-07-09 16:50:30 +02:00