Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Mac:HEADmaster | Trygve Laugstøl | 2018-12-20 | 2 | -2/+6 |
| | | | | | | | | o Using more natural byte ordering in the code. No external effect. o Using global ==, != and < operators instead of in-class operators for better compatibility with STL. ByteBuffer: o Renaming setPosition() to setCursor(). | ||||
* | o Trying to improve compatibility with some feature checks. | Trygve Laugstøl | 2018-11-23 | 3 | -8/+8 |
| | | | | o Misc nits. | ||||
* | o Starting to handle notifications and indications | Trygve Laugstøl | 2018-11-23 | 3 | -16/+20 |
| | | | | | | Cleaning up: o Using more of the shared_ptr typedefs. o Adding code styles used by CLion. | ||||
* | o Compiling everything again. | Trygve Laugstøl | 2018-11-22 | 1 | -1/+1 |
| | |||||
* | o Removing unused code. | Trygve Laugstøl | 2018-11-22 | 1 | -1/+0 |
| | |||||
* | o Working enabling of notifications. | Trygve Laugstøl | 2018-11-22 | 2 | -4/+15 |
| | |||||
* | ble-read-characteristic: working READ mode, starting on NOTIFY. | Trygve Laugstøl | 2018-11-19 | 6 | -13/+18 |
| | |||||
* | Adding missing includes. | Trygve Laugstøl | 2018-11-19 | 2 | -0/+2 |
| | |||||
* | ByteBuffer: | Trygve Laugstøl | 2018-11-19 | 4 | -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øl | 2018-11-17 | 4 | -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øl | 2018-09-05 | 3 | -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øl | 2018-08-30 | 6 | -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øl | 2018-08-30 | 1 | -6/+6 |
| | |||||
* | sm-db-insert/select: Adding missing header. | Trygve Laugstøl | 2018-08-23 | 2 | -0/+2 |
| | |||||
* | sample-tee.cpp: tool for writing and rotating log files, similar to unix's ↵ | Trygve Laugstøl | 2017-09-01 | 3 | -13/+128 |
| | | | | | | tee command. sample-add-timestamp.cpp: Actually using the resolution flag. | ||||
* | o Making sure stdout is flushed properly before returning. | Trygve Laugstøl | 2017-09-01 | 1 | -0/+2 |
| | |||||
* | o Renaming SampleOutputStream to SampleConsumer. | Trygve Laugstøl | 2017-09-01 | 8 | -42/+31 |
| | | | | o Some c++ style fixes. | ||||
* | Soil Moisture: Adding support for controlling lights. | Trygve Laugstøl | 2016-04-12 | 12 | -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øl | 2016-02-14 | 1 | -1/+5 |
| | |||||
* | mqtt: Using mqtt_support utilities from the mqtt-cassandra bridge. | Trygve Laugstøl | 2016-02-14 | 8 | -163/+477 |
| | |||||
* | o Only discovering sensors if they haven't been discovered before. | Trygve Laugstøl | 2015-07-29 | 1 | -15/+17 |
| | |||||
* | o Overhaul of the bluetooth code. | Trygve Laugstøl | 2015-07-26 | 5 | -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øl | 2015-07-21 | 1 | -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øl | 2015-07-20 | 3 | -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øl | 2015-07-20 | 1 | -11/+11 |
| | |||||
* | o Trying to clean up includes a bit. | Trygve Laugstøl | 2015-07-19 | 8 | -24/+17 |
| | |||||
* | o Going back to a bunch of cpp files instead of launcher+bunch of header ↵ | Trygve Laugstøl | 2015-07-19 | 16 | -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øl | 2015-07-19 | 16 | -167/+121 |
| | |||||
* | o Changing the output format to include the indexes in the values, enabling ↵ | Trygve Laugstøl | 2015-07-19 | 1 | -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øl | 2015-07-10 | 1 | -1/+7 |
| | |||||
* | SoilMoisture: | Trygve Laugstøl | 2015-06-21 | 2 | -3/+4 |
| | | | | o Updating for changed get_value struct. | ||||
* | ble-scan: | Trygve Laugstøl | 2015-06-21 | 4 | -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øl | 2015-06-21 | 1 | -5/+5 |
| | | | | o Fixing broken key name. | ||||
* | SoilMoisture: | Trygve Laugstøl | 2015-06-21 | 3 | -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øl | 2015-06-21 | 6 | -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øl | 2015-06-21 | 9 | -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øl | 2015-06-21 | 18 | -406/+488 |
| | | | | o Ading CMake magic to generate the launcher | ||||
* | o Fixing typos. | Trygve Laugstøl | 2015-06-20 | 1 | -6/+5 |
| | |||||
* | o Adding app_name to app, creating a per-app logger. | Trygve Laugstøl | 2015-06-20 | 7 | -3/+40 |
| | |||||
* | o Configuring better logging output. | Trygve Laugstøl | 2015-06-20 | 1 | -2/+8 |
| | |||||
* | o Adding a tool to add timestamps to each sample. | Trygve Laugstøl | 2015-06-20 | 3 | -213/+102 |
| | | | | (old wip code) | ||||
* | o Adding back SQL output. | Trygve Laugstøl | 2015-03-28 | 1 | -6/+10 |
| | |||||
* | o Adding timestamp by default when converting samples. | Trygve Laugstøl | 2015-03-28 | 2 | -8/+15 |
| | |||||
* | o Better class names for options. | Trygve Laugstøl | 2015-03-22 | 1 | -2/+2 |
| | |||||
* | o Renaming open_sample_input_stream to open_sample_stream_parser. | Trygve Laugstøl | 2015-03-22 | 3 | -4/+4 |
| | |||||
* | o Splitting out io parts into trygvis::sensor::io. | Trygve Laugstøl | 2015-03-22 | 6 | -7/+15 |
| | |||||
* | o Renaming trygvis::soil_moisture to trygvis::sample. | Trygve Laugstøl | 2015-03-22 | 9 | -23/+17 |
| | |||||
* | o Renaming SoilMoistureIo to SensorSample, moving to its own library. | Trygve Laugstøl | 2015-03-22 | 9 | -894/+12 |
| | |||||
* | o First version of a tool to continuously read and discover serial ports. | Trygve Laugstøl | 2015-03-22 | 6 | -14/+217 |
| | |||||
* | o Start of a tool to select columns, | Trygve Laugstøl | 2015-03-22 | 2 | -0/+124 |
| |