aboutsummaryrefslogtreecommitdiff
path: root/ble/Bluetooth.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Mac:HEADmasterTrygve Laugstøl2018-12-201-19/+24
| | | | | | | | 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-0/+4
|
* Major overhaul of BLE code:Trygve Laugstøl2018-09-051-123/+3
| | | | | | | 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-29/+23
| | | | | o boost::uuid didn't give much, use our own and add new short uuid type. o Fixing nits from clang-tidy.
* o Overhaul of the bluetooth code.Trygve Laugstøl2015-07-261-6/+13
| | | | | | - 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 Consistent ordering when storing the MAC address's bytes.Trygve Laugstøl2015-07-181-13/+13
|
* ble-scan:Trygve Laugstøl2015-06-211-17/+1
| | | | | | o New tool to scan for devices. Requires root on linux :( Linux is also touchy if the program dies. BluetoothAdapter: o Adding getMac().
* o Replacing boost::logging with log4cplus.Trygve Laugstøl2015-03-011-8/+8
|
* o Splitting out public header files into it's own directory.Trygve Laugstøl2015-02-221-1/+1
|
* o Support for reading and writing characteristics.Trygve Laugstøl2015-02-211-2/+28
|
* o Creating a class to access GATT.Trygve Laugstøl2015-02-211-0/+10
|
* wipTrygve Laugstøl2015-02-201-0/+14
|
* Reorganizing the source code:Trygve Laugstøl2015-02-201-0/+193
o Moving main to apps/ o Moving the library sources to ble/ o Creating cmake files for each piece.