summaryrefslogtreecommitdiffstats
path: root/tradeshow/iot-sensortag/sensortagdataprovider.cpp
Commit message (Collapse)AuthorAgeFilesLines
* iot-sensortag: Redesign of exampleMaurice Kalinowski2017-09-271-27/+27
| | | | | | | | | | | 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: Allow reconnect after a failed connection attemptKari Hautamäki2017-02-281-1/+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>
* Mark accessors as constMaurice Kalinowski2017-02-151-25/+26
| | | | | | Change-Id: I32afa9f74e428ee7c19369aad173c72f193f526f 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-0/+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: Visual style updated for most of the chartsKari Hautamäki2017-02-081-1/+32
| | | | | | | | | | - Updated appearance and graphics of ambient and object temperature, air pressure, humidity and light charts. - Removed AirPressure chart - Added Altitude chart - Added altitude information to SensorTagData and derived classes Change-Id: Ief8eb9dd4f87f967b037eed3e9a4dd12c3c6efc9 Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* iot-sensortag: Change TemperatureChartTitta Heikkala2017-02-061-0/+1
| | | | | | | Changed the appearance of TemperatureChart per ui spec. Change-Id: I17960c24d72f34a8bcf3b461ab19b7a57bfb3c6f Reviewed-by: Otto Ryynänen <otto.ryynanen@qt.io>
* RotationPage addedOtto Ryynänen2017-02-031-1/+18
| | | | | | | | | 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-9/+9
| | | | | | 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-1/+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-32/+6
| | | | | | | | | | | | | 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/+251
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>