summaryrefslogtreecommitdiffstats
path: root/tradeshow/iot-sensortag/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* iot-sensortag: Adapt demo to the screen size of a smartwatchAndrew O'Doherty2017-11-151-1/+5
| | | | | | | | | mainSmall.qml requires a SwipeView since the smartwatch screen is too small too display all the charts. The charts have been scaled to smaller size and some alignment adjustments have been made Change-Id: I229b6150135c8a1a65bc8114f430904a15397b1e Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* iot-sensortag: Add logging windowMaurice Kalinowski2017-10-041-0/+17
| | | | | | | | | This is most useful in the embedded use-case. Usually there is no debug connection and initialization of a bluetooth connection can take very long. Change-Id: If5b6e8a6e684d2340d6a52b8b21bec25630d6874 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* iot-sensortag: Show fullscreen on AndroidMaurice Kalinowski2017-09-271-9/+9
| | | | | Change-Id: I14a2e55adea3072c23cd25b27d5f65c08a176857 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* iot-sensortag: Add support for MQTTMaurice Kalinowski2017-09-271-8/+21
| | | | | | | | Using MQTT a sensor can send its data to a broker as well as display data from a remote MQTT broker. Change-Id: I01f961e89b2c6d028498ce61e4087a47742b8b82 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* iot-sensortag: Redesign of exampleMaurice Kalinowski2017-09-271-72/+19
| | | | | | | | | | | The updated version switches the focus from having multiple sensors locally towards showing one sensor from a list. This list can display local or remote sensors and switch on runtime. Also incorporated many style fixes and cleanups. Change-Id: If7b8acbb2a784ebba95d467176e76728721c82f7 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* iot-sensortag: Add IP displayMaurice Kalinowski2017-03-081-0/+9
| | | | | | | | | | | When the app automatically runs on startup, we need to have a way to identify the device's IP address to deploy updates, for instance new MAC filter addresses. When clicking on the date string, it switches to show the IP addresses available. Change-Id: Ie3b10f2b701674ee07f1a8c7a3b064e67d8f6373 Reviewed-by: Risto Avila <risto.avila@qt.io>
* 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>