Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
AssetForwarder::outbox_msg_t Struct Reference
Collaboration diagram for AssetForwarder::outbox_msg_t:

Public Member Functions

 outbox_msg_t ()
 
bool isValid ()
 returns true if msgType is one of: CS_MESH_MODEL_TYPE_ASSET_INFO_MAC CS_MESH_MODEL_TYPE_ASSET_INFO_ID More...
 
bool isSimilar (const outbox_msg_t &other)
 returns true if they have the same msgType and the addresses are the same. More...
 

Public Attributes

asset_record_trecord
 
cs_mesh_model_msg_type_t msgType
 
union {
   cs_mesh_model_msg_asset_report_id_t   idMsg
 
   cs_mesh_model_msg_asset_report_mac_t   macMsg
 
   uint8_t   rawMsg [MAX_MESH_MSG_PAYLOAD_SIZE]
 
}; 
 

Constructor & Destructor Documentation

◆ outbox_msg_t()

Member Function Documentation

◆ isSimilar()

bool AssetForwarder::outbox_msg_t::isSimilar ( const outbox_msg_t other)

returns true if they have the same msgType and the addresses are the same.

◆ isValid()

bool AssetForwarder::outbox_msg_t::isValid ( )

returns true if msgType is one of: CS_MESH_MODEL_TYPE_ASSET_INFO_MAC CS_MESH_MODEL_TYPE_ASSET_INFO_ID

Member Data Documentation

◆ 

union { ... } AssetForwarder::outbox_msg_t::@9

◆ idMsg

cs_mesh_model_msg_asset_report_id_t AssetForwarder::outbox_msg_t::idMsg

◆ macMsg

cs_mesh_model_msg_asset_report_mac_t AssetForwarder::outbox_msg_t::macMsg

◆ msgType

cs_mesh_model_msg_type_t AssetForwarder::outbox_msg_t::msgType

◆ rawMsg

uint8_t AssetForwarder::outbox_msg_t::rawMsg[MAX_MESH_MSG_PAYLOAD_SIZE]

◆ record

asset_record_t* AssetForwarder::outbox_msg_t::record

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