aboutsummaryrefslogtreecommitdiff
path: root/include/ble
Commit message (Collapse)AuthorAgeFilesLines
* Mac:HEADmasterTrygve Laugstøl2018-12-202-13/+22
| | | | | | | | 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øl2018-11-234-8/+68
| | | | o Misc nits.
* o Starting to handle notifications and indicationsTrygve Laugstøl2018-11-232-15/+44
| | | | | | Cleaning up: o Using more of the shared_ptr typedefs. o Adding code styles used by CLion.
* o Compiling everything again.Trygve Laugstøl2018-11-221-0/+4
|
* o Removing unused code.Trygve Laugstøl2018-11-221-2/+0
|
* o Working enabling of notifications.Trygve Laugstøl2018-11-224-62/+144
|
* ble-read-characteristic: working READ mode, starting on NOTIFY.Trygve Laugstøl2018-11-192-8/+36
|
* ByteBuffer:Trygve Laugstøl2018-11-192-12/+19
| | | | | | 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-172-7/+12
| | | | | | | | | | 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-054-196/+317
| | | | | | | 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-301-30/+113
| | | | | o boost::uuid didn't give much, use our own and add new short uuid type. o Fixing nits from clang-tidy.
* o Adding missing include.Trygve Laugstøl2017-09-011-0/+1
|
* Soil Moisture: Adding support for controlling lights.Trygve Laugstøl2016-04-121-16/+33
| | | | | Bluetooth: refectorying, trying to be more c++ idiomatic and modern. SM/Diller: adding bluetooth to Diller bridge.
* o Overhaul of the bluetooth code.Trygve Laugstøl2015-07-262-8/+44
| | | | | | - 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 Trying to clean up includes a bit.Trygve Laugstøl2015-07-192-4/+7
|
* o Consistent ordering when storing the MAC address's bytes.Trygve Laugstøl2015-07-181-7/+7
|
* ble-scan:Trygve Laugstøl2015-06-211-2/+4
| | | | | | o New tool to scan for devices. Requires root on linux :( Linux is also touchy if the program dies. BluetoothAdapter: o Adding getMac().
* SoilMoisture:Trygve Laugstøl2015-06-211-0/+5
| | | | | | 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-211-4/+2
| | | | | | | the same lifecycle as a BluetoothGatt. sm-get-value: o Better error handling.
* o Starting a new class for all SoilMoisture GATT stuff.Trygve Laugstøl2015-02-221-3/+4
|
* o Splitting out public header files into it's own directory.Trygve Laugstøl2015-02-222-0/+349