Representing a complete [Primary] Service Declaration including its list of Characteristic Declarations, which also may include its client config if available.
More...
#include <BTGattService.hpp>
Representing a complete [Primary] Service Declaration including its list of Characteristic Declarations, which also may include its client config if available.
- Examples
- dbt_scanner00.cpp, dbt_scanner01.cpp, and dbt_scanner10.cpp.
Definition at line 67 of file BTGattService.hpp.
◆ BTGattService()
direct_bt::BTGattService::BTGattService |
( |
const std::shared_ptr< BTGattHandler > & |
handler_, |
|
|
const bool |
isPrimary_, |
|
|
const uint16_t |
startHandle_, |
|
|
const uint16_t |
endHandle_, |
|
|
std::unique_ptr< const uuid_t > && |
type_ |
|
) |
| |
|
inlinenoexcept |
◆ get_java_class()
std::string direct_bt::BTGattService::get_java_class |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
◆ getDeviceChecked()
std::shared_ptr< BTDevice > BTGattService::getDeviceChecked |
( |
| ) |
const |
◆ getDeviceUnchecked()
std::shared_ptr< BTDevice > BTGattService::getDeviceUnchecked |
( |
| ) |
const |
|
noexcept |
◆ getGattHandlerChecked()
std::shared_ptr< BTGattHandler > BTGattService::getGattHandlerChecked |
( |
| ) |
const |
◆ getGattHandlerUnchecked()
std::shared_ptr<BTGattHandler> direct_bt::BTGattService::getGattHandlerUnchecked |
( |
| ) |
const |
|
inlinenoexcept |
◆ java_class()
static std::string direct_bt::BTGattService::java_class |
( |
| ) |
|
|
inlinestaticnoexcept |
◆ toString()
std::string BTGattService::toString |
( |
| ) |
const |
|
overridevirtualnoexcept |
◆ characteristicList
◆ endHandle
const uint16_t direct_bt::BTGattService::endHandle |
Service end handle.
Attribute handles are unique for each device (server) (BT Core Spec v5.2: Vol 3, Part F Protocol..: 3.2.2 Attribute Handle).
Definition at line 91 of file BTGattService.hpp.
◆ isPrimary
const bool direct_bt::BTGattService::isPrimary |
◆ startHandle
const uint16_t direct_bt::BTGattService::startHandle |
Service start handle.
Attribute handles are unique for each device (server) (BT Core Spec v5.2: Vol 3, Part F Protocol..: 3.2.2 Attribute Handle).
Definition at line 83 of file BTGattService.hpp.
◆ type
std::unique_ptr<const uuid_t> direct_bt::BTGattService::type |
The documentation for this class was generated from the following files: