Commit Graph

68 Commits

Author SHA1 Message Date
Adam Dobrowolski
e06aef5bed EGD-2897 Notifications on desktop on SMS and CALL works fine 2020-03-05 12:08:03 +01:00
Adam Dobrowolski
9bc425f85c EGD-2587 PR applied 2, crash fix 2020-03-05 08:41:09 +01:00
Adam Dobrowolski
09adbe8208 [EGD-2587] CSQ URC check added 2020-03-05 08:41:09 +01:00
Alek-Mudita
b853087b3b Egd 2513 callog phonebook integration (#173)
* [EGD-2513] new API to create temparary contact entry if cannot be found
Calllog should search for contact.

* [EGD-2513] #pragma once in all headers file in module-db

* [EGD-2513] new constructor for CalllogRecord

* [EGD-2513] contact recognition for calllog DB API

* [EGD-2513] clean up

* [EGD-2513] displaying name and surname call and calllog

* [EGD-2513] enum instead bool

* [EGD-2513] fix in remporary contact creation

* [fix][EGD-2513] missing c_str

* [fix][EGD-2513] minor fixes in documentation

* [EGD-2513] unified entry read state for both sms and calllog dbs

* [EGD-2513] calllog db documentation

* [EGD-2513] code reviex fixed in ContactRecord
2020-03-02 16:43:29 +01:00
Alek-Mudita
6c8d1f15ff [EGD-2935] added missing NO ANSWER notification (#200) 2020-03-02 14:17:57 +01:00
Kuba Kleczkowski
1f6bcfe6a0 [EGD-2854-service-cellular-fix] Stack size as const. 2020-02-26 11:34:42 +01:00
Kuba Kleczkowski
91c0e0ead4 [EGD-2854-service-cellular-fix] Cellular stack increased. 2020-02-26 11:34:42 +01:00
kkleczkowski
2868c87322 Egd 2854 antenna test app (#184)
* [EGD-2854-antenna-test-app] Antenna app + window.

* [EGD-2854-antenna-test-app] Cellular API, antenna app gui.

* [EGD-2854-antenna-test-app] Pin mux, small gui improvements.

* [EGD-2854-antenna-test-app] Compilation fix.

* [EGD-2854-antenna-test-app] PR suggestions.
2020-02-25 15:42:03 +01:00
mateusz
f314da6eda change names to reflect function, add separate Time/Date 2020-02-20 16:16:38 +01:00
Adam Dobrowolski
4a851263e8 [EGD-2656] All at commands gathered in one place
* at commands in one place, with timeouts set
* commands used with stream->cmd(...) have last execution time and result stored
2020-02-20 08:13:55 +00:00
Adam Dobrowolski
470bd9990b [EGD-2571] PR cleanup & mocups for linux 2020-02-18 07:39:16 +00:00
Adam Dobrowolski
0f01851fb3 [EGD-2571] Development: sim selection GUI 2020-02-18 07:39:16 +00:00
Adam Dobrowolski
c082b015e6 [EGD-2571] SIM tray notifications works - no sim, or sim notifications & GSM reload 2020-02-18 07:39:16 +00:00
Adam Dobrowolski
2a57cfccd5 [EGD-2571] SendCommand commonized between ATparser and DLC_channel
* option to handle response based on OK/ERROR
* better return value - Response code & response values
* common parent for common behaviour (TODO add ->cmd(...) to mux channels)
* better logging
* small fixups
2020-02-18 07:39:16 +00:00
Adam Dobrowolski
ae915f3512 [EGD-2571] Clenup: removed MessageType static_casts, fixed debug.h defines. Added GPIO event 2020-02-12 13:31:13 +00:00
pholat
2b275d7951 [EGD-2571] added GSM command sending & small refactor
* added GSM AT commands on 'Commands' channel
* refactor (for better console/script) handling
* docs update
* GSM request asynch send back on uart to requester
2020-02-11 08:41:26 +00:00
Adam Dobrowolski
573ad63740 [EGD-2394] DB crash - workaround
When I had response of cellular type on broadcast I had crashes on phone
2020-01-31 14:05:42 +01:00
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