Echelon LonTal Stack User Manual

Page 62

Advertising
background image

50

Creating a LonTalk Stack Serial MIP Driver

Function

Syntax

Description

SciMipStatistics

LdvRetVal
SciMipStatistics(
LLPStats *pLlps,
int size,
BOOL bIfClear);

Returns a structure

containing device driver

statistics.

Set the size argument to

sizeof(LLPStats).

To clear the internal

statistics, set bIfClear to

TRUE.

SciMipSetMode

LdvRetVal SciMipSetMode(
LLPMode mode);

This Serial MIP driver

supports a mode where
downlink messages are

transmitted without the
normal CpMsgReq request.

This mode works under

controlled downlink traffic
conditions.
To enable this mode, set the

mode argument to
S10LLP_MODE_

NOREQUESTS.

SciMipSetKeys

LdvRetVal SciMipSetKeys(
SCMKeys *pKeys);

Sets the two keys used for

MIP/Host authentication.

If the driver is currently

open, the driver will initiate

the authentication process
when this API is called.
The actual keys used by the
MIP are not embedded in

the driver; they must be

supplied by the client
software.

Advertising