Zigbee Protocol Controller 1.6.0
zigpc::gateway::BindingRequestRequest Class Reference

Call to send one-way bind request from device to the gateway. More...

#include <zigpc_gateway_request_queue.hpp>

Inheritance diagram for zigpc::gateway::BindingRequestRequest:
zigpc::gateway::RequestQueue::Entry

Public Member Functions

 BindingRequestRequest (const zigbee_eui64_t source_eui64, zigbee_endpoint_id_t source_endpoint_id, zcl_cluster_id_t cluster_id, const zigbee_eui64_t dest_eui64, zigbee_endpoint_id_t dest_endpoint_id, bool is_binding_req)
 
 ~BindingRequestRequest () override=default
 
sl_status_t invoke (void) override
 Invoke/execute the ZigbeeHost call using the infomation stored in the object. More...
 
- Public Member Functions inherited from zigpc::gateway::RequestQueue::Entry
 Entry (const char *label)
 
virtual ~Entry ()=default
 
const char * getLabel (void) const
 Get the Name of the call. More...
 
size_t getSendAttempts (void) const
 Get the number of attempts made to send the message. More...
 
void incrementSendAttempt (void)
 Increment send attempts. More...
 
virtual sl_status_t invoke (void)=0
 Invoke/execute the ZigbeeHost call using the infomation stored in the object. More...
 

Private Attributes

zigbee_eui64_t source_eui64
 
zigbee_endpoint_id_t source_endpoint_id
 
zcl_cluster_id_t cluster_id
 
zigbee_eui64_t dest_eui64
 
zigbee_endpoint_id_t dest_endpoint_id
 
bool is_binding_req
 

Detailed Description

Call to send one-way bind request from device to the gateway.

Constructor & Destructor Documentation

◆ BindingRequestRequest()

zigpc::gateway::BindingRequestRequest::BindingRequestRequest ( const zigbee_eui64_t  source_eui64,
zigbee_endpoint_id_t  source_endpoint_id,
zcl_cluster_id_t  cluster_id,
const zigbee_eui64_t  dest_eui64,
zigbee_endpoint_id_t  dest_endpoint_id,
bool  is_binding_req 
)
explicit

True if bind, False if unbind

◆ ~BindingRequestRequest()

zigpc::gateway::BindingRequestRequest::~BindingRequestRequest ( )
overridedefault

Member Function Documentation

◆ invoke()

sl_status_t zigpc::gateway::BindingRequestRequest::invoke ( void  )
overridevirtual

Invoke/execute the ZigbeeHost call using the infomation stored in the object.

Returns
sl_status_t

Implements zigpc::gateway::RequestQueue::Entry.

Member Data Documentation

◆ cluster_id

zcl_cluster_id_t zigpc::gateway::BindingRequestRequest::cluster_id
private

Cluster ID

◆ dest_endpoint_id

zigbee_endpoint_id_t zigpc::gateway::BindingRequestRequest::dest_endpoint_id
private

Endpoint ID

◆ dest_eui64

zigbee_eui64_t zigpc::gateway::BindingRequestRequest::dest_eui64
private

Device ID

◆ is_binding_req

bool zigpc::gateway::BindingRequestRequest::is_binding_req
private

◆ source_endpoint_id

zigbee_endpoint_id_t zigpc::gateway::BindingRequestRequest::source_endpoint_id
private

Endpoint ID

◆ source_eui64

zigbee_eui64_t zigpc::gateway::BindingRequestRequest::source_eui64
private

Device ID


The documentation for this class was generated from the following file: