Direct-BT
2.3.1
Direct-BT - Direct Bluetooth Programming.
|
Go to the documentation of this file.
26 #ifndef BT_GATT_SERVICE_HPP_
27 #define BT_GATT_SERVICE_HPP_
70 std::weak_ptr<BTGattHandler> wbr_handler;
72 std::string toShortString()
const noexcept;
94 std::unique_ptr<const uuid_t>
type;
99 BTGattService(
const std::shared_ptr<BTGattHandler> &handler_,
const bool isPrimary_,
100 const uint16_t startHandle_,
const uint16_t endHandle_, std::unique_ptr<const uuid_t> && type_) noexcept
118 std::
string toString() const noexcept override;
122 {
return lhs.startHandle == rhs.startHandle && lhs.endHandle == rhs.endHandle; }
125 {
return !(lhs == rhs); }
jau::darray< BTGattCharRef > characteristicList
List of Characteristic Declarations as shared reference.
const uint16_t startHandle
Service start handle.
Representing a complete [Primary] Service Declaration including its list of Characteristic Declaratio...
std::shared_ptr< BTGattHandler > getGattHandlerChecked() const
std::string get_java_class() const noexcept override
std::unique_ptr< const uuid_t > type
Service type UUID.
std::shared_ptr< BTDevice > getDeviceChecked() const
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_) noexcept
const uint16_t endHandle
Service end handle.
std::string toString() const noexcept override
std::shared_ptr< BTDevice > getDeviceUnchecked() const noexcept
void reserve(size_type new_capacity)
Like std::vector::reserve(), increases this instance's capacity to new_capacity.
bool operator!=(const EUI48Sub &lhs, const EUI48Sub &rhs) noexcept
static std::string java_class() noexcept
std::shared_ptr< BTGattHandler > getGattHandlerUnchecked() const noexcept