summaryrefslogtreecommitdiffstats
path: root/tradeshow/iot-sensortag/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* iot-sensortag: Allow reconnect after a failed connection attemptKari Hautamäki2017-02-281-3/+3
| | | | | | | | | | | | | | | | | | A disconnected sensor tag can be tried to be reconnected by clicking on the chart area or starting rescan from the Sensor settings menu. During a (re)connection process a progress indicator is shown to the user. The user has a possibility to disconnect (and reconnect) a currently connect SensorDataProvider A new state, 'NotFound' is added in SensorTagDataProvider to distinguish between states when a Sensor Tag has not been discovered at all, and when it has already been discovered but is has been disconnected. Change-Id: I54eea72d8c92a67a5ccbb3bc192ac8f33ada1c39 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* iot-sensortag: Add MockDataProviderPoolKari Hautamäki2017-02-211-5/+3
| | | | | | | | | | | Add MockDataProviderPool that derives directly from SensorTagDataProviderPool. This allows building for Android without a dependency to SensorTagDataProviderPool that can be used only when a device runs in host mode Change-Id: I3ff6fe36b80a4ee5dfe9815c811cc6bf016e3e6d Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* Change to more details cloud namingMaurice Kalinowski2017-02-201-2/+2
| | | | | | | | | In case additional protocols get added, cloud can be a confusing and to generic name. Change-Id: I3ff4ac0178e017c42684514a1923e718bb1fe5b7 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* Move series updates to C++Maurice Kalinowski2017-02-161-0/+6
| | | | | | | | | | | Instead of jumping to and from the QML engine for each sensor update, rather stay inside C++ and let QML only do the visual updates. This only updates the items which use Charts, as updates to a series is expensive. Change-Id: Idc7a98d2865e7095264f226c0ac5bbb5a977d18a Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* iot-sensortag: Add sensor tag setup for Embedded WorldKari Hautamäki2017-02-151-2/+5
| | | | | | | | - Added two sensor tags with unique capabilities by faking that each provide only a subset of available sensor data Change-Id: I9b7ad9f7b41ea7c5abaad0bc3fbe063219b19a9e Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* iot-sensortag: Add option to enable deploying resources to the file systemKari Hautamäki2017-02-091-5/+17
| | | | | | | | | | | Add a config flag to the project file that controls how resources are deployed with the binary. By default they are included in the binary but it is also possible to deploy them to the file system. This option is needed as Qt5.7.1 and and Qt5.8 fail to load QML files from resource files on some platforms (e.g. RPi3). Change-Id: I7e1e938ac829d01ac6117e04bbaef053daf15154 Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* Added IoT SensorTag demo to tradeshowOtto Ryynänen2017-01-301-0/+204
iot-sensortag folder added. This is project originally from consultacy repo, moved to here. It's a cross-platform app that shown multiple data values from TI CC2650 SensorTag. Change-Id: I648464ed9a8253e5069bc6fd59e8b92128b60adc Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>