Commit Graph

35 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
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
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
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
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
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
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
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
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
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
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
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
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
Alek Rudnik
978b1d507b [EGD-6918] Timestamp clean up
Removal of not needed methods
Addition of unit tests
Fixes according to newst design guidelines
Added new seprate interface cmake lib for time constants
2021-06-16 15:41:23 +02:00
Jakub Pyszczak
e2863061e0 [EGD-6932] Small cellular refactor
Refactor regarding https://github.com/mudita/MuditaOS/pull/2226.
2021-06-15 12:50:44 +02:00
Jakub Pyszczak
0ec025ea2d [EGD-3243] Fix cellular memory leaks
Fixed leaks occuring in simulator using Quectel's eval kit.
2021-06-15 12:31:45 +02:00
Wojtek Rzepecki
266c208529 [EGD-6790] Fix cellular sleep mode
Fix of cmux communication in order to
prevent polling thus provide sufficient
time of inactivity to get into sleep mode
2021-06-14 14:20:28 +02:00
Lukasz Skrzypczak
2911b6b4a1 [BH-378] PR changes
PR changes - mainly includes
2021-06-08 12:24:29 +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
Paweł Joński
5ad878c6c4 [BH-371] Replace gsl with mainline submodule and move to third-party
Replacing loose gsl files with gsl mainline project as submodule
and moving it to third-party
2021-06-07 09:30:04 +02:00
Alek Rudnik
93c4675d1d [EGD-6701] System time usage fixes
Fixed all calls to stdlib time.
Removed all redundant calls to Timestamp treated as time source.
2021-05-27 16:54:44 +02:00
Piotr Tański
cd2cbbbd70 [EGD-6728] Documentation cleanup
Cleanup acc. to guidelines created in EGD-6632.
2021-05-19 16:29:54 +02:00
Maciej Janicki
c88c82ae86 [EGD-6319] Refactor cellular modem directory
- Removed not used files from old implementations.
- Renamed some classes to follow naming convention.
- Renamed methods to use consistent styling.
- Restructured code.
2021-05-05 16:34:35 +02:00