User`s manual
SCIOPTA - Real-Time Kernel
User’s Manual Manual Version 4.1 6-5
SCIOPTA - Real-Time Kernel
6 Messages
6.6.2 Message Structure
6.6.2.1 Description
Immediately after the message number declaration usually the message structure declaration follows. We recom-
mend to write the message structure name in lower case letters in order to avoid mixing up with message number
declaration.
The message ID (or message number) id must be the first declaration in the message structure. It is used by the
SCIOPTA kernel to identify SCIOPTA messages. After the message ID all structure members are declared. There
is no limit in structure complexity for SCIOPTA messages. It is only limited by the message size which you are
selecting at message allocation.
6.6.2.2 Syntax
struct <message_name>
{
sc_msgid_t id;
<member_type> <member>;
.
.
.
};
6.6.2.3 Parameter
message_name Name of the message
id This the place where the message number (or message ID) will be stored.
member Message data member.










