beautypg.com

Isiconnection structure, Isiconnectionheader structure – Echelon ISI User Manual

Page 107

background image

105

ISI Programmer’s Guide

Byte offset

Data Type

Field Name

Note

N

unsigned [5]

UniqueId

A unique identifier for the

connection host, based on

the host’s Neuron ID.

N+5 unsigned

long

SerialNumber

Connection

host-allocated

serial number.

The byte offset N is 1 for the IsiCid or IsiConnectionHeader structure used with
ISI message types, and is 0 (zero) when used with the IsiConnection structure.

IsiConnection Structure

Represents a row in the connection table that is read with IsiGetConnection()
and written using IsiSetConnection().

Data Type

Field

Name

Note

IsiConnectionHeader Header See

IsiConnectionHeader

unsigned

Host

Local assembly number that acts as

host for this connection, or
ISI_NO_ASSEMBLY if none.

unsigned

Member

Local assembly number that is member
to this connection, or

ISI_NO_ASSEMBLY if none.

unsigned : 2

State

Use IsiConnectionState enumerated

values

unsigned : 1

Extend

For pending enrollment: this is a

pending connection extension.

unsigned : 1

HaveCsme For pending enrollment hosts: at least

one member has enrolled.

unsigned : 4

Width

Width, as governed by this connection

table entry. A single connection table
entry can govern up to 4 selectors;

connections from compound assemblies

with a larger width are split into
multiple connection table entries.

ConnDesc structure

Desc.Bf

For—sometimes more efficient—access
via 8 bit cardinals, use the

Desc.OffsetAuto construct; see isi.h for

definition details.

IsiConnectionHeader Structure

Contains the connection identifier (CID) and selector value for a connection-
related ISI message.