summaryrefslogtreecommitdiff
path: root/app/src
Commit message (Collapse)AuthorAgeFilesLines
* BtPromise: Adding a distinction between successful and failure.1.0Trygve Laugstøl2015-01-189-94/+173
| | | | | | | o Chain can now call fail() instead of stop() to signal failure. o The finally handlers can be changed to get this info later. o Should probably make all callbacks take the BtDevice as a callback instead of BluetoothGatt and make the gatt instance available through the device. This way state can be kept in the device's tag. BtPromise: always discover services when operating inside a connection.
* o Missing file.Trygve Laugstøl2015-01-171-0/+9
|
* o Trying to fix issues where there is a miss match between the clicked index ↵Trygve Laugstøl2015-01-175-25/+91
| | | | and the item actually clicked.
* o Not disconnecting when the promise is done.Trygve Laugstøl2015-01-179-154/+347
| | | | | o All user code can assume that they're already connected to the device, simplifying the life cycle. o When starting, send a 'new device' even for all stored devices.
* o Major refactoring of the BT promise.Trygve Laugstøl2015-01-166-162/+214
|
* o Reading values from the soil sensor.Trygve Laugstøl2015-01-1118-261/+646
| | | | | | o Rewrote the database schema to match the new device+sensors model. o Storing samples in the database. o To be able to reuse BT callbacks, added a way to always to directly to the next step instead of waiting for an event.
* o Adding a way to prepend callbacks on the promise's queue. Needed for ↵Trygve Laugstøl2015-01-049-75/+314
| | | | | | devices that give you [disconnect, connect] events when connecting. Yay. o Reading meta data from the Soil Moisture device.
* o Adding a method to run a transaction in the BtService's database.Trygve Laugstøl2015-01-046-24/+55
|
* o Adding SoilMonitors support in core and view. Still more to do.Trygve Laugstøl2015-01-0412-128/+298
|
* o Adding a database of BT devices and soil devices, sensors and samples.Trygve Laugstøl2015-01-037-17/+169
|
* o Getting closer to something that actually work.Trygve Laugstøl2015-01-0220-424/+749
|
* o Initial import of Soil Moisture app.Trygve Laugstøl2014-12-3140-0/+1822