Commit Graph

42 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Mateusz Grzegorzek
0684b1271b [BH-515] Create main Bell app
Create main Bell app
2021-06-15 16:02:40 +02:00
Radoslaw Wicik
943fef9643 [BH-353] Add Documentation for main targets
* clean up mimimu required cmake version
* fixes for release workflow

Add documentation for targets, fixes for cmake
and release workflow.
2021-06-11 09:07:41 +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
Maciej Janicki
ea27e68716 [EGD-5748] Remake Cellular flow
This commit remakes cellular data flow
introducing full error propagation.
2021-04-23 15:03:08 +02:00
Maciej Janicki
91d0fc873a [EGD-5748] Revert remake cellular flow
Reverts changes due to reported issues
2021-04-06 12:55:16 +02:00
Kuba Kleczkowski
b88b8fc438 [EGD-6121] Add offline mode in service cellular
Adds entering and leaving ito offline mode in sevice
cellular. Outgoin SMS and calls are blocked Proper popups
are shown in applications Call and Messages.
2021-04-01 19:32:07 +02:00
Maciej Janicki
e532fd8734 [EGD-5748] Remake Cellular flow
This commit changes TS0710 Worker operation.
1. It introduces MessageBuffers as main
interprocess data passing mechanism.
2. DMA transaction status codes and CMUX errors
are now propagated to Service.
3. Data processing has been refactored.
2021-04-01 09:28:06 +02:00
breichel
46b856d6e6 [EGD-5831] Fix handling URC
Fix handling URC like no carrier
2021-02-23 20:13:43 +01:00
breichel
1a165ee797 [EGD-5692] Change URC parsing mechanism
Improved the mechanism for processing URC messages
so that long messages and those containing end of line
inside messages can be handled also if income
in more than one data chunk.
2021-02-18 16:38:54 +01:00
Kuba Kleczkowski
0b77d46357 [EGD-5216] Add module-callular unit test
Adds unit tests for TS0710 frame and ATStream.
2021-02-18 14:15:13 +01:00
Hubert Chrzaniuk
3cc558b02a [EGD-2931] Fix private number incoming calls
The change adjusts both cellular service as well as
call and call log applications to handle properly
incoming calls from private numbers.
2021-02-12 10:32:15 +01:00
Jakub Pyszczak
cee68d98eb [EGD-5529] Added CLCC parser
New cmd mechanism implementation of CLCC parser.
Unit tests implementation for the parser.
Refactor of searching for active outgoing call
in service cellular.
2021-02-11 13:37:52 +01:00
breichel
dc00afaad3 [EGD-5599] Change AT and DLC channels for big return
Change which allow to handle large return from
at commands both via UART and DLC-Commands
2021-02-10 16:15:30 +01:00
breichel
f7a742d488 [EGD-4386] Add VoLTE on/off functionality
Modem setup so that VoLTE connection is possible,
as long as there is LTE coverage
and the operator allows it.
2021-02-10 13:33:08 +01:00
Kuba
c275480fa5 [EGD-4990] Add UT for at+ccfc parser
It adds Unit tests for at+ccfc command parser.
2021-02-08 18:08:48 +01:00
Hubert Chrzaniuk
f37cbe21b2 [EGD-5045] Change call flow handling for lock screen
Call requests on lock screen have to be handled
separately to allow only emergency and ICE numbers.
2021-02-04 14:33:17 +01:00
Adam Dobrowolski
78a52c0705 [EGD-5451] Added SMS Center SMSC check to OS
Extended cmd mechanism to provide class defined responses and
implemented SMS center verification to check if SIM card is properly
cofigured and is able to send SMS messagess at all.
This check is needed because if SMS Center is lost we are not able
to send SMS messages with no verbose error codes.
Added milliseconds and noexcept specifiers for at commands
Fixed Chanel name to Channel
2021-01-31 11:24:37 +01:00
Kuba
20c7efdd71 [EGD-4861] Call waiting response parser
It allows to show proper GUI windows for call waiting MMI responses.
2021-01-28 16:59:49 +01:00
Kuba
cb729513eb [EGD-4862] Add CLIP, CLIR etc responses parser
It allows to show proper GUI windows for CLIP,
 CLIR and IMEI MMI response
2021-01-27 10:51:18 +01:00
Kuba
3baacec678 [EGD-4860] Add call barring response parser
It allows to show proper GUI windows for call barring MMI responses.
2021-01-26 15:02:11 +01:00
breichel
30d6ddbe47 [EGD-4920] Add API to get current operator name
Asynchronous API to get operator name,
also possibility to easy extend solution for
current operator technology and information about
operator selection mode (automatic/hand).
2021-01-10 15:45:37 +01:00
breichel
a5f957823d [EGD-4628] Add APN settings and URC handler for PDP context
Classes supporting APN settings on modem and telephone
configuration (synchronization) have been constructed.
Possibility of asynchronous execution
of individual actions via ServiceCellularAPI.
Added message with information about deactivation of the
PDP context (URC) that the
application / service can listen on.
2021-01-10 10:01:30 +01:00
breichel
e7931b2153 [EGD-4918] Change network scan for operators
Change old implementation of network scan. Now in class
which have rest of network settings as NetworkSettings.
Change method from old message style to connect/API.
2020-12-23 09:15:19 +01:00
breichel
adb6a64085 [EGD-4063] Handling PUK/PIN (#1014)
[EGD-4063] Added handling of PIN/PUK codes for SIM card objects.
SimCard class was added (supply pin and puk, change sim, get state, get sim lock infromation, get attempts counters)
URCCpin via URC handler was added
New message type to send data handled in URCCpin handler to ServiceCellular
2020-11-19 11:25:56 +01:00
jimmorrisson
7f89f4185c [EGD-2408] Fetch sms at startup (#991) 2020-11-12 13:58:56 +01:00
Hubert Chrzaniuk
6a92a7261e [EGD-2962] Refactor / improve URC handling (#947)
- QIND URC has been extended to support FOTA reply
 - added support for CLIP, CMTI and POWERED DOWN URCs
 - added support for URC responses codes handling
 - created URCHandler abstraction and moved out URC handling from
   cellular service code
 - URC objects are now created by factory on a basis of URC head, rather
   than previous approach where they were created a priori
 - Renamed classes to be consistent with rest of the project
2020-11-05 11:52:39 +01:00
Hubert Chrzaniuk
a607871f76 [EGD-3839] Cellular - get time zone (#903) 2020-10-29 10:41:34 +01:00
alek
d19406f6ab [EGD-2975] Added Network Access Technology support 2020-10-27 10:13:41 +01:00