libGulliBLE
ble::device_name_characteristic Struct Referencefinal

#include <controller.hpp>

Inheritance diagram for ble::device_name_characteristic:
Collaboration diagram for ble::device_name_characteristic:

Public Member Functions

 device_name_characteristic (uuid u)
 
- Public Member Functions inherited from ble::characteristic_base
 characteristic_base (uuid u, access_type access)
 
access_type access () const
 
uuid const & chr_uuid () const
 
ble_gatt_chr_def get_definition () const
 
virtual ~characteristic_base ()=default
 

Protected Member Functions

retcode do_read (mlab::bin_data &data, std::uint16_t, std::uint16_t) override
 
retcode do_write (mlab::bin_data const &data, std::uint16_t, std::uint16_t) override
 
- Protected Member Functions inherited from ble::characteristic_base
virtual retcode on_access (std::uint16_t conn_handle, std::uint16_t attr_handle, ble_gatt_access_ctxt &ctxt)
 
virtual retcode on_read (std::uint16_t conn_handle, std::uint16_t attr_handle, ble_gatt_access_ctxt &ctxt)
 
virtual retcode on_write (std::uint16_t conn_handle, std::uint16_t attr_handle, ble_gatt_access_ctxt &ctxt)
 

Additional Inherited Members

- Static Public Attributes inherited from ble::characteristic_base
static constexpr ble_gatt_chr_def void_definition
 

Constructor & Destructor Documentation

◆ device_name_characteristic()

ble::device_name_characteristic::device_name_characteristic ( uuid  u)
explicit

Member Function Documentation

◆ do_read()

retcode ble::device_name_characteristic::do_read ( mlab::bin_data &  data,
std::uint16_t  ,
std::uint16_t   
)
overrideprotectedvirtual

◆ do_write()

retcode ble::device_name_characteristic::do_write ( mlab::bin_data const &  data,
std::uint16_t  ,
std::uint16_t   
)
overrideprotectedvirtual

The documentation for this struct was generated from the following files: