Isiappmsg class, Network management, Appimage class – Echelon Mini EVK User Manual

Page 95: Netmgmtmsg class

Advertising
background image

(domain resource usage message) that helps detect duplicate subnet/node IDs.

When the Monitoring & Control Example Application receives the DRUM, it
evaluates the subnet/node ID contained in the message. In the event that the

collision of subnet/node ID is detected, the example application reallocates a new

subnet/node ID and broadcast the new assigned subnet/node ID using the
DRUM. The IsiConfig class contains the implementation of the ISI

configuration.

IsiAppMsg Class

The IsiAppMsg class supports ISI messages. This class is derived from the

NiMsg class, which is the base class for all network interface messages. The

example application only uses the DRUM. The class can be modified to support
more ISI messages.

Network Management

This section describes the classes and files used for the network management
tasks performed by the Monitoring & Control Application.

AppImage Class

The Application Image module reads the application configuration, the SNVT

information, and fills in the NV Descriptor table with the SNVT data, the NV
direction, and the current connection information for each network variable

available on the device. This class also supports NV updates and NV polls.

NetMgmtMsg Class

The NetMgmtMsg class contains functions that support the following network
operations, both on the local network interface as well as on the remote device

(Neuron ID addressing):
• Query Status
• Update Domain
• Leave Domain
• Set Node Mode
• Ready Memory
• Wink
It also supports the following operations on the remote target only:
• Query Net Variable Config
• Query SNVT
• Update NV data
• Fetch NV data

Mini EVK User’s Guide

89

Advertising