Commit Graph

34 Commits

Author SHA1 Message Date
Adam Dobrowolski
09adf35eb5 EGD-3026 Database record unified ID field name 2020-03-24 14:17:12 +01:00
Radoslaw Wicik
a8573a404c Apply new style 2020-03-17 10:03:16 +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
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
rkubiak01
5454345227 country code fixes 2020-02-24 07:41:08 -05:00
rkubiak01
7904fadd83 API added core database classes and layer handling for CountryCodes 2020-02-03 07:59:33 -05:00
Adam Dobrowolski
edee2feea4 [EGD-2394] PR review fixups and cleanup 2020-01-31 14:05:42 +01:00
Adam Dobrowolski
e5ae9e8fb2 [EGD-2394] [DB] SMSRecord sanitized
* Zeroed SMS record elements - to not add/read dumb ram values
* Added setter
* Added parent Record - first step for Records to have common parents
2020-01-31 14:05:42 +01:00
Adam Dobrowolski
2568ba1a10 [EGD-2394] [DB] load SMS count & moved timestam check to class
* SMS count needed for showing num of sms
* timestamp copy/paste boilerplate can be removed
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
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
Adam Dobrowolski
967b6056b6 [EGD-2392] SMS app - get thread for selected contact 2020-01-10 14:15:28 +01:00
RomanKubiak
11acf5f8dc DATABASE: phonebook changes 2019-11-28 17:48:06 +01:00
RomanKubiak
61e95c9fc6 DATABASE: clang formatting before phonebook changes 2019-11-28 12:28:25 +01:00
kkleczkowski
b66ae1fa8b Edg 2286 browsing history of conversations (#92)
* WiP on thread view.

* Missing db code.

* Fixes in sericeDB, working on listView in threads window.

* Changes in thread Db message.

* Missing responseTo value bug tracking.

* Fixed threads DB getter.

* Show threads list.

* Added missing code in service-db.

* Small fixes.

* WiP listView swich page.

* Code clean-up.

* Code formatted.

* PR sugestions applied.
2019-11-27 10:09:03 +01:00
Alek
7d0913bde8 EGD-2117 changes according to code review 2019-11-20 11:14:44 +01:00
Alek
de3f7de44e EGD-2117 initial version of calllog application 2019-11-20 11:14:44 +01:00
Robert Borzecki
6e4bf06046 Power off screen handling, contact verification functions. 2019-09-23 12:51:07 +02:00
Robert Borzecki
19ff030274 Added images for main phonebook window. 2019-09-20 11:20:11 +02:00
Robert Borzecki
70e291e5d5 Added acquireing data for phonebook model. 2019-09-12 12:18:44 +02:00
Robert Borzecki
49f2df7ae4 Merge branch 'master' of github.com:muditacom/PurePhone into EGD-2015_database_model 2019-08-26 12:32:35 +02:00
pholat
c7b4ab5c5e Phonebook: Added multiple phone numbers option 2019-08-26 09:25:40 +02:00
Robert Borzecki
c30213e7ac Removed commented code. 2019-08-12 10:15:31 +02:00
Robert Borzecki
317b99fc7d Added db routines for notes. 2019-08-12 10:11:05 +02:00
Kuba
2d8b447dee Multicast message from DBService. Added GetNext method to Alarms DB. 2019-07-18 16:30:29 +02:00
Kuba
63ca689a17 Fixes in AlarmDB messages. 2019-07-18 10:16:17 +02:00
Mati
f0b2e6aedf WiP: db performance tests
Extended SMS record API
2019-06-10 14:56:05 +02:00
Mati
20b6d8bea9 Added Contact record high-level API.
WiP: perform Db access tests
2019-06-10 13:26:14 +02:00
Mati
c18aa279f9 Added SMS & Threads records high-level API 2019-06-10 09:08:55 +02:00
Mati
080400505d Template: SMS DB api 2019-06-07 14:48:57 +02:00
Mati
37150d053c Launched DB on hardware 2019-06-06 14:53:35 +02:00
Mati
b2c3f4d53f Improved error handling 2019-06-06 12:06:30 +02:00
Mati
e37f26a3e9 Added DB service, implemented Settings API 2019-06-06 11:15:48 +02:00