aboutsummaryrefslogtreecommitdiff
path: root/ble
Commit message (Collapse)AuthorAgeFilesLines
* Mac:HEADmasterTrygve Laugstøl2018-12-202-25/+31
| | | | | | | | 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-3/+0
| | | | o Misc nits.
* o Starting to handle notifications and indicationsTrygve Laugstøl2018-11-233-37/+66
| | | | | | 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-9/+0
|
* o Working enabling of notifications.Trygve Laugstøl2018-11-225-101/+270
|
* ble-read-characteristic: working READ mode, starting on NOTIFY.Trygve Laugstøl2018-11-192-29/+13
|
* ByteBuffer:Trygve Laugstøl2018-11-193-23/+26
| | | | | | 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-14/+76
| | | | | | | | | | 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øl2018-09-061-4/+0
|
* o Actually formatting UUIDs as UUIDs.Trygve Laugstøl2018-09-061-19/+8
|
* Major overhaul of BLE code:Trygve Laugstøl2018-09-056-238/+517
| | | | | | | 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-303-122/+90
| | | | | o boost::uuid didn't give much, use our own and add new short uuid type. o Fixing nits from clang-tidy.
* Soil Moisture: Adding support for controlling lights.Trygve Laugstøl2016-04-122-58/+104
| | | | | Bluetooth: refectorying, trying to be more c++ idiomatic and modern. SM/Diller: adding bluetooth to Diller bridge.
* mqtt: Using mqtt_support utilities from the mqtt-cassandra bridge.Trygve Laugstøl2016-02-141-1/+1
|
* o Overhaul of the bluetooth code.Trygve Laugstøl2015-07-264-73/+187
| | | | | | - 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øl2015-07-212-2/+5
|
* o Trying to clean up includes a bit.Trygve Laugstøl2015-07-191-3/+2
|
* o Consistent ordering when storing the MAC address's bytes.Trygve Laugstøl2015-07-182-14/+14
|
* o Adding support for installing the code.Trygve Laugstøl2015-07-101-1/+1
|
* ble-scan:Trygve Laugstøl2015-06-213-44/+67
| | | | | | 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/+4
| | | | | | 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-212-26/+38
| | | | | | | the same lifecycle as a BluetoothGatt. sm-get-value: o Better error handling.
* o Fixing wrong class name references in exception messages.Trygve Laugstøl2015-06-201-4/+4
|
* o Replacing boost::logging with log4cplus.Trygve Laugstøl2015-03-014-58/+64
|
* Major improvement in the sm-get-value utility:Trygve Laugstøl2015-02-231-0/+11
| | | | | | | | | | o Adding command line option parsing through boost::program_option Current options: --device, --sensor --format selects between CSV and JSON output. --sleep controls single reads vs continuous reads. o Adding JSON output. o Adding support for Release builds without debugging info. Needs improvement.
* o Splitting out public header files into it's own directory.Trygve Laugstøl2015-02-226-352/+4
|
* o Reading soil moisture values in a loop.Trygve Laugstøl2015-02-221-1/+3
|
* o Support for reading and writing characteristics.Trygve Laugstøl2015-02-216-58/+174
|
* o Consistence reference usage.Trygve Laugstøl2015-02-213-10/+15
|
* o Creating a class to access GATT.Trygve Laugstøl2015-02-214-50/+152
|
* wipTrygve Laugstøl2015-02-203-2/+25
|
* Reorganizing the source code:Trygve Laugstøl2015-02-208-0/+1281
o Moving main to apps/ o Moving the library sources to ble/ o Creating cmake files for each piece.