| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
Otherwise isDeviceReady() returns random results, causing the
initialization of the whole connection to stop.
Change-Id: I777c5eeaf342a30821f45afb076a826cda9896b9
Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Unnecessary 1s delay to start service scan removed.
If all service details have been discovered there's no need to
start the 5s service details timer.
Change-Id: I6c8c89455fb3cfdbc1a28198234e95a4ed0b7e8b
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Change-Id: I63252362c7e9a5026b5c59802919ea840cb5356c
Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
|
|
|
|
|
|
| |
Change-Id: I6b3467541950df284f37d3b823c9fdfb535593ce
Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
|
|
|
|
|
|
| |
Change-Id: I473c28d7c6d19e633623a30d6ca8d4edd07423b2
Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
|
|
|
|
|
|
|
|
|
| |
The name suggests a const function so we either have to come up
with a new name that describes the current functionality or
move the state change out of the function. Decided for the latter.
Change-Id: Ifab2689b8a3ec054222f40708e1eb2d1576a6a08
Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
|
|
|
|
|
|
|
| |
isDeviceReady() function can't be const because it changes the state.
Change-Id: I05fe26aad80b7aaede42bf26c7aba6b9c9c299f3
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
|
| |
By using a dedicated slot for each kind of sensor we can avoid
one indirection and get rid of the characteristic handle members.
Change-Id: I5da16fd4fab55c4085aa1ed141b69a3c442b8fb3
Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
|
|
|
|
|
|
|
|
| |
m_characteristics and related functions and signals
are not used anywhere so they can be removed.
Change-Id: I0e5e0808be4b308687a806ea43492c251d9122f8
Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
|
|
|
|
|
|
|
|
|
| |
Instead of iterating over the list of the controller's services
after discovery is finished, handle the found services one by one
when the according serviceDiscovered signal is emitted.
Change-Id: I84d879059222189fb106e085bd9f2e4d3cb44bb5
Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
|
|
|
|
|
|
|
|
| |
Neither m_services nor signals functions that use this member are used
anywhere in the code so they can safely be removed.
Change-Id: I3c5ff95499e5012b9c6e7d608a6feceb9d45fe7c
Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
|
|
|
|
|
|
|
|
|
| |
Instead of iterating over service characteristics and their
descriptors we should access the needed characteristics
and descriptors directly.
Change-Id: I5e14c5d24175ed73ed9396379a6f97360189cc8a
Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Depending on the tag's firmware version the characteristics'
handle values might be different. Following TI's advice we
should do a proper lookup instead of hardcoding them.
Change-Id: I95934e554563e99118fc8ffe87de44e87d409ecf
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I4ffd59c33ec35f2d65bc59822f4080887633fa43
Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
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>
|