aboutsummaryrefslogtreecommitdiff
path: root/include/ble/Bluetooth.h
Commit message (Collapse)AuthorAgeFilesLines
* Mac:HEADmasterTrygve Laugstøl2018-12-201-10/+17
| | | | | | | | 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-231-4/+0
| | | | o Misc nits.
* o Starting to handle notifications and indicationsTrygve Laugstøl2018-11-231-14/+24
| | | | | | Cleaning up: o Using more of the shared_ptr typedefs. o Adding code styles used by CLion.
* o Removing unused code.Trygve Laugstøl2018-11-221-2/+0
|
* o Working enabling of notifications.Trygve Laugstøl2018-11-221-27/+25
|
* ble-read-characteristic: working READ mode, starting on NOTIFY.Trygve Laugstøl2018-11-191-6/+32
|
* ByteBuffer:Trygve Laugstøl2018-11-191-1/+1
| | | | | | 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.
* Major overhaul of BLE code:Trygve Laugstøl2018-09-051-170/+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-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-261-8/+10
| | | | | | - 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-191-2/+4
|
* 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 Splitting out public header files into it's own directory.Trygve Laugstøl2015-02-221-0/+252