Maciej Janicki
91d0fc873a
[EGD-5748] Revert remake cellular flow
...
Reverts changes due to reported issues
2021-04-06 12:55:16 +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
Maciej Gibowicz
9cc5b47bdd
[EGD-4863] Add harness test for cellular sleep mode
...
Adding test for outgoing call and text message
in cellular sleep mode
2021-03-25 11:08:08 +01:00
Maciej Gibowicz
67a02a90f5
[EGD-4852] Add sleep mode for GSM modem
...
When the GSM modem is idle and there is no communication,
it enters the sleep mode, where the power consumption
is significantly reduced.
2021-03-24 20:40:35 +01:00
Adam Dobrowolski
f08acdcc78
[EGD-6079] Moved at factory from header to cpp file
...
- data moved to std::initializer_list no issue warned with tools
- GCC tools do not warn issues with memory now
2021-03-19 16:06:12 +01:00
Mateusz Grzywacz
1336f48251
[EGD-5229] Cellular modem, change receiving to DMA
...
Changes implementation for receiving data from
cellular modem from IRQ byte-by-byte to DMA transactions.
Drop in replacement, works with current CMUX (TS07.10)
2021-03-16 13:37:58 +01:00
Mateusz Grzywacz
c8e7e706d8
[EGD-6021] Cellular flush receiving buffer before initialization
...
Upon hot start the first data we receive comes from
modem from previous boot. This data is meaningless and
potenitally harmful. This adds: ignoring it
2021-03-16 13:37:58 +01:00
Maciej Janicki
6aae5f5006
[EGD-5101] Add flow control configuration for cellular
...
Fix flow control pin configuration in OS.
Turn on flow control for cellular modem.
2021-03-16 13:37:58 +01:00
breichel
22fa17a616
[EGD-5919] Fix logs from Service: Cellular, Fota
...
Remove misleading error message(change to debug/info).
Do not trace as error multiple retry. Minimize (to zero)
error logs on cold and hot start of the phone.
2021-03-10 18:00:20 +01:00
Maciej Gibowicz
9f87dead1c
[EGD-4853] Add Wake up GSM modem on demand
...
System wakes up Cellular when there is a need to communicate
with the modem, e.g. to handle an outgoing call
2021-03-10 13:08:48 +01:00
Kuba Kleczkowski
0db73facf4
[EGD-5741] Change cellular DataReceiverHandle refactor
...
All messages have been moved to separate handlers.
2021-03-02 13:49:33 +01:00
breichel
46b856d6e6
[EGD-5831] Fix handling URC
...
Fix handling URC like no carrier
2021-02-23 20:13:43 +01:00
Wiktor S. Ovalle Correa
fe72169338
[EGD-5737] Merge master into experimental
...
Synchronize with master before merging
2021-02-23 18:10:52 +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
Wiktor S. Ovalle Correa
3b141041e9
[EGD-5737] Merge master into experimental
...
Keep experimental up to date with changes from master
2021-02-17 17:09:37 +01:00
Tomasz Langowski
d3e51fb7cd
[EGD-5319] Add test related to cold and hot start of cellular
...
Add harness test related to cold and hot start of cellular service
2021-02-12 08:00:49 +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
Lukasz Skrzypczak
28d811bd0d
[EGD-5677] Tune echo cancellation parameters
...
Tuned parameters according to Quectel guide
2021-02-10 15:54:21 +01:00
Kuba
87b5938e37
[EGD-5594] Fix sending multiple cmux frames
...
Sending multiple cmux frames was broken. Sending at command
longer than 127 bytes caused the modem to freeze.
2021-02-09 15:26:36 +01:00
Lukasz Skrzypczak
eedf73eaac
[EGD-5299] PR comments
...
Deleted commented-out digital filter calls. Moved QEEC to factory.
Added selection for echo cancellation strength.
2021-02-09 12:14:29 +01:00
Piotr Tański
bc4d32c7d8
[EGD-5158] Change access to the bus methods
...
The bus is now accessible only via Service object.
2021-02-08 16:56:42 +01:00
Lukasz Skrzypczak
e4462dce33
[EGD-5298] Microphone Adjust
...
Changed parameters for mic GSM path to get clear voice
2021-02-02 18:31:03 +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
Adam Dobrowolski
afa195764b
[EGD-5451] Removed unused and potentially harmful cmux api
...
We do not and should not use api removed. We should use Chanel and
Response in cellular code.
2021-01-31 11:24:37 +01:00
Radoslaw Wicik
d14e40d378
[EGD-4831] Add license headers to c, h and sql files
...
Add license headers to `h`, `c` and `sql` files as this files haven't
been checked previously, script now to automatically updates current
year in existing licenses.
2021-01-28 14:41:33 +01:00
Radosław Wicik
be0a8696a9
[EGD-3220] Convert service-fota to library ( #1038 )
2020-11-18 14:04:00 +01:00
Radoslaw Wicik
945e39df21
[EGD-4216] Convert service-cellular to library
2020-11-10 13:35:12 +01:00
breichel
f6161b1125
[EGD-4116] +CME ERROR support for AT commands. Error number available … ( #893 )
...
[EGD-4116] +CME ERROR and +CMS ERROR support for AT commands. Now error code available in at::Result as errorCode via Variant type.
2020-11-05 14:58:56 +01:00
Bartosz Cichocki
d5baec3837
[EGD-4211] moved test harness into service-desktop ( #945 )
...
Co-authored-by: SP2FET <bartosz.cichocki@mudita.com >
2020-11-05 13:37:34 +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
acfe536435
[EGD-4120] Cellular - new line at the end of the command ( #877 )
2020-10-22 08:55:57 +02:00
Przemyslaw Brudny
e131dae68f
[EGD-3743] Removed old doxygen copyright statements from project.
2020-10-20 12:55:10 +02:00
Radoslaw Wicik
2276ceed67
[EGD-3743] Update copyrights in fies
2020-10-20 12:55:10 +02:00
Maciej Gibowicz
d5b0283a0c
[EGD-4038] handling incoming calls and sms in sleep mode ( #819 )
2020-10-19 13:25:39 +02:00
kkleczkowski
4fa2e8d033
[EGD-4101] Temporary removed SMS memory setting. ( #850 )
...
Co-authored-by: Kuba Kleczkowski <dd>
2020-10-16 12:36:28 +02:00
Adam
f5f27d642f
EGD-2955 EGD-3588 Timers fully refactored & updated ( #721 )
...
* Timers now are Application thread safe
* Timers now have consistent API independend of Application (no more c style timers)
* Timers can have either: callback or override onTimer() method - this
way we can create more complicated timers or just use existing ones
* gui::Timer added via adapter class GuiTimer to decouple sys::Timer
with gui::Timer
* Fixed race in wrapper
* Updated docs
* fixed using std and cpp_freertos and DataReceivedHandler hidden in Application.hpp
2020-10-02 14:04:57 +02:00
kkleczkowski
250e7ea9c0
Egd 2914 ussd ( #729 )
...
* [EGD-2914] Window + base API.
* [EGD-2914] USSD test window changed.
* [EGD-2914] CMUX frames deserialised in dlc channel.
* [EGD-2914] USSD session.
* [EGD-2914] CUSD urc handler.
* [EGD-2914] Simplified USSD test window, sms storage command.
* [EGD-2914] Setting sms storage at modem init.
* [EGD-2914] Changelog.
* [EGD-2914] Style fix.
* [EGD-2914] Style fix again.
* [EGD-2914] Cleanup.
* [EGD-2914] PR applied.
* [EGD-2914] Rebase fixes.
* [EGD-2914] Style fix.
Co-authored-by: Kuba Kleczkowski <dd>
2020-10-01 14:30:22 +02:00
RobertPiet
82fb697c24
[EGD-2460] protection at the moment of conversion added: exception handling or parameter checkup
...
[EGD-2460] additional stoi/stoul protected; usage of magin_enum; review issues resolved
[EGB-2460] added return when exception caught as mention by Radek
2020-09-11 14:37:56 +02:00
Tomasz Sobkowiak
45773ddfdf
[EDG-3415] Handle new line when entering text
2020-09-04 13:12:02 +02:00
alek
9821cd77c6
[EGD-3558] remove memalloc
2020-09-04 11:45:50 +02:00
kkleczkowski
e1c765ee1d
Egd 3248=long sms fix ( #517 )
...
* [EGD-3248=long-sms-fix] Fixed timeout in concantenated sms.
* [EGD-3248=long-sms-fix] Removed unused CREG command.
* [EGD-3248=long-sms-fix] Changelog.
Co-authored-by: Kuba Kleczkowski <dd>
2020-07-14 11:53:06 +02:00
Alek Rudnik
b4ec5eafb0
[EGD-3384] remove .at from TS0710 ( #508 )
2020-07-08 12:13:35 +02:00
kkleczkowski
e46d2a2829
Egd 3244 antenna manager ( #490 )
...
* [EGD-3244] Service antenna + utils State.
* [EGD-3244] CellularAPI + at::response.
* [EGD-3244-antenna-manager] Changes in application Antenna.
* [EGD-3244-antenna-manager] Changes in antenna app ( antenna switch multicast ).
* [EGD-3244-antenna-manager] Changed Antenna app GUI.
* [EGD-3244-antenna-manager] Basic algorithm.
* [EGD-3244-antenna-manager] Fixes in algorithm.
* [EGD-3244-antenna-manager] Small fixes + service blocking.
* [EGD-3244-antenna-manager] Little cleanup.
* [EGD-3244-antenna-manager] Restored Cellular call in Application Antenna.
* [EGD-3244-antenna-manager] Style fix.
* [EGD-3244-antenna-manager] Sewrvice antenna disabled.
* [EGD-3244-antenna-manager] PR suggestions + linux buil fixed.
* [EGD-3244-antenna-manager] Updated changelog
* [EGD-3244-antenna-manager] Style fix.
* [EGD-3244-antenna-manager] Fixed submodule.
* [EGD-3244-antenna-manager] PR suggestions + toNumeric UT.
* [EGD-3244-antenna-manager] PR suggstions again.
Co-authored-by: Kuba Kleczkowski <dd>
2020-07-07 10:54:47 +02:00
Marcin Smoczyński
a9cb37d7f4
tests: add proper catch2 handling
...
Add proper catch2 support:
- add catch2 as a submodule
- add cmake function to add test easily
- discover each test in test binary
- remove copies of catch.hpp
- do not try to process tests for rt1051
Do not test internals of utf8, only public interface (nasty bugs could
occur otherwise).
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com >
2020-06-24 10:38:14 +02:00
Radoslaw Wicik
806902c1df
[EGD-3067] Add FOTA window
2020-06-23 16:11:38 +02:00
Radoslaw Wicik
dfc21b3567
[EGD-3228] Acquire DataChanel from CellularService
2020-05-28 16:40:11 +02:00
kkleczkowski
b70ad6c5fc
Egd 3196 small cellular refactor ( #365 )
...
* [EGD-3196] Fixed fatals in cellular.
* [EGD-3196] Fixed sms sending.
* [EGD-3196] Fixed timeout in ConfProcedure.
* [EGD-3196] Board type moved to Event Manager.
* [EGD-3196] Event Manager API renamed.
* [EGD-3196] Misiing files.
* [EGD-3196] Fixed modem status message, return code in magnetometer driver, case in modem init procedure.
* [EGD-3196] PR suggestions applied.
* [EGD-3196] Style fix.
* [EGD-3196} GetBoardName -> c_str();
* [EGD-3196] Style fix.
* [EGD-3196] PR suggestions added.
* [EGD-3196] Style fix...
* [EGD-3196] Style fix again.
Co-authored-by: Kuba Kleczkowski <dd>
2020-05-21 16:56:24 +02:00
Kuba Kleczkowski
d8a9d30c8c
[EGD-2911-modem-init-rework] PR applied.
2020-05-11 14:04:31 +02:00
Mateusz Grzywacz
192d7c1225
[EGD-2911] modem init - delay URCs until needed
2020-05-11 14:04:31 +02:00