Manual

Neuron C Reference Guide 199
struct {
boolean priority_on;
msg_tag tag;
int code;
int data[MAXDATA];
boolean authenticated;
service_type service;
msg_out_addr dest_addr;
} msg_out;
The various fields of the msg_out object are:
priority_on TRUE if a priority message. Defaults to FALSE.
tag Message tag of the outgoing message. This field must be
set.
code Message code of the outgoing message. This field must be
set.
data Message data.
authenticated Specifies message is to be authenticated. Defaults to
FALSE.
service Service type of the outgoing message. Defaults to ACKD.
dest_addr Optional, see the <msg_addr.h> include file.
See
msg_out Object Definition
in Chapter 6,
How Devices Communicate Using
Application Messages,
of the
Neuron C Programmer's Guide
for a more detailed
description of this structure.
resp_in Object
The resp_in object contains an incoming response to a request message. The type
is a structure predefined in Neuron C as shown below:
struct {
int code;
int len;
int data[MAXDATA];
resp_in_addr addr;
} resp_in;
The various fields of the resp_in object are:
code Message code for the incoming response message.
len Length of the message data in bytes.
data Message data.
addr Source address of this response, and address through
which this response was received. See the <msg addr.h>
include file.
See
Receiving a Response
in Chapter 6,
How Devices Communicate Using
Application Messages,
of the
Neuron C Programmer's Guide
for a more detailed
description of this structure.