aboutsummaryrefslogtreecommitdiff
path: root/apps
Commit message (Collapse)AuthorAgeFilesLines
* o Removing unused code.Trygve Laugstøl2018-11-221-1/+0
|
* o Working enabling of notifications.Trygve Laugstøl2018-11-222-4/+15
|
* ble-read-characteristic: working READ mode, starting on NOTIFY.Trygve Laugstøl2018-11-196-13/+18
|
* Adding missing includes.Trygve Laugstøl2018-11-192-0/+2
|
* ByteBuffer:Trygve Laugstøl2018-11-194-45/+97
| | | | | | o Reducing silliness, no allocations by ByteBuffer. o Create StaticByteBuffer as a nice one-liner to create a buffer. LinuxBluetooth: methods that want a buffer needs to pass it in, ByteBuffer is not allocating anymore.
* apps/ble-bts:Trygve Laugstøl2018-11-174-10/+111
| | | | | | | | | | o Adding start of health termometer service tool. apps/ble-read-characteristic: o Sart of new tool. apps/ble-inspect-device o Make adapter configurable. other: o UUID fixes and tests.
* Major overhaul of BLE code:Trygve Laugstøl2018-09-053-2/+4
| | | | | | | o Starting to remove shared_ptr. The code shouldn't be shared between threads, any thread safety will have to be built on the outside. o Better service discovery, don't fail when there are multiple requests that have to be done. o AttributeData was buggy, now it is just less than ideal. o Much better ByteBuffer. Now it is a simple view + cursor.
* Fixing lots of small nits:Trygve Laugstøl2018-08-306-13/+122
| | | | | o boost::uuid didn't give much, use our own and add new short uuid type. o Fixing nits from clang-tidy.
* sm-db-insert: fixing headers and warnings.Trygve Laugstøl2018-08-301-6/+6
|
* sm-db-insert/select: Adding missing header.Trygve Laugstøl2018-08-232-0/+2
|
* sample-tee.cpp: tool for writing and rotating log files, similar to unix's ↵Trygve Laugstøl2017-09-013-13/+128
| | | | | | tee command. sample-add-timestamp.cpp: Actually using the resolution flag.
* o Making sure stdout is flushed properly before returning.Trygve Laugstøl2017-09-011-0/+2
|
* o Renaming SampleOutputStream to SampleConsumer.Trygve Laugstøl2017-09-018-42/+31
| | | | o Some c++ style fixes.
* Soil Moisture: Adding support for controlling lights.Trygve Laugstøl2016-04-1212-99/+680
| | | | | Bluetooth: refectorying, trying to be more c++ idiomatic and modern. SM/Diller: adding bluetooth to Diller bridge.
* o Fixing off-by-one error when reading device name.Trygve Laugstøl2016-02-141-1/+5
|
* mqtt: Using mqtt_support utilities from the mqtt-cassandra bridge.Trygve Laugstøl2016-02-148-163/+477
|
* o Only discovering sensors if they haven't been discovered before.Trygve Laugstøl2015-07-291-15/+17
|
* o Overhaul of the bluetooth code.Trygve Laugstøl2015-07-265-29/+96
| | | | | | - Adding support for reading FLOAT (specified in IEEE 11073-20601) values from a bluetooth device. - More shared pointers to help keep track of the object's lifecycle. Makes sure that the connections are released back to Linux, Linux is way to sensitive with crashing applications. o Adding support for reading the temperature sensors from the SoilMoisture device.
* Fixing two bugs in mqtt-publish:Trygve Laugstøl2015-07-211-4/+13
| | | | | o The last character after EOF was parsed twice. o Create a separate counter for unacked messages instead of checking want_write.
* o Adding an application to send samples over MQTT.Trygve Laugstøl2015-07-203-28/+347
| | | | o Improved CMake build script, better detection and error messages of headers/libraries. Conditionally adding the applications that can be compiled with the given set of found libraries.
* o Sending only a single sample after all values have been read.Trygve Laugstøl2015-07-201-11/+11
|
* o Trying to clean up includes a bit.Trygve Laugstøl2015-07-198-24/+17
|
* o Going back to a bunch of cpp files instead of launcher+bunch of header ↵Trygve Laugstøl2015-07-1916-263/+205
| | | | files. This ends up with an easier build file and faster builds with CMake's "OBJECT" library type.
* o Applying clang-format to all apps.Trygve Laugstøl2015-07-1916-167/+121
|
* o Changing the output format to include the indexes in the values, enabling ↵Trygve Laugstøl2015-07-191-9/+12
| | | | | | | | | | | | | reading from multiple sensors in one go: This: Sample #1: device=.., sensor=1, value=123 Sample #2: device=.., sensor=2, value=321 is hanged to: Sample: device=.., sensor1=123, sensor2=321
* o Adding support for installing the code.Trygve Laugstøl2015-07-101-1/+7
|
* SoilMoisture:Trygve Laugstøl2015-06-212-3/+4
| | | | o Updating for changed get_value struct.
* ble-scan:Trygve Laugstøl2015-06-214-4/+92
| | | | | | o New tool to scan for devices. Requires root on linux :( Linux is also touchy if the program dies. BluetoothAdapter: o Adding getMac().
* ble-inspect-device:Trygve Laugstøl2015-06-211-5/+5
| | | | o Fixing broken key name.
* SoilMoisture:Trygve Laugstøl2015-06-213-42/+72
| | | | | | o Adding getName(). sm-get-value: o More cleanup.
* o Trying to make the Bluetooth API more C++ idiomatic, a GATT connection has ↵Trygve Laugstøl2015-06-216-114/+114
| | | | | | | the same lifecycle as a BluetoothGatt. sm-get-value: o Better error handling.
* o Using ends_with when checking for which app to launch too.Trygve Laugstøl2015-06-219-39/+65
| | | | | sm-get-value: o Using the io code for writing samples
* o Going all header file based and single-executable to launch all apps.Trygve Laugstøl2015-06-2118-406/+488
| | | | o Ading CMake magic to generate the launcher
* o Fixing typos.Trygve Laugstøl2015-06-201-6/+5
|
* o Adding app_name to app, creating a per-app logger.Trygve Laugstøl2015-06-207-3/+40
|
* o Configuring better logging output.Trygve Laugstøl2015-06-201-2/+8
|
* o Adding a tool to add timestamps to each sample.Trygve Laugstøl2015-06-203-213/+102
| | | | (old wip code)
* o Adding back SQL output.Trygve Laugstøl2015-03-281-6/+10
|
* o Adding timestamp by default when converting samples.Trygve Laugstøl2015-03-282-8/+15
|
* o Better class names for options.Trygve Laugstøl2015-03-221-2/+2
|
* o Renaming open_sample_input_stream to open_sample_stream_parser.Trygve Laugstøl2015-03-223-4/+4
|
* o Splitting out io parts into trygvis::sensor::io.Trygve Laugstøl2015-03-226-7/+15
|
* o Renaming trygvis::soil_moisture to trygvis::sample.Trygve Laugstøl2015-03-229-23/+17
|
* o Renaming SoilMoistureIo to SensorSample, moving to its own library.Trygve Laugstøl2015-03-229-894/+12
|
* o First version of a tool to continuously read and discover serial ports.Trygve Laugstøl2015-03-226-14/+217
|
* o Start of a tool to select columns,Trygve Laugstøl2015-03-222-0/+124
|
* o RRD output.Trygve Laugstøl2015-03-224-8/+163
|
* o Dropping empty samples when looking for an end sample.Trygve Laugstøl2015-03-212-1/+6
|
* o Support for converting from millisecond timestamps to second timestamps.Trygve Laugstøl2015-03-201-19/+62
|
* o More relaxed regex parsing.Trygve Laugstøl2015-03-201-1/+1
|