Commit Graph
88 Commits
Author SHA1 Message Date
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
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 66467ab9d2 [EGD-2571] refactor - commands on GSM - SIM working 2020-02-18 07:39:16 +00:00
Adam Dobrowolski 2ba032edb4 [EGD-2571] [FIX] gsm works each time it restarts
[EGD-2571] squash with previous
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
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
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
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
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 ab8ef46b98 [EGD-2167] Workaround for crash when no modem on Linux
When there is no modem connected to PC, there is crash, which is not
caused by Read and Write, but somewhere deeper.
2019-11-19 12:53:29 +01:00
Lukasz Skrzypczak 22d42288b4 [EGD-2167] Added signal quality read on startup 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 22ad981b01 WiP: Suspend/Resume procedure implementation + testing 2019-09-04 13:43:27 +02:00
Mateusz 08638faac3 WiP: Update services with powermode handler implementation 2019-09-02 14:09:06 +02:00
Mateusz aca0823adb Fix: Turned on CellularService
Fix: Fixed hardfault on Linux platform
2019-08-28 14:03:06 +02:00
Mateusz e809e9069c WiP: Cellular init/deinit procedure tests 2019-08-27 13:38:32 +02:00
Kuba 96e1004941 Code cleanup, added AP_READY pin configuration command. 2019-08-23 12:48:23 +02:00
Kuba 3795bd3012 GSM module initilaisation fixed. 2019-08-23 11:27:09 +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 4cf1951412 Added printinf gsm module's firmware version 2019-08-06 12:14:15 +02:00
Mateusz 0efc4cae66 Added comms 2019-08-06 11:20:20 +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 f56da44e0c Merge branch 'master' of github.com:muditacom/PurePhone into application-starting 2019-08-05 18:18:56 +02:00
Mati e110b77cfb Reverted faulty gsm init proc 2019-08-05 18:16:51 +02:00
Robert Borzecki 040fbac8fd Merge branch 'master' of github.com:muditacom/PurePhone into application-starting 2019-08-05 18:06:12 +02:00
Mateusz bcc2156692 Fixed GSM init procedure 2019-08-05 18:00:18 +02:00
Mateusz f3af3ae12b Preparations to merge
Added TODOs
Fixed minor bugs
2019-08-05 14:50:30 +02:00
Mateusz a4148dca6e WiP: routing audio calls finally works
Added Mute/Unmute/Speakerphonectrl API
2019-08-05 12:23:51 +02:00
Mateusz b879aa580f Added call state notifications 2019-08-05 08:16:01 +02:00
Mateusz fce0de53ef WiP: routing tests 2019-08-05 08:05:40 +02:00
Mateusz 13da92cb71 Wip: added audio bsp
Fixed CMake include paths in bsp module
2019-07-22 11:20:42 +02:00
Mateusz da45d59f01 Merge preparations 2019-07-22 09:35:31 +02:00
Mati 6fc021c0e3 Bug fix 2019-07-19 14:48:22 +02:00
Mati cf5ce761f8 FIxed init phase 2019-07-18 13:20:18 +02:00
Mati 1ce9f8e93c Merge remote-tracking branch 'origin/master' into module-cell 2019-07-18 12:48:35 +02:00
Mati d2e113e316 WiP: Added PowerUp 2019-07-18 11:40:03 +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
Mati 3124cace6a Fixed bugs 2019-07-18 08:12:13 +02:00
Mati fb2c58f0c2 WiP: Added URC support to ATParser 2019-07-17 16:26:59 +02:00