| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
to BtSequence and BtSequencer.
|
|
|
|
|
|
| |
o Removing BtScanResult, it was never used.
o Getting MainActivity to listen on device property changed so the UI is properly updated.
o Adding a status bar with color to indicate if the device is available, connected or not seen.
|
|
|
|
|
| |
o Reading each sensors name when probing a device.
o Enabling probing on long presses on already probed devices. Is probably useful to update the local information when other handsets has updated the device's values.
|
|
|
|
|
|
| |
SM: adding a toast callback so the activity can show a toast message.
Needed to make sure the toast comes from the correct thread.
Can be called from the BT callback thread.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
and the item actually clicked.
|
|
|
|
|
| |
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 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.
|
|
|
|
|
|
| |
devices that give you [disconnect, connect] events when connecting. Yay.
o Reading meta data from the Soil Moisture device.
|
| |
|
| |
|
| |
|
| |
|
|
|