|
libGulliBLE
|
#include <characteristic.hpp>


Static Public Attributes | |
| static constexpr bool | has_synthetic_rw_methods |
| True iff the do_read and do_write methods have already been automatically synthesized. If operator<< and operator>> are made available for T and mlab::bin_data, mlab::bin_stream, then we can synthesize those methods automatically. | |
| Static Public Attributes inherited from ble::characteristic_base | |
| static constexpr ble_gatt_chr_def | void_definition |
Additional Inherited Members | |
| Public Member Functions inherited from ble::impl::stored_characteristic_base< T, mlab::bin_data::is_injectable< T >::value and mlab::bin_stream::is_extractable< T >::value > | |
| stored_characteristic_base (uuid const &u, access_type access, std::shared_ptr< mlab::observable< T > > init=nullptr) | |
| mlab::observable_cref< T > | value () const |
| std::shared_ptr< mlab::observable< T > > const & | value_ptr () const |
| 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 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) |
| virtual retcode | do_read (mlab::bin_data &data, std::uint16_t conn_handle, std::uint16_t attr_handle)=0 |
| virtual retcode | do_write (mlab::bin_data const &data, std::uint16_t conn_handle, std::uint16_t attr_handle)=0 |
|
staticconstexpr |
True iff the do_read and do_write methods have already been automatically synthesized. If operator<< and operator>> are made available for T and mlab::bin_data, mlab::bin_stream, then we can synthesize those methods automatically.