Commit Graph

270 Commits

Author SHA1 Message Date
Mateusz Grzegorzek
9d35def14d [EGD-4477] Dump logs to a file for linux (#1081)
[EGD-4477] Implement dumping logs to a file for linux
2020-11-27 11:26:02 +01:00
Bartosz Cichocki
50f28e8f19 [EGD-4270] updated test API, added sending message case in test harness (#1042)
[EGD-4270] build fix for GCC 10

Co-authored-by: SP2FET <bartosz.cichocki@mudita.com>
2020-11-19 13:02:06 +01:00
Roman Kubiak
899d2139a1 [EGD-4286] remove ServiceDesktop from main.cpp (#958)
small fix in flash_emmc.sh (.ini files are not there anymore)
umount end eject disk are active again
2020-11-04 17:13:19 +01:00
Radosław Wicik
57f6c267ee [EGD-4213] Convert service-appmgr to library - library (#960) 2020-11-04 15:59:45 +01:00
Lucjan Bryndza
617dfe99d1 [EGD-4298] File indexer disabled by default (#962)
Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2020-11-04 15:13:27 +01:00
Piotr Tanski
299be4daf6 [EGD-4151] Application manager actions introduced. (#905)
* [EGD-4151] Application manifest structure defined.
* [EGD-4156] Applications registry and basic action handler implemented.
2020-11-04 10:24:35 +01:00
Bartosz Cichocki
f16d30222c [EGD-4191] added keyReleased handling from service-desktop (#930)
Co-authored-by: SP2FET <bartosz.cichocki@mudita.com>
2020-11-02 20:08:05 +01:00
Lucjan Bryndza
f7350c4d44 [EGD-4181] Indexer service scan files (#914)
* [EGD-4181] Initial file indexer service

* [EGD-4181] Initial version of the indexer service

* [EGD-4181] Small changes needed for file indexer

* [EGD-4181] Pass message from vfs to indexer service

* [EGD-4181] Initial indexer service with timers

* [EGD-4181] File indexer service list files

* [EGD-4181] Use default destructor in header

Don't use iterator

* [EGD-4181] Code review fixes.

* [EGD-4030] File indexer handle base mime types

* [EGD-4181] Code review fixes.

* [EGD-4181] Audio file indexer initial stub

* [EGD-4030] Text files indexer

* [EGD-4081] Missing UTF8 file header

* [EGD-4181] Startup paths as an array.

* [EGD-4181] VFS notifier dir fixes

* [EGD-4181] Service fileindexer as static library

* [EGD-4181] Code review fixes

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2020-10-30 16:19:39 +01:00
kkleczkowski
10e5542676 Egd 4143 Service antenna enabled. (#936)
* [EGD-4143] WiP service-antenna enabled.

* [EGD-4143] Fixed service timer, connetion status from store.

* [EGD-4143] Changelog.

* [EGD-4143] Fixes after rebase.

* [EGD-4143] Service-antenna LOG disabled.

* [EGD-4143] PR suggestions.

* [EGD-4143] Duplicated includes removed.

Co-authored-by: Kuba Kleczkowski <dd>
2020-10-29 15:07:22 +01:00
Piotr Tanski
dd50838789 [EGD-4051] Based application manager app switching on application stack. (#858)
* [EGD-4051] Based application manager app switching on application stack.

* [EGD-4051] Application manager thorough refactor.
2020-10-23 15:45:58 +02:00
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
marek303
f1e68d2204 [EGD-3315] Main functionality: DB queries, timers processing, base classes for future use 2020-10-15 20:58:45 +02:00
KacperLewandowski
ba4640c4af [EGD-3469] ServiceTime - start 2020-10-15 20:58:45 +02:00
KacperLewandowski
ad626ebc93 [EGD-3857] Create calculator application 2020-10-15 14:57:57 +02:00
Adam Dobrowolski
7b4a706cd6 EGD-4036 Application windows - added register mechanism
* Moved ApplicationLauncher to separate files - declutering
* WindowsStore renamed to WindowsFactory - Store needs to be splitted toavoid antipattern
* Options window build dynamically onBeforeShow
* Dialog windows dynamically built
2020-10-13 17:46:10 +02:00
Piotr Tanski
f5aec0444a [EGD-3838] Introduced a meditation progress bar with simple implementation of meditation application. (#783) 2020-10-09 14:14:40 +02:00
mozdzyk
57a57805e9 [EGD-3359] Special characters and emoji window 2020-10-01 16:53:47 +02:00
Marcin Smoczyński
af85469c26 [EGD-3864] main file cleanup (#761)
Remove dead code; cleanup and sort include list. Introduce config file.
2020-10-01 14:47:53 +02:00
RobertPiet
ea13bda5c7 [EGD-3681] settings main screen updated to the design chart https://projects.invisionapp.com/d/main#/console/18241335/385967135/preview
[EGD-3681] review issues solved: new settings window contains link to the old one, _old files removed, issues regarding lambda params, removed translations for de, fr, sp;removed section file/author from the header/body, removed destructor - default one exists in the base class, not used parameter with maybe_unused param, reoved dead code; DeinitHandler removed (was empty) - currently base class calls onClose on all its windows; reinterpret_cast removed
2020-09-23 11:20:33 +02:00
Bartek Cichocki
6d22e00544 [EGD-3637] restoration of Bluetooth stack
[EGD-3637] Bluetooth hangup fix
2020-09-22 09:52:15 +02:00
Marcin Smoczyński
2e80e118a3 [EGD-3770]: remove viewer app
This app is not useful anymore and should be removed.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2020-09-21 14:23:55 +02:00
Bartek Cichocki
4c7f8ff7b5 [EGD-3522] added missing updateTemplate query 2020-09-02 17:26:01 +02:00
Bartek Cichocki
9eeeb6ae92 [EGD-3502] reworked endpoints and handlers
added endpoint listener to query
2020-09-02 17:26:01 +02:00
Marcin Smoczyński
4ab862c726 [EGD-3556] allow disabling applications
RT1051 SDRAM is not big enough to fit full Debug build. To be able to
debug on the RT1051 add options to choose precisely which applications
you want to include in the build allowing to decrease debug firmware
size.

Enable size optimization for applications (configurable) in debug mode
and allow to specify with cmake options which applications can be
optimized with.

Remove -Og debug flags which break debugging.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2020-08-31 13:11:33 +02:00
Bartek Cichocki
06b3a54b1d [EGD-3489] Fixed damaged json and length hardfault, added tests 2020-08-07 14:54:28 +02:00
Bartek Cichocki
b16172a217 fixed payload length issue 2020-08-07 14:54:28 +02:00
alek
bc7f0091ca [EGD-3423] Added simple music player 2020-08-04 16:53:12 +02:00
Roman Kubiak
9137db7c51 removed comments from main.cpp 2020-07-24 12:21:07 +02:00
Roman Kubiak
1925bb2ac6 removed all bluetooth code 2020-07-24 12:21:07 +02:00
kkleczkowski
e46d2a2829 Egd 3244 antenna manager (#490)
* [EGD-3244] Service antenna + utils State.

* [EGD-3244] CellularAPI + at::response.

* [EGD-3244-antenna-manager] Changes in application Antenna.

* [EGD-3244-antenna-manager] Changes in antenna app ( antenna switch multicast ).

* [EGD-3244-antenna-manager] Changed Antenna app GUI.

* [EGD-3244-antenna-manager] Basic algorithm.

* [EGD-3244-antenna-manager] Fixes in algorithm.

* [EGD-3244-antenna-manager] Small fixes + service blocking.

* [EGD-3244-antenna-manager] Little cleanup.

* [EGD-3244-antenna-manager] Restored Cellular call in Application Antenna.

* [EGD-3244-antenna-manager] Style fix.

* [EGD-3244-antenna-manager] Sewrvice antenna disabled.

* [EGD-3244-antenna-manager] PR suggestions + linux buil fixed.

* [EGD-3244-antenna-manager] Updated changelog

* [EGD-3244-antenna-manager] Style fix.

* [EGD-3244-antenna-manager] Fixed submodule.

* [EGD-3244-antenna-manager] PR suggestions + toNumeric UT.

* [EGD-3244-antenna-manager] PR suggstions again.

Co-authored-by: Kuba Kleczkowski <dd>
2020-07-07 10:54:47 +02:00
Radoslaw Wicik
af47be76fd [EGD-3245] Add Fota Service 2020-06-10 14:38:25 +02:00
Radoslaw Wicik
ab650096e4 [EGD-3201] Add automatic releases 2020-06-10 13:38:51 +02:00
Adam Dobrowolski
d3faef1101 EGD-2964 application calendar - removed leak, added to menu 2020-05-04 08:45:20 +02:00
Radoslaw Wicik
49ca4257da [EGD-3151] Add fixes for SIM detection
Add proper passing SERIAL_PORT info
Convert cmux to unique_ptr in module-cellular
2020-04-27 17:24:24 +02:00
Adam Dobrowolski
2cee195e09 EGD-3056 subscribtion based execution (on typeid) added and works fine
Till now there was no clear way to register hanlder for message in
Service, with this approach one can register function/lambda handler
for Message which encurages handling messages in functions rather than
in hudge switch cases.
With aproach like this our Messages resembe something between Command
and State pattern. In state pattern `Message` would be `Event` send,
whereas Service would be `Context`.
2020-04-15 16:50:19 +02:00
Adam Dobrowolski
8342d813a3 EGD-3056 Created EventManager serivce name constant in inline string 2020-04-15 16:50:19 +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
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
Przemyslaw Brudny
98cd819ffb [EGD-2978] PR cleanup changes 2020-03-20 14:28:57 +01:00
Przemyslaw Brudny
e7cb0cb579 [EGD-2978] Formatter cleanups 2020-03-20 14:28:57 +01:00
Przemyslaw Brudny
499d6ce5e1 [EGD-2978] Linux target build macro excluded 2020-03-20 14:28:57 +01:00
Przemyslaw Brudny
864265a2c7 [EGD-2978] System View updates 2020-03-20 14:28:57 +01:00
Przemyslaw Brudny
5e96463979 [EGD-2978] SystemViev moved to utils 2020-03-20 14:28:57 +01:00
Przemyslaw Brudny
2f30344740 [EGD-2978] Performance improvements, RTT logs redirected to SystemView 2020-03-20 14:28:57 +01:00
Przemyslaw Brudny
101bbb1c99 [EGD-2978] Basic SystemView import 2020-03-20 14:28:57 +01:00
Radoslaw Wicik
a8573a404c Apply new style 2020-03-17 10:03:16 +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
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
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