aboutsummaryrefslogtreecommitdiff
path: root/include/ble/ByteBuffer.h
Commit message (Collapse)AuthorAgeFilesLines
* Mac:HEADmasterTrygve Laugstøl2018-12-201-3/+5
| | | | | | | | 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 Working enabling of notifications.Trygve Laugstøl2018-11-221-32/+39
|
* ByteBuffer:Trygve Laugstøl2018-11-191-11/+18
| | | | | | 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-26/+43
| | | | | | | 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.
* o Overhaul of the bluetooth code.Trygve Laugstøl2015-07-261-0/+34
| | | | | | - 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/+3
|
* 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-221-0/+97