#include <BluetoothGattService.hpp>
|
static std::string | java_class () |
|
static BluetoothType | class_type () |
|
static BluetoothType | class_type () |
|
static std::string | java_class () |
|
|
| BluetoothGattService (GattService1 *object) |
|
bool | lock () |
|
void | unlock () |
|
|
static std::unique_ptr< BluetoothGattService > | make (Object *object, BluetoothType type=BluetoothType::GATT_SERVICE, std::string *name=nullptr, std::string *identifier=nullptr, BluetoothObject *parent=nullptr) |
|
|
class | tinyb::BluetoothManager |
|
class | tinyb::BluetoothEventManager |
|
class | tinyb::BluetoothDevice |
|
class | tinyb::BluetoothGattCharacteristic |
|
|
std::mutex | lk |
|
std::atomic_bool | valid |
|
Provides access to Bluetooth GATT characteristic. Follows the BlueZ adapter API available at: http://git.kernel.org/cgit/bluetooth/bluez.git/tree/doc/gatt-api.txt
Returns a raw pointer to a clone of the object
- Returns
- A raw pointer to a clone of the object
Reimplemented from tinyb::BluetoothObject.
virtual BluetoothType tinyb::BluetoothGattService::get_bluetooth_type |
( |
| ) |
const |
|
virtual |
Returns the BluetoothType of this object
- Returns
- The BluetoothType of this object
Reimplemented from tinyb::BluetoothObject.
Returns a list of BluetoothGattCharacteristics this service exposes.
- Returns
- A list of BluetoothGattCharacteristics exposed by this service
virtual std::string tinyb::BluetoothGattService::get_class_name |
( |
| ) |
const |
|
virtual |
Returns the class name of this object
- Returns
- A std::string containing the class name of this object
Reimplemented from tinyb::BluetoothObject.
Returns the device to which this service belongs to.
- Returns
- The device.
virtual std::string tinyb::BluetoothGattService::get_java_class |
( |
| ) |
const |
|
virtual |
Returns the complete Java class of this object
- Returns
- A std::string containing the java class of this object
Reimplemented from tinyb::BluetoothObject.
virtual std::string tinyb::BluetoothGattService::get_object_path |
( |
| ) |
const |
|
virtual |
Returns the DBus object path of this object
- Returns
- A std::string containing the DBus object path of this object
Reimplemented from tinyb::BluetoothObject.
bool tinyb::BluetoothGattService::get_primary |
( |
| ) |
|
Returns true if this service is a primary service, false if secondary.
- Returns
- true if this service is a primary service, false if secondary.
std::string tinyb::BluetoothGattService::get_uuid |
( |
| ) |
|
Get the UUID of this service
- Returns
- The 128 byte UUID of this service, NULL if an error occurred
The documentation for this class was generated from the following file: