Commit Graph
100 Commits
Author SHA1 Message Date
Alek Rudnik 09cf520c12 Egd 558 adjust volume during a call (#283)
* [EGD-558][fix] change error to info

* [EGD-558] added volume control of currently active audio operation

* [EGD-558] added ringing on incoming call

* [EGD-558] mini clean up in callwindow

* [EGD-558] removed reinterpret_casts and added some logging

* [EGD-558] rewritten methods to increment/decrement volume

* [EGD-558] clean up

* [EGD-558] moved volume control to application class
added nullptr checks

* [EGD-558] fixed types

* [EGD-558] added some audio debug logs

* [EGD-558] left a comment why ringing sound is currently disabled

* [EGD-558] PR fixes

* [EGD-558] PR fix

* [EGD-558] added propper error codes on pointer checking in Audio.cpp
2020-04-10 11:00:17 +02:00
Marcin Smoczyński f2eb9bb37a [EGD-2594] apps/call: add libphonenumber support
Augment handling phone numbers with libphonenumber:
 - add "as you type" formatting to phone numbers,
 - normalize phone number handling by using libphonenumber's phone
 number representation.

Clean up the code by moving application logic back to the application
and window data back to the window and reordering includes.

Application's stack size has been increased due to formatter stack
utilization level.
2020-04-08 18:23:45 +02:00
Adam Dobrowolski 106220d75b [FIX] '%s' check build-linux fail fixed 2020-04-08 14:00:45 +02:00
Adam Dobrowolski 4a61f400e7 EGD-3055 Fixed printf issues 2020-04-08 12:23:53 +02:00
Przemyslaw Brudny c0822b6658 [EDG-3019] Moved log.hpp and debug.hpp into main PurePhone repo 2020-03-24 15:55:32 +01:00
Przemyslaw Brudny 8f92715951 [EDG-3019] Segger utils moved to git submodule 2020-03-23 18:37:37 +01:00
Radoslaw Wicik 8dea0d7675 [EGD-2981] Add UT target: check
Clean CMake tests targets
2020-03-20 16:46:11 +01:00
Radoslaw Wicik a8573a404c Apply new style 2020-03-17 10:03:16 +01:00
d1665ed3ba [EGD-2855][EGD-2856] Parser for desktop app (#188)
* [EGD-2306] DESKTOP application initial commit

most of this code is foreign and unverified
it's low level magic numbers for the platform

on Linux i used PTY to simulate a serial line

* [EGD-2306] Add contact-list and contact-count commands

* [EGD-2306] Add command for geting contact by id and minor fixes

* [EGD-2856][WIP] Add basic serial parser

* [EGD-2855] Set usb device config buffer property cacheable

* [EGD-2856] Separate handlers from fsms, add status codes

* [EGD-2855] fd passed to state machine for linux renderer support

* [EGD-2856] Fix warnings

* [EGD-2855] New send task added and buffer queque

* [EGD-2856] Add simple ServiceDesktop documentation

* [EGD-2855] rt1051 worker refactor

* [EGD-2855] Added service workers for desktop app.
Changed linux USB driver mock up.
Added queue name mapping for service workers.
Added queue registry support (maybe redundant with mapping)

* [EGD-2855] Added proper message pointer to queue send and memory free
Added bsp driver namespace for linux and rt1051

* [EGD-2856] Major cleanup

* [EGD-2856] Fix typo

* [EGD-2856] Fix warnings

* [EGD-2856] Delete recursive fsm calling to prevent stack overflow

* [EGD-2856] Reduce http codes

* [EGD-2856] Rename serial parser to parser

* [EGD-2855] USB_CDC drives renames and cleanups
Service Worker queue cleanups

* [EGD-2855] Service Worker queue cleanups

* [EGD2855] Fixed external driver import

* [EGD-2856] Remove redundant message type

* [EGD-2856] Switch on enums instead of ints, and other minor changes requested after code review

* [EGD-2855] usb driver moved to bsp directory structure, pull request fixes

* [EGD-2855] clang #include fix

* [EGD-2856] Add tinyfsm as git submodule, update readme and minor fix

Co-authored-by: rkubiak01 <56821808+rkubiak01@users.noreply.github.com>
Co-authored-by: PrzeBrudny <60609703+PrzeBrudny@users.noreply.github.com>
2020-02-27 15:34:42 +01:00
Przemyslaw Brudny 5955c358e6 Service Worker queue cleanups 2020-02-24 12:28:02 +01:00
Przemyslaw Brudny c54e56f6ba service worker queue name map and global queue registry added 2020-02-24 12:28:02 +01:00
Radoslaw Wicik 0400e5c18b [EGD-2886] Unify and repair build system. 2020-02-19 14:55:14 +01: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
Mateusz Grzywacz 8d0b50735f [feature] add separate folders in CMake conf & change type of a variable. rebuild.sh updated & docs on separate build folders 2020-02-03 14:12:47 +01:00
Adam Dobrowolski 5407355177 [EGD-2508] Pre PR cleanup 2020-01-22 08:26:20 +01:00
Adam Dobrowolski 956068e1a3 [EGD-2508] test_harness sending keypresses ok, system start detection ok 2020-01-22 08:26:20 +01:00
Adam Dobrowolski 906b0951ec [EGD-2508] [WIP] test_harness: sending keypress works ok 2020-01-22 08:26:20 +01:00
Mateusz Grzywacz aeaf39191b [EGD-2368] moved all AppTimer objects definitions to init list, to get rid of default AppTimer() ctor 2020-01-02 14:53:34 +01:00
Mateusz Grzywacz e2cafcee70 [EGD-2368] changes requested in a PR 2020-01-02 14:53:34 +01:00
Mateusz Grzywacz 33ac431af4 [EGD-2368] Approach 2: timer object for use in Application. 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
Adam Dobrowolski 8f4b33c1b5 [EGD-2327] Disabled PM and lock screen 2019-11-19 13:57:26 +01:00
Adam Dobrowolski 306cab225b Sys: Added assert() for invalid message parameters 2019-10-25 14:53:36 +02:00
Mateusz 7c7b20a939 Doc update 2019-10-25 13:56:41 +02:00
Mateusz 76c90f5676 Update: Power management doc 2019-10-25 11:46:46 +02:00
Mateusz d7082e601f Fixed minor issues 2019-10-24 08:47:41 +02:00
Mateusz 96796b111b Added Power Management section 2019-10-24 08:39:36 +02:00
Mateusz b2b8a01733 Minor fixes + improved formatting 2019-10-22 16:11:31 +02:00
Mateusz e4d07c5d4e Updated README 2019-10-22 14:43:25 +02:00
Adam Dobrowolski 8c2622b2c2 Bluetooth compiles and starts on Purephone and Linux fine 2019-10-14 15:32:06 +02:00
Mateusz 0b470de378 Bugfix: gpio interrupts(power switch hold button) 2019-10-04 11:29:25 +02:00
Mateusz 6c7c622d42 WiP: Added actual poweroff procedure into system manager 2019-10-03 12:26:00 +02:00
Mateusz 7459153d2c Fix: Data msgs queue order during blocking SendUnicast 2019-09-20 09:33:29 +02:00
Mateusz a8068e4157 WiP: Removed merge conflicts, 2019-09-17 16:57:44 +02:00
Mateusz b4f9bc6512 Merge remote-tracking branch 'origin/EGD-2078-power-manager-app-manager' into pwrmgr_impl 2019-09-17 08:48:26 +02:00
Mateusz 6c4c8b7628 WiP: Suspend/Resume tests 2019-09-17 08:45:41 +02:00
Mateusz 2785d46fde WiP: Pwrmgr implementation 2019-09-16 14:09:54 +02:00
Mateusz 2fb4dd1ace Fix: SDRAM frequency scaling 2019-09-12 11:48:27 +02:00
Mateusz b6781c47db temp cmmit 2019-09-12 10:47:02 +02:00
Mateusz 289236d863 WiP: Handling resume/suspend requests in incorrect state 2019-09-09 08:31:06 +02:00
Mateusz a0db243599 Fix: Added missing return values 2019-09-09 07:57:54 +02:00
Mateusz 22ad981b01 WiP: Suspend/Resume procedure implementation + testing 2019-09-04 13:43:27 +02:00
Mateusz 883b8f2550 WiP: Extended sysmgr api
WiP: did some tests
2019-09-02 13:18:06 +02:00
Mateusz 8b4cf5e35a WiP: Added Suspend/Resume API 2019-08-30 10:37:51 +02:00
Mateusz e8babd16d5 WiP: Removed unneeded WakeUp/GoSleep handlers
WiP: Added new handler - > SwitchPowerMode
2019-08-29 11:40:31 +02:00
Mateusz 79c645d8e0 Fix: CloseSystem procedure + parent/child hierarchy 2019-08-28 13:37:35 +02:00
Mateusz d299f0916e Auto stash before merge of "EGD-2080_evtmgrdeinit" and "origin/EGD-2079_pwrmgr_services"
Fix: Service's params order
2019-08-28 10:51:48 +02:00
Mateusz 9cb988148d Revert "Merge branch 'EGD-2080_evtmgrdeinit' into origin/EGD-2079_pwrmgr_services"
This reverts commit ab0f8febed.
2019-08-28 10:02:33 +02:00
Mateusz 2f0f8fd52c Fix: SystemClose procedure 2019-08-28 08:56:41 +02:00