summaryrefslogtreecommitdiffstats
path: root/tradeshow/iot-sensortag/resources
Commit message (Collapse)AuthorAgeFilesLines
* SensorTag: Fix qml warningMaurice Kalinowski2018-11-051-3/+3
| | | | | | | Prefer Layout properties instead of anchors. Change-Id: Ic5d958c1e9cb1060b81eb85003db1d198ee6fd4a Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* SensorTag: Update QML filesMaurice Kalinowski2018-10-312-2/+1
| | | | | Change-Id: Ibde6e12d29d422fa27f7fc98c2c54eb170c28638 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* iot-sensortag: Add an About tabMaurice Kalinowski2017-12-182-0/+48
| | | | | | | | | | For the watch UI it is helpful to provide an About to visualize it is a Qt application. Change-Id: I83779c038dcaac12ca873b53f4d82d0e801233f2 Reviewed-by: Andrew O'Doherty <andrew.odoherty@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* iot-sensortag: Create a quit button SmartWatch demoAndrew O'Doherty2017-11-232-0/+14
| | | | | | | SmartWatch demo requires a button to exit the application Change-Id: I64f366d70960e868bcf9f4c644f81a145edd44b6 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* iot-sensortag: Adapt demo to the screen size of a smartwatchAndrew O'Doherty2017-11-157-4/+322
| | | | | | | | | 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: Use double-click to select connectionMaurice Kalinowski2017-10-041-23/+29
| | | | | Change-Id: I46c3860799018e51f74df8d24dd54eccab02db7a Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* iot-sensortag: Add logging windowMaurice Kalinowski2017-10-042-0/+25
| | | | | | | | | 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: Disable dateview in portrait modeMaurice Kalinowski2017-09-271-0/+1
| | | | | Change-Id: Ic57220e63398f2e7a8745aaa4bcbd341a2b02010 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* iot-sensortag: Align font sizesMaurice Kalinowski2017-09-277-0/+13
| | | | | | | | | 26 is used on some, but not all locations. That had the side effect, that text had different sizes on different platforms causing layouting issues. Change-Id: I057010fdf2aa562c188bd2376829d065a5eeff93 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* iot-sensortag: Redesign of exampleMaurice Kalinowski2017-09-2735-675/+163
| | | | | | | | | | | 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-082-1/+7
| | | | | | | | | | | 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: Fix Sensor Settings font sizeTitta Heikkala2017-03-031-0/+2
| | | | | | | | The size of the font for provided data in Sensor Settings fixed so that it's readable also with Nexus 7. Change-Id: I0dd0935be36442e39c83c83c8879ba932aa6a1cb Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* iot-sensortag: Allow reconnect after a failed connection attemptKari Hautamäki2017-02-286-94/+367
| | | | | | | | | | | | | | | | | | 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: NumberAnimation in LightChartKari Hautamäki2017-02-281-7/+1
| | | | | | | In LightChart, replace NumberAnimation with OpacityAnimator Change-Id: I52c15a5fee3cc7d4fedde51b7011ba7c3a269a32 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* iot-sensortag: Update Gyro imagesTitta Heikkala2017-02-285-0/+0
| | | | | | | Images for RotationPage gyro updated. Change-Id: I4678bd51d0334e4d57980309fe0d9e3e67e718ad Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* iot-sensortag: RotationAnimator in RotationPageKari Hautamäki2017-02-271-7/+7
| | | | | | | In RotationPage, replace RotationAnimation with RotationAnimator Change-Id: I7344a836319213a3a62f766ec4731af3c800fb5b Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* iot-sensortag: Remove transparent image from object temperatureTitta Heikkala2017-02-241-36/+5
| | | | | | | The transparent image is not needed for object temperature cauge. Change-Id: I8880f0ef3c84a382a7bfc9cdaf867e901fbf6219 Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Remove Glow effectTitta Heikkala2017-02-243-25/+7
| | | | | | | Glow effect removed from ChartView elements. Change-Id: I4a020c783c715c45c8d10663c8f2828d7f10bdd5 Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Remove unused SensorTag.qmlKari Hautamäki2017-02-241-252/+0
| | | | | | | Remove the unused file Change-Id: I1822fb06885cbe26a2506860ad27dbfffb18c3b7 Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* iot-sensortag: Update Humidity imageTitta Heikkala2017-02-231-0/+0
| | | | | | | Image for Humidity Chart updated. Change-Id: I3343354bdc7c5f5d76e6869b874dd33f58846c54 Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Clean up onSensorChanged signal handlersTitta Heikkala2017-02-226-77/+34
| | | | | | | | Removed onSensorChanged signal handlers from charts as they are not needed. Instead, react to changes of sensor properties. Change-Id: Ib848d3ddfeed550538d35793b24eeb137a57a171 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* iot-sensortag: Remove unnecessary importTitta Heikkala2017-02-171-1/+0
| | | | | | | Remove Particles import as it's no longer needed. Change-Id: If55f643b31f43db6df9be166d24bad72a4304c2b Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* iot-sensortag: Change Magnetometer chart typeTitta Heikkala2017-02-172-42/+22
| | | | | | | | Magnetometer chart changed from polar chart view to chart view. Also changed the series to LineSeries. Change-Id: Ibdf2dc1c86e63fd20caa8d3c1a09377ea6de8f4b Reviewed-by: Otto Ryynänen <otto.ryynanen@qt.io>
* Move series updates to C++Maurice Kalinowski2017-02-164-55/+18
| | | | | | | | | | | 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: Update the timeTitta Heikkala2017-02-161-0/+7
| | | | | | | Add a timer to update the time. Change-Id: I1ec817c15f4609c6c362481d2c5276b2dc167cca Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* iot-sensortag: Fix UI based on findings on Android deviceTitta Heikkala2017-02-164-19/+15
| | | | | | | | Minor changes done to UI based on findings on Nexus 7. Change-Id: I3e7496578a03ab059e0ba0b99f7f97ac2c91a8e5 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Add possibility to scan sensorsTitta Heikkala2017-02-141-0/+5
| | | | | | | Added possibility to start scanning of sensors to SensorSettings. Change-Id: I1ebb5da22a4e98d6c2220bb6d51f17641c7821ec Reviewed-by: Otto Ryynänen <otto.ryynanen@qt.io>
* iot-sensortag: Use OpenGL with all chartsTitta Heikkala2017-02-142-0/+6
| | | | | | | Gyro and MAgnetometer charts are updated to use OpenGL for series. Change-Id: Ib4f7e3c7e4bdf5015484f3849cc99ad9c1490f5f Reviewed-by: Otto Ryynänen <otto.ryynanen@qt.io>
* iot-sensortag: Fix RotationPage 'no rotation' bugKari Hautamäki2017-02-102-13/+13
| | | | | | | | | - Conditional binding to sensor values only when sensor is available - Set and recalibrate sensor for RotationPage when the sensor becomes available Change-Id: I3729faa482abdd17bf0d0a850a3eef528cd5a6b6 Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* iot-sensortag: Hide menus by clicking outsideKari Hautamäki2017-02-101-5/+34
| | | | | | | | Add a fullscreen MouseArea that is used to close a menu when clicked outside of the menu Change-Id: I1479519f6f14be56c12445b92b0c05d519dc7f01 Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* iot-sensortag: Make central gyro visible always and calibratableTitta Heikkala2017-02-092-19/+11
| | | | | | | | Central gyro page is visible always. It is also possible to recalibrate the gyro sensor by clicking the GyroChart. Change-Id: I9805411e03d49571b9e392bcd77a9469aef153a0 Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Update graphics for LightChart and RotationPageTitta Heikkala2017-02-0912-93/+13
| | | | | | | | Light gauge image updated. Gyro ring images updated for RotationPage. Particles removed for now. Change-Id: I3db8fc37685ba5d70c13685daa7b0ee61263046c Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Zero level altitude in mock data providerKari Hautamäki2017-02-091-9/+11
| | | | | | | | - 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>
* iot-sensortag: Add all states to sensor settingsTitta Heikkala2017-02-081-2/+6
| | | | | | | Added 'Scanning' and 'Error' states to sensor settings. Change-Id: Ib207170c00994873bbfcbf86cb6aaa541bf93101 Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Fix alignment of graph in TemperatureChartKari Hautamäki2017-02-081-2/+1
| | | | | | | | - Chart data is correctly aligned vertically - remove unused (and bound in wrong way) avgValue Change-Id: I6adf7cfdbc3b13e54b982f6c50e2ae426ffadea6 Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* iot-sensortag: Visual style updated for most of the chartsKari Hautamäki2017-02-0826-205/+189
| | | | | | | | | | - 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: Added initial version of CloudSettings dialogTitta Heikkala2017-02-084-5/+132
| | | | | | | A new dialog added for cloud settings. Change-Id: I4064a9b1658237911e373aa32567d34f6bb2583d Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Update Gyro, Magnetometer and Ambient Temperature chartsTitta Heikkala2017-02-064-87/+90
| | | | | | | | Updated appearance and graphics of gyro, magnetometer and ambient temperature charts. Change-Id: I72c6c7b3d10692b838828a63551876dbe6918152 Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* iot-sensortag: Change TemperatureChartTitta Heikkala2017-02-064-106/+54
| | | | | | | 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-037-1/+190
| | | | | | | | | 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>
* iot-sensortag: Add dialog for sensor settingsTitta Heikkala2017-02-033-24/+142
| | | | | | | Added new dialog for sensor settings. Change-Id: I1cb32984541dc20bb12e81fa645db4b24378554f Reviewed-by: Otto Ryynänen <otto.ryynanen@qt.io>
* iot-sensortag: Add glow to gyro and magnetometer chartsTitta Heikkala2017-02-022-12/+25
| | | | | | | Glow effect added to gyro and magnetometer charts. Change-Id: Id219a687c9432c16326d578ba2816bc39ac09c2c Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* Background image added and humity chart tweakedKari Hautamäki2017-02-023-3/+7
| | | | | | | | - Blue background image added that is used in all UI variants - Readings in HumidityChart tweaked to show 0% when starting the app Change-Id: I8cca1cf4cafdd83063a6bcf9b98572839906dac3 Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
* Accelometer changed to report values in G instead of mGOtto Ryynänen2017-02-011-4/+4
| | | | | | 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-0110-11/+140
| | | | | | | Added new accelometer chart. Updated the ui-layout and images. Change-Id: Id8474e533f39f5c8178b487fc9bc03d7ea956772 Reviewed-by: Otto Ryynänen <otto.ryynanen@qt.io>
* GyroChart and Magnetometerchart grid removalOtto Ryynänen2017-02-014-107/+44
| | | | | | | | | | Removed grids from charts. changed magnetometer chart type. Removed old IR Temp from cloud IF. New signal(s) for Ambient and object temperatures. Change-Id: If9f215f33197ca1dc03b2a55187464fdb7a05cd9 Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
* SensorTag changed to broadcasting mode form read-resp modeOtto Ryynänen2017-01-312-6/+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>
* Display rotation values in GyroChartKari Hautamäki2017-01-302-5/+5
| | | | | | | Displays rotation values in GyroChart instead of *_degPerSec values. Also, elapsed time between measurements given a meaningful initial value in BluetoothDataProvider. Change-Id: Id4aa8820d8e45ac72d85cc963e993941ccacd599 Reviewed-by: Otto Ryynänen <otto.ryynanen@qt.io>
* Added IoT SensorTag demo to tradeshowOtto Ryynänen2017-01-3060-0/+2936
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>