summaryrefslogtreecommitdiffstats
path: root/tradeshow/iot-sensortag/demodataproviderpool.cpp
Commit message (Collapse)AuthorAgeFilesLines
* iot-sensortag: Redesign of exampleMaurice Kalinowski2017-09-271-84/+38
| | | | | | | | | | | 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: Assign sensor types arbitrarily to available sensor tagsKari Hautamäki2017-02-281-23/+18
| | | | | | | | In the demo setup, assign all sensor types to the set of available sensor types. Change-Id: If07674ccc40f7668e96e41df62d3b2745e6c9cb4 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* iot-sensortag: Allow reconnect after a failed connection attemptKari Hautamäki2017-02-281-21/+46
| | | | | | | | | | | | | | | | | | 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>
* Mark accessors as constMaurice Kalinowski2017-02-151-20/+20
| | | | | | Change-Id: I32afa9f74e428ee7c19369aad173c72f193f526f Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* Remove dead codeMaurice Kalinowski2017-02-151-1/+0
| | | | | | Change-Id: If1af7fd6b88bccaccfe0a990e46e5ada96574736 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* cleanup enabling range-forMaurice Kalinowski2017-02-151-21/+21
| | | | | | | | | foreach is considered harmful since 5.7 and will be deprecated with 5.9. Add QT_NO_FOREACH to forbid accidental addition later on. Change-Id: I652975c3454fdb7987cf8ea609d490476e9e7624 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* Fix mock backendMaurice Kalinowski2017-02-151-1/+3
| | | | | | | | | Signals were not emitted and wrong function call to mimick end of scanning. Change-Id: Ic418b3d636615e464b8e406f0e31f37a70354870 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* iot-sensortag: Add sensor tag setup for Embedded WorldKari Hautamäki2017-02-151-10/+236
| | | | | | | | - 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 possibility to scan sensorsTitta Heikkala2017-02-141-0/+3
| | | | | | | Added possibility to start scanning of sensors to SensorSettings. Change-Id: I1ebb5da22a4e98d6c2220bb6d51f17641c7821ec Reviewed-by: Otto Ryynänen <otto.ryynanen@qt.io>
* emit providerForCloudChanged after being setMaurice Kalinowski2017-02-071-0/+1
| | | | | | Change-Id: I9f23ff2cce3e8f269d5ca14f647affcc03df3f68 Reviewed-by: Otto Ryynänen <otto.ryynanen@qt.io> Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Add Accelometer chartTitta Heikkala2017-02-011-1/+1
| | | | | | | Added new accelometer chart. Updated the ui-layout and images. Change-Id: Id8474e533f39f5c8178b487fc9bc03d7ea956772 Reviewed-by: Otto Ryynänen <otto.ryynanen@qt.io>
* Added IoT SensorTag demo to tradeshowOtto Ryynänen2017-01-301-0/+104
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>