ZCL library
4.3
ZCL library to manage a Zigbee network
|
This Class defines the Frame Control of the ZCL frame. More...
#include <FrameControl.h>
Public Member Functions | |
FrameType::Value | getFrameType () const |
Get the frame type (entire profile or specific cluster). | |
void | setFrameType (const FrameType::Value type) |
Set the frame type (entire profile or specific cluster). | |
Direction::Value | getDirection () const |
Get the direction (server to client or client to server). | |
void | setDirection (const Direction::Value direction) |
Set the direction (server to client or client to server). | |
bool | isManufacturerCodePresent () const |
Check if the manufacturer code is present. | |
ManufacturerCode::Value | getManufacturerCode () const |
Get the manufacturer code. | |
void | setManufacturerCode (const ManufacturerCode::Value manufurerCode) |
Set the manufacturer code. | |
ResponseStatus::Value | getResponseStatus () const |
Get the status of the default response. | |
void | setResponseStatus (const ResponseStatus::Value status) |
Set the status of the default response. | |
byte | toByte () const |
Return the Frame control as a byte. | |
void | fromByte (const byte frameControl) |
Build a Frame control field from a byte. |
This Class defines the Frame Control of the ZCL frame.
void FrameControl::fromByte | ( | const byte | frameControl | ) |
Build a Frame control field from a byte.
frameControl | the frame control as a byte. |
Direction::Value FrameControl::getDirection | ( | ) | const |
Get the direction (server to client or client to server).
FrameType::Value FrameControl::getFrameType | ( | ) | const |
Get the frame type (entire profile or specific cluster).
ManufacturerCode::Value FrameControl::getManufacturerCode | ( | ) | const |
Get the manufacturer code.
ResponseStatus::Value FrameControl::getResponseStatus | ( | ) | const |
Get the status of the default response.
bool FrameControl::isManufacturerCodePresent | ( | ) | const |
Check if the manufacturer code is present.
void FrameControl::setDirection | ( | const Direction::Value | direction | ) |
Set the direction (server to client or client to server).
direction | the direction. |
void FrameControl::setFrameType | ( | const FrameType::Value | type | ) |
Set the frame type (entire profile or specific cluster).
type | the frame type. |
void FrameControl::setManufacturerCode | ( | const ManufacturerCode::Value | manufurerCode | ) |
Set the manufacturer code.
manufurerCode | the manufacturer code. |
void FrameControl::setResponseStatus | ( | const ResponseStatus::Value | status | ) |
Set the status of the default response.
status | the default response status. |
byte FrameControl::toByte | ( | ) | const |
Return the Frame control as a byte.