Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Mac:HEADmaster | Trygve Laugstøl | 2018-12-20 | 9 | -50/+108 |
| | | | | | | | | 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 | 10 | -19/+89 |
| | | | | o Misc nits. | ||||
* | o Starting to handle notifications and indications | Trygve Laugstøl | 2018-11-23 | 11 | -71/+165 |
| | | | | | | 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 | 3 | -11/+15 |
| | |||||
* | o Removing unused code. | Trygve Laugstøl | 2018-11-22 | 3 | -12/+0 |
| | |||||
* | o Working enabling of notifications. | Trygve Laugstøl | 2018-11-22 | 12 | -170/+432 |
| | |||||
* | ble-read-characteristic: working READ mode, starting on NOTIFY. | Trygve Laugstøl | 2018-11-19 | 11 | -52/+69 |
| | |||||
* | Adding missing includes. | Trygve Laugstøl | 2018-11-19 | 2 | -0/+2 |
| | |||||
* | ByteBuffer: | Trygve Laugstøl | 2018-11-19 | 9 | -80/+142 |
| | | | | | | 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 | 9 | -31/+228 |
| | | | | | | | | | | 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. | ||||
* | o Removing debugging. | Trygve Laugstøl | 2018-09-06 | 1 | -4/+0 |
| | |||||
* | o Actually formatting UUIDs as UUIDs. | Trygve Laugstøl | 2018-09-06 | 1 | -19/+8 |
| | |||||
* | Major overhaul of BLE code: | Trygve Laugstøl | 2018-09-05 | 15 | -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øl | 2018-08-30 | 10 | -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ø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 | 12 | -145/+131 |
| | | | | o Some c++ style fixes. | ||||
* | o Adding missing include. | Trygve Laugstøl | 2017-09-01 | 2 | -1/+2 |
| | |||||
* | Soil Moisture: Adding support for controlling lights. | Trygve Laugstøl | 2016-04-12 | 22 | -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øl | 2016-02-14 | 1 | -1/+5 |
| | |||||
* | mqtt: Using mqtt_support utilities from the mqtt-cassandra bridge. | Trygve Laugstøl | 2016-02-14 | 15 | -170/+491 |
| | |||||
* | 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 | 12 | -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øl | 2015-07-21 | 2 | -2/+5 |
| | |||||
* | Fixing two bugs in mqtt-publish: | Trygve Laugstøl | 2015-07-21 | 3 | -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øl | 2015-07-20 | 6 | -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øl | 2015-07-20 | 1 | -11/+11 |
| | |||||
* | o Trying to clean up includes a bit. | Trygve Laugstøl | 2015-07-19 | 15 | -41/+32 |
| | |||||
* | o Going back to a bunch of cpp files instead of launcher+bunch of header ↵ | Trygve Laugstøl | 2015-07-19 | 18 | -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øl | 2015-07-19 | 17 | -167/+187 |
| | |||||
* | 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 Consistent ordering when storing the MAC address's bytes. | Trygve Laugstøl | 2015-07-18 | 3 | -21/+21 |
| | |||||
* | o Adding a parser::finish() method that indicates that the stream is done ↵ | Trygve Laugstøl | 2015-07-11 | 4 | -17/+77 |
| | | | | and any possibly buffered data should be parsed and processed. | ||||
* | o Updating to the latest version of the json library. | Trygve Laugstøl | 2015-07-11 | 1 | -0/+0 |
| | |||||
* | o Adding support for installing the code. | Trygve Laugstøl | 2015-07-10 | 3 | -7/+21 |
| | |||||
* | 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 | 8 | -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øl | 2015-06-21 | 1 | -5/+5 |
| | | | | o Fixing broken key name. | ||||
* | SoilMoisture: | Trygve Laugstøl | 2015-06-21 | 6 | -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øl | 2015-06-21 | 10 | -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ø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 | 19 | -407/+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 Fixing wrong class name references in exception messages. | Trygve Laugstøl | 2015-06-20 | 1 | -4/+4 |
| | |||||
* | o Updating json library. | Trygve Laugstøl | 2015-06-20 | 1 | -0/+0 |
| | |||||
* | 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 | 6 | -213/+136 |
| | | | | (old wip code) |