Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
|
Internal handler implementation for given DBGattServer instance matching its DBGattServer::Mode. More...
#include <BTGattHandler.hpp>
Public Member Functions | |
virtual | ~GattServerHandler ()=default |
virtual void | close () noexcept |
Close and clear this handler, i.e. More... | |
virtual DBGattServer::Mode | getMode () noexcept=0 |
virtual bool | replyExchangeMTUReq (const AttExchangeMTU *pdu) noexcept=0 |
Reply to an exchange MTU request. More... | |
virtual bool | replyFindByTypeValueReq (const AttFindByTypeValueReq *pdu) noexcept=0 |
Reply to a find by type value request. More... | |
virtual bool | replyFindInfoReq (const AttFindInfoReq *pdu) noexcept=0 |
Reply to a find info request. More... | |
virtual bool | replyReadByGroupTypeReq (const AttReadByNTypeReq *pdu) noexcept=0 |
Reply to a read by group type request. More... | |
virtual bool | replyReadByTypeReq (const AttReadByNTypeReq *pdu) noexcept=0 |
Reply to a read by type request. More... | |
virtual bool | replyReadReq (const AttPDUMsg *pdu) noexcept=0 |
Reply to a read request. More... | |
virtual bool | replyWriteReq (const AttPDUMsg *pdu) noexcept=0 |
Reply to a write request. More... | |
Internal handler implementation for given DBGattServer instance matching its DBGattServer::Mode.
The specific implementation acts upon GATT requests from a connected client according to DBGattServer::Mode.
Definition at line 201 of file BTGattHandler.hpp.
|
virtualdefault |
|
inlinevirtualnoexcept |
Close and clear this handler, i.e.
release all resources.
Usually called when disconnected or destructed.
Reimplemented in NopGattServerHandler, DBGattServerHandler, and FwdGattServerHandler.
Definition at line 210 of file BTGattHandler.hpp.
|
pure virtualnoexcept |
Implemented in NopGattServerHandler, DBGattServerHandler, and FwdGattServerHandler.
|
pure virtualnoexcept |
Reply to an exchange MTU request.
pdu |
Implemented in NopGattServerHandler, DBGattServerHandler, and FwdGattServerHandler.
|
pure virtualnoexcept |
Reply to a read request.
pdu |
Implemented in NopGattServerHandler, DBGattServerHandler, and FwdGattServerHandler.
|
pure virtualnoexcept |
Reply to a write request.
Without Response:
With Response:
pdu |
Implemented in NopGattServerHandler, DBGattServerHandler, and FwdGattServerHandler.
|
pure virtualnoexcept |
Reply to a find info request.
pdu |
Implemented in NopGattServerHandler, DBGattServerHandler, and FwdGattServerHandler.
|
pure virtualnoexcept |
Reply to a find by type value request.
pdu |
Implemented in NopGattServerHandler, DBGattServerHandler, and FwdGattServerHandler.
|
pure virtualnoexcept |
Reply to a read by type request.
pdu |
Implemented in NopGattServerHandler, DBGattServerHandler, and FwdGattServerHandler.
|
pure virtualnoexcept |
Reply to a read by group type request.
pdu |
Implemented in NopGattServerHandler, DBGattServerHandler, and FwdGattServerHandler.