aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* o Actually formatting UUIDs as UUIDs.Trygve Laugstøl2018-09-061-19/+8
|
* Major overhaul of BLE code:Trygve Laugstøl2018-09-0515-464/+871
| | | | | | | 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-3010-165/+325
| | | | | 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-0112-145/+131
| | | | o Some c++ style fixes.
* o Adding missing include.Trygve Laugstøl2017-09-012-1/+2
|
* Soil Moisture: Adding support for controlling lights.Trygve Laugstøl2016-04-1222-220/+865
| | | | | 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-1415-170/+491
|
* 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-2612-110/+389
| | | | | | - 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.
* o Fixing compatability with libcxx.Trygve Laugstøl2015-07-212-2/+5
|
* Fixing two bugs in mqtt-publish:Trygve Laugstøl2015-07-213-5/+19
| | | | | 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-206-31/+350
| | | | 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-1915-41/+32
|
* o Going back to a bunch of cpp files instead of launcher+bunch of header ↵Trygve Laugstøl2015-07-1918-265/+207
| | | | 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-1917-167/+187
|
* 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 Consistent ordering when storing the MAC address's bytes.Trygve Laugstøl2015-07-183-21/+21
|
* o Adding a parser::finish() method that indicates that the stream is done ↵Trygve Laugstøl2015-07-114-17/+77
| | | | and any possibly buffered data should be parsed and processed.
* o Updating to the latest version of the json library.Trygve Laugstøl2015-07-111-0/+0
|
* o Adding support for installing the code.Trygve Laugstøl2015-07-103-7/+21
|
* SoilMoisture:Trygve Laugstøl2015-06-212-3/+4
| | | | o Updating for changed get_value struct.
* ble-scan:Trygve Laugstøl2015-06-218-50/+163
| | | | | | 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-216-42/+84
| | | | | | 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-2110-145/+157
| | | | | | | 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-2119-407/+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 Fixing wrong class name references in exception messages.Trygve Laugstøl2015-06-201-4/+4
|
* o Updating json library.Trygve Laugstøl2015-06-201-0/+0
|
* 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-206-213/+136
| | | | (old wip code)
* o Better sql generation.Trygve Laugstøl2015-03-302-4/+194
|
* o Adding back SQL output.Trygve Laugstøl2015-03-284-126/+165
|
* o Adding timestamp by default when converting samples.Trygve Laugstøl2015-03-286-42/+107
|
* o Replacing regex based parsing with simpler and more correct tokenizing.Trygve Laugstøl2015-03-235-79/+134
| | | | | o Flushing output after each sample. o Adding back tests.
* o Better class names for options.Trygve Laugstøl2015-03-223-37/+36
|
* o Renaming open_sample_input_stream to open_sample_stream_parser.Trygve Laugstøl2015-03-225-7/+6
|
* o Splitting out io parts into trygvis::sensor::io.Trygve Laugstøl2015-03-2211-347/+393
|
* o Renaming trygvis::soil_moisture to trygvis::sample.Trygve Laugstøl2015-03-2213-34/+29
|
* o Renaming SoilMoistureIo to SensorSample, moving to its own library.Trygve Laugstøl2015-03-2212-13/+23
|
* o First version of a tool to continuously read and discover serial ports.Trygve Laugstøl2015-03-227-16/+219
|
* o Start of a tool to select columns,Trygve Laugstøl2015-03-222-0/+124
|