summaryrefslogtreecommitdiffstats
path: root/tradeshow/iot-sensortag/mockdataprovider.h
Commit message (Collapse)AuthorAgeFilesLines
* iot-sensortag: Redesign of exampleMaurice Kalinowski2017-09-271-3/+5
| | | | | | | | | | | 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>
* Remove superfluous functionMaurice Kalinowski2017-03-031-2/+0
| | | | | | | | Uses base class variable in any case. In addition setTageType is not virtual. Change-Id: Iaa7b5bb65f07966b193f7ce2c142284325cd9bb9 Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* iot-sensortag: Allow reconnect after a failed connection attemptKari Hautamäki2017-02-281-0/+1
| | | | | | | | | | | | | | | | | | 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: Zero level altitude in mock data providerKari Hautamäki2017-02-091-1/+2
| | | | | | | | - Zero level for altitude is set in mock data provider - Fix alignment problem in AltitudeChart Change-Id: I67f1ef9296201a0990cd17d79f33971441e15b32 Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* RotationPage addedOtto Ryynänen2017-02-031-4/+6
| | | | | | | | | Added a page that has three rotating disks. Current pictures are placeholders for final graphics. SensorTag can be recalibrated. Change-Id: I0666ab06e665d8c40861e170f36b09013b722973 Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* Accelometer changed to report values in G instead of mGOtto Ryynänen2017-02-011-3/+3
| | | | | | Change-Id: I4193b6566f7408f3e3e09161987d107941e2a6b2 Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io> Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* iot-sensortag: Add Accelometer chartTitta Heikkala2017-02-011-0/+1
| | | | | | | Added new accelometer chart. Updated the ui-layout and images. Change-Id: Id8474e533f39f5c8178b487fc9bc03d7ea956772 Reviewed-by: Otto Ryynänen <otto.ryynanen@qt.io>
* SensorTag changed to broadcasting mode form read-resp modeOtto Ryynänen2017-01-311-0/+3
| | | | | | | | | | | | | Sensortag now sends data according to set intervals and app only listens to signals. Timers removed as they are no longer needed. Both ambient and object temperature read and converted properly. Cloud data updated with dedicated abient and object temperatures. Version is now 1.1 (backwards compatible). Mock data reflects to reality better. Change-Id: I6a0325a513c1a054322f18e68d2b15c474db3ee5 Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* Added IoT SensorTag demo to tradeshowOtto Ryynänen2017-01-301-0/+84
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>