Commit Graph

375 Commits

Author SHA1 Message Date
Marcin Smoczyński
f7c8af86c8 renderer: disable address sanitizer
Disable address sanitizier due to a bug in sigc library which results in
false positive report in the PurePhone process.
2020-04-08 18:07:57 +02:00
Adam Dobrowolski
4b938794f6 EGD-3055 Service cellular ask for time after logging to netwrok 2020-04-08 12:23:53 +02:00
Adam Dobrowolski
4a61f400e7 EGD-3055 Fixed printf issues 2020-04-08 12:23:53 +02:00
Alek-Mudita
36be49c15b Egd 3046 unexpected reset (#274)
* [EGD-3046] fix HF handler
added boot reason printing and clearing

* [EGD-3046] added prining of  GPR_5 on checking boot reason

* [EGD-3046] added halt if debugging

* [EGD-3046] halt if debugging only in exit

* [EGD-3046] rename

* [EGD-3046] added DEBUG check

* [EGD-3046] fixed formatting

* [EGD-3046] fixed includes
2020-04-01 16:34:56 +02:00
Mateusz Grzywacz
035e29c407 [EGD-3047] T4 gsm status pin mux pull-up value 2020-03-31 13:07:49 +02:00
Mateusz Grzywacz
85702d9647 review fixes 2020-03-26 22:08:26 +01:00
Mateusz Grzywacz
13f8faef5b [EGD-3032] charger fixes - remove temp battery level polling 2020-03-26 22:08:26 +01:00
Adam Dobrowolski
e75fa39df2 EGD-3034 PR applied 2020-03-26 15:25:01 +01:00
Adam Dobrowolski
e39045aa52 cellular_state Better naming, removed unused enum 2020-03-26 15:25:01 +01:00
Adam Dobrowolski
8526c051ce cellular_state ServiceCellular states moved to states 2020-03-26 15:25:01 +01:00
Alek-Mudita
1446a4bff8 Egd 2539 duration class (#258)
* [GED-2539] Timestamp : changed buffer to heap one

[EGD-2539] implemented 1st version of Duration class

[EGD-2539] added autoformating of the output

[EGD-2539] clean up

[EGD-2539] used duration in call and calllog
added Duration operators

[EGD-2539] add better duartions to calllog.db

[EGD-2539] format file

* [EGD-2539] fixes after rebase

* [EGD-2539] displayed format follows design guidline

* [EGD-2539] added UT for duration class and necessary FW fixes

* [EGD-2539] fixed tim_conversion UT

* [EGD-2539] PR fixes

* [EGD-2539] added move constructor to UTF8 class

* [EGD-2539] added checking for nullptr in fillContactData

* [EGD-2539] PR fixes
2020-03-25 17:14:00 +01:00
pholat
91e05fcf65 fix gtk & FileAttributes 2020-03-25 15:28:52 +01:00
Przemyslaw Brudny
c0822b6658 [EDG-3019] Moved log.hpp and debug.hpp into main PurePhone repo 2020-03-24 15:55:32 +01:00
Mateusz Grzywacz
6c9ebb83c3 [EGD-2961] vibrator CMake target fix 2020-03-24 15:16:24 +01:00
Adam Dobrowolski
09adf35eb5 EGD-3026 Database record unified ID field name 2020-03-24 14:17:12 +01:00
Adam Dobrowolski
abe6813ce6 EGD-3026 Wall Werror and Wextra added to project 2020-03-24 14:17:12 +01:00
Przemyslaw Brudny
8f92715951 [EDG-3019] Segger utils moved to git submodule 2020-03-23 18:37:37 +01:00
Mateusz Grzywacz
5f261dc20d [EGD-3012] T4 - gsm Status IRQ 2/2 + SIM refactor (common queue) 2020-03-23 16:47:54 +01:00
Mateusz Grzywacz
faa6d72dea [EGD-2961] T4 - vibrator conf (pinmux) + off @ init 2020-03-23 16:47:54 +01:00
Radoslaw Wicik
8dea0d7675 [EGD-2981] Add UT target: check
Clean CMake tests targets
2020-03-20 16:46:11 +01:00
Adam Dobrowolski
e4de2a2410 SIM hot swap fixes and system abort on not enabled hot swap feature
* SIM hot swap should now properly show |x| in sim place when there is
  no SIM inserted in selected sim slot
* ServiceCellular now can inform on Fatal state desktop which will
  trigger window `Reboot` with no point of exit
* All windows in Desktop now have name in one place
* Access to cmux channels via enum class instead of String (which is errorprone)
2020-03-19 14:53:03 +01:00
Mateusz Grzywacz
58c11d6ded [EGD-2999] Antenna Select fix 2020-03-19 14:16:44 +01:00
rkubiak01
2444a9545f Added signal strength (normalized to bars) to DeviceInfo 2020-03-18 14:07:53 +01:00
Radoslaw Wicik
a8573a404c Apply new style 2020-03-17 10:03:16 +01:00
Alek-Mudita
dc3d655abe Egd 2566 signal strength indicator (#214)
* [EGD-2566] refactored cellular notification recogniton

* [EGD-2566] add new conversion to dBm

* [EGD-2566] added dBm to bar calculations
some minor fixes connected to signal strength
put static data in event store

* [EGD-2566] removed magic number

* [EGD-2566] PR fixes

* [EGD-2566] PR fixes

* [EGD-2566] missing rebase fix

* [EGD-2566] moved Signal Strength to separate file.

* [EGD-2566] missing return

* [EGD-2566] update signalstrength without message sending

* [EGD-2566]  reverted USE_DAEFAULT_BAUDRATE to 1

* [EGD-2566][fix] missing change for closing  end call window

* [EGD-2566] fix for proper checking for CSQ. Verbose setting of singla strength in Store

* [EGD-2566] fixed inlude in ScopeDTime.

* [EGD-2566]  added mutex in GSM store

* [EGD-2566] missing change

* [EGD-2566] reverted USE_DAEFAULT_BAUDRATE

* [EGD-2566] PR fixy
2020-03-13 16:42:42 +01:00
rkubiak01
2ac0fb756d desktop app changes #211 fix bundle #1 2020-03-13 11:34:32 +01:00
rkubiak01
39c93f6b09 Desktop app changes:
- endpoints split to files
- implemneted device info
- battery made obsolete should be deleted
- storage endpoint might not be neededm, for
  debug purposes only
- update not implemented
- sys::Service * is passed to endpoints
- added uuid as part of the core protocol
- body of the message is made available to endpoints
2020-03-13 11:34:32 +01:00
Adam Dobrowolski
49e2c98126 EGD-2848 Made wait on polling fail in cellular initialization, added AT+CRC to sim init 2020-03-12 15:24:39 +01:00
Adam Dobrowolski
7858fcc2f1 EGD-2848 Phone selects default SIM based on settings. If none - after unlock select sim (in settings) 2020-03-12 15:24:39 +01:00
Adam Dobrowolski
c2c30b696d EGD-2848 It works 2020-03-12 15:24:39 +01:00
Adam Dobrowolski
e97a54f7ec EGD-2848 Initialize SIM after unlock 2020-03-12 15:24:39 +01:00
Adam Dobrowolski
e1968f8b02 EGD-2848 Cellular state logging & SIM Tray show notification icon
* Made Cellular State settable only via setter (which loggs this change)
    for debug purposes
* Sim tray shows proper sim state (default on for all screens)
* removed few lines of dead code
2020-03-12 15:24:39 +01:00
Alek-Mudita
e3296bb4e8 Egd 2946 add proper rejected call handling (#220)
* [EGD-2046] fixed rejected call status.
Hangup call as asnychronous call
Code clean up.

* [EGD-2964] code refactored

* [EGD-2946] missing rejexted call type name

* [EGD-2946] call app - time duration use RTC
fix #ifdef in AudioServiceApi
Minor gui fixec in call window
2020-03-12 10:46:22 +01:00
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
Adam Dobrowolski
1376e10c2c [EGD-2892] Review applied 2020-02-27 17:10:03 +01:00
Adam Dobrowolski
dc9b2b67db [EGD-2892] Added getCount for unreached calls & unread SMS and used it in Desktop 2020-02-27 17:10:03 +01:00
pawel-mudita
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
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
rkubiak01
5454345227 country code fixes 2020-02-24 07:41:08 -05:00
Przemyslaw Brudny
5955c358e6 Service Worker queue cleanups 2020-02-24 12:28:02 +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
Radoslaw Wicik
0400e5c18b [EGD-2886] Unify and repair build system. 2020-02-19 14:55:14 +01:00
Adam Dobrowolski
470bd9990b [EGD-2571] PR cleanup & mocups for linux 2020-02-18 07:39:16 +00:00