Echelon LonWorks Twisted Pair Control Module User Manual

Page 54

Advertising
background image

46

Programming Considerations

implements layers 2 to 5 (and part of layer 6) of the LonTalk protocol and

provides the physical interface for the L

ON

W

ORKS

communications channel.

A simple serial communications interface provides communications between the

ShortStack Micro Server and the host processor. Because a ShortStack Micro

Server can work with any host processor, you must provide the serial driver

implementation, although Echelon does provide the serial driver API and an

example driver for a specific host processor. Currently, example drivers are

available for an Atmel ARM7 microprocessor and an Altera Nios II embedded

processor.
For ShortStack device development, you use the C programming language. You

use the Echelon LonTalk Interface Developer utility to create the application

framework. Your application uses an ANSI C API, the Echelon LonTalk

Compact API, to manage communications with the ShortStack Micro Server and

devices on the L

ON

W

ORKS

network.

See the ShortStack FX User’s Guide for more information about the ShortStack

Developer’s Kit.

Advertising