Commit Graph

51 Commits

Author SHA1 Message Date
Alek-Mudita
ea69daaebc Egd 2420 adding new calllog entry phase2 (#150)
* [EGD-2420] tokenizer refactoring
new class CellularCall

* [EDG-2420] new file added

* [EGD-2420] fixed include

* [EGD-2420] added new ModemCall type and its usage in Sevice Cellular.
missing dep in module-cellular.
Fix in tokenizer.

* [EGD-2420] get calllogrecordID one adding new entry to DB
number as contact name

* [EGD-2420] fixes at DB level api for update and delete
Outgoing call seems to add proper calllog entries now

* [EGD-2420][fix] fix for HF during call before full modem init

* [EGD-2420] incoming and missed calls are handled
code clean-up

* [EGD-2420] ModemCall::to_string

* [EGD-2420] added proper exceptions

* [EGD-2420] minor clean up

* [EGD-2420] split string with multichar delimiter

* [EGD-2420] done some TODOs

* [EGD-2420] PR fixes

* [EGD-2420] separation between cellularcall and cellularservice
PR fixes

* [EGD-2420] duration based on timestamp instead of timer

* [EGD-2420] new to_strings

* [EGD-2420] fixes after rebase

* [EGD-2420] operator<<

* [EGD-2420] changed split params

* [EGD-2420] changed returned db id

* [EGD-2420] comment with explantaion
2020-01-30 12:45:29 +01:00
kkleczkowski
a657237395 [EGD-2522] Added GetOwnNumber and GetIMSI. Removed unused service-cellular meassages and unused types in messageType. (#146) 2020-01-27 12:20:07 +01:00
kkleczkowski
9811b7a044 Egd 2404 db modem (#137)
* [EGD-2404] Handling incoming SMS.

* [EGD-2404-db-modem] WiP onf db handling.

* [EGD-2404-db-modem] service-db notification + SmsDB::Add.

* WiP handling service-db notification in service-cellular.

* WiP on cellular<->db.

* Fix in usc2, handlig incoming message.

* Code cleanup pt 1.

* Improvements in service-csllular.

* Fixed compilation error on target, small cleanup.

* Small claenup.

* Fixes after rebase.

* Fixed incoming sms date parsing on target.

* Fix after rebase.

* PR suggestions added.

* dynamic_cast + nullptr check.
2020-01-21 10:49:18 +01:00
Alek-Mudita
9bc0e6f3c5 Egd 2420 adding new calllog entry phase 1 (#134)
* [EGD-2420]  minor fix in call app timer

* [EGD-2420] added missing dictionary definitions

* [EGD-2420] removed the same preprocesor defintions

* [fix][EGD-2420] for adding new entry to calllog DB.
It is workaournd as it looks like there is issue with printing 64bit variables in vsnprintf

* [EGD-2420] added new timer for call duration on cellular servcice.

* [EGD-2420] changed unnecessary LOG_ERRORs to LOG_DEBUGs

* [EGD-2420] changed logging levels

* [EGD-2420] added TODO
2020-01-15 15:05:25 +01:00
Alek-Mudita
7ed1fa2f62 Egd 2449 fix for call aborting (#130)
* [fix] checked for proper time ID

* [fix] missing change

* adding proper debugging  possibility

* [fix] added more response validation

* [fix] validatio of the AT+CLCC response

* changed log level

* [fix] added explantation for the fix

* clean up AT command resposne validation methods

* [fix] for aborting call using long press

* added abort() in vApplicationStackOverflowHook

* code review fixes
2020-01-10 16:08:10 +01:00
Mateusz Grzywacz
c4a66f53b6 rebase fix, was missing 2020-01-02 14:53:34 +01:00
Mateusz Grzywacz
c09df40905 [EGD-2368] Approach 1: list of timers 2020-01-02 14:53:34 +01:00
kkleczkowski
013422e519 Cellular messages (#110)
* WiP on porting sms to new cmux.

* [cellular-messages] WiP concatented messages.

* [cellular-messages] Sending sms and concatenated sms.

* [cellular-messages] WiP concatenated messages.

* [cellular-messages] Fixed deserialising multiple frames.

* [cellular-message] Demo app + cellular api.

* [cellular-message] Added text input selection

* [cellular-messages] Fixed font size.

* .gitignore update

* [cellular-messages] cleanup and rm source/version.hpp.

* [cellular-messages] PR suggestions.

* [cellular-messages] Fixed merge overwrites, rest of PR suggestions.

* [cellular-messages] Pr suggestions.

* [cellular-messages] PR suggestions again.
2019-12-17 09:51:05 +01:00
Alek-Mudita
af3332fd87 Fix hardfault during calling (#106)
* formatting of ServiceCellular::DataReceivedHandler

* [fix] - check if channel is not nullptr

* Minor enhancments and safety checks

* minor clean up

* sprintf removal

* references
2019-12-06 12:18:27 +01:00
Alek-Mudita
8b167d1809 Fix for calling (#91)
* fix for not switching to active call

* Added missing icons during unaswered outgoing call + some error logging

* Added additional logging to AT commands
defult timeout set to 300 ms.
Set different timeouts per each AT command.
Minor code refactoring.

* Added some logging, fixed some timeouts and number of returned tockens.

* commented out not needed log

* Added LOG_CUSTOM logging support. Remove unnecessary LOG_ERRORS.

* set ATA cmd timeout to 90 sec

* PR fixes
2019-11-29 11:18:57 +01:00
Adam Dobrowolski
93d4e58fd5 [EGD-2167] Fixed issue with no call number when calling 2019-11-19 12:53:29 +01:00
Lukasz Skrzypczak
09e70fd107 [EGD-2167] Alek's PR's corrections 2019-11-19 12:53:29 +01:00
Lukasz Skrzypczak
31e40f4ad2 [EGD-2167] Corrections after Adam's review 2019-11-19 12:53:29 +01:00
Lukasz Skrzypczak
8d2db70e2a [EGD-2167] Merged (consider remove) 2019-11-19 12:53:29 +01:00
RomanKubiak
5e491d4a63 [WiP] [EDG-2167] Working CMUX, call in/out. Code to be cleaned 2019-11-19 12:53:29 +01:00
Alek-Mudita
4f9360b5f1 Egd 2252 no outgoing call number (#68)
* EGD-2252 fixed lack of number during outgoing call

* EGD-2252 one notfication type

* EGD-2252 some call switch data clean up
2019-11-07 19:25:20 +01:00
Mateusz
a8761d8918 Fix: Cellular low-power
Fix: heap use-after-free during thread close
2019-09-20 12:26:47 +02:00
Robert Borzecki
839ad0d301 Disabled logs, disabled blinking on key press while unlocking. 2019-09-20 11:57:07 +02:00
Mateusz
08638faac3 WiP: Update services with powermode handler implementation 2019-09-02 14:09:06 +02:00
Mateusz
e8babd16d5 WiP: Removed unneeded WakeUp/GoSleep handlers
WiP: Added new handler - > SwitchPowerMode
2019-08-29 11:40:31 +02:00
Robert Borzecki
59d6522dcd Merge branch 'master' of github.com:muditacom/PurePhone into EGD-2015_database_model 2019-08-26 12:32:25 +02:00
Kuba
3795bd3012 GSM module initilaisation fixed. 2019-08-23 11:27:09 +02:00
Robert Borzecki
ecc2a86e1c Merge branch 'master' of github.com:muditacom/PurePhone into EGD-2015_database_model 2019-08-20 18:26:47 +02:00
Mateusz
9f320d38f6 WiP: bsp-cellular, gpio update 2019-08-20 08:30:58 +02:00
Mateusz
1a59b7b6cb #MATI SUPER FIX, fixed async msg handling in DataReceivedHandler 2019-08-12 12:18:59 +02:00
Robert Borzecki
a9abf5cad6 Merge branch 'EGD-2011_audio_routing' of github.com:muditacom/PurePhone into application-starting 2019-08-07 08:42:04 +02:00
Mateusz
81c041d35f Updated comments 2019-08-06 10:48:27 +02:00
Mateusz
11240bf9ee WiP: Fine-tuning gsm modem init procedure part3 2019-08-06 10:22:29 +02:00
Mati
210fdf0ec9 WiP: fine-tuning part2 2019-08-05 19:22:22 +02:00
Mati
c7c9ecfab8 Fine-tuning init procedure 2019-08-05 18:57:55 +02:00
Robert Borzecki
039689585d Fixing calling logic. 2019-08-05 18:05:50 +02:00
Mateusz
b879aa580f Added call state notifications 2019-08-05 08:16:01 +02:00
Mati
12a271cdb8 Minor changes in init procedure 2019-07-18 11:33:16 +02:00
Mati
616f92c897 Further improvements of async init procedure 2019-07-18 09:48:48 +02:00
Mati
eeb8671f19 WiP: async init procedure 2019-07-18 09:29:25 +02:00
Mateusz
f71e016339 WiP: init phase refactor 2019-07-16 16:01:46 +02:00
Mateusz
3d5cb71ac7 WiP: refactor part2 2019-07-16 13:58:07 +02:00
Mateusz
d5aa719ebf WiP: tests on RT1051 platform 2019-07-15 21:05:08 +02:00
Mateusz
b0f4de0412 Fixed warnings 2019-07-15 16:15:22 +02:00
Mateusz
5a6f32dae1 Turned on exceptions on Linux build
Bug fix
2019-07-15 15:15:16 +02:00
Mati
dce62343fa Added CallStates enum 2019-07-11 12:55:31 +02:00
Mati
3d90f0344c WiP: added call active/answered notifiction 2019-07-11 12:46:02 +02:00
Mateusz
da0f7db17c Added API to send/receiver AT commands over virtual channels.
Added tokenizer
Added simple calling related CellularService API
Added message handling
2019-07-10 15:21:32 +02:00
Mateusz
3f5306955c Added several URC notification parsing:
- incoming call
- signal strength update
2019-07-09 11:50:26 +02:00
Mateusz
e961484331 WiP: cellular service API 2019-07-09 09:12:35 +02:00
Mati
94bd0f1fc9 WiP: passing GSM notification into OS 2019-07-08 14:25:11 +02:00
Mati
88a9ec1304 WiP: more sophisticated mux channels open/close routine 2019-07-08 13:34:23 +02:00
Mateusz
2eec595327 WiP: Tinkering with DLC close procedure
WiP: MuxDaemon tests on target
2019-07-05 12:25:56 +02:00
Mateusz
c638e4c1b8 Wip: Refactor part 1 2019-07-05 08:01:41 +02:00
Mateusz
882d7da2f2 WiP: Looks like communication with GSM modem was fixed 2019-07-05 07:43:25 +02:00