Smartswitch
Data Members | List of all members
Smartswitch::Messaging::ConcatenatedMessageInfo Struct Reference

The struct contains information needed to reassemble a full message from several segments. More...

defined in <ConcatenatedMessageInfo.ice>

struct ConcatenatedMessageInfo { ... }

Data Members

byte messageIdentification
 The unique ID of a message. More...
 
byte segmentCountTotal
 Total count of segments to which a big message has been split. More...
 
byte segmentNumberCurrent
 The order number of a current segment amount other segments of the message. More...
 

Detailed Description

The struct contains information needed to reassemble a full message from several segments.

Some legacy messaging providers may accept only a message of small size.
To send a big message we need to split a big message into smaller segments.
Then we add a special header to each segment which is used to reassemble the big message back at the receiver side.
And send these small messages to a provider consecutively.

Data Member Documentation

◆ messageIdentification

byte messageIdentification

The unique ID of a message.

◆ segmentCountTotal

byte segmentCountTotal

Total count of segments to which a big message has been split.

◆ segmentNumberCurrent

byte segmentNumberCurrent

The order number of a current segment amount other segments of the message.


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