Echelon OpenLNS User Manual

Page 907

Advertising
background image

OpenLNS Programmer's Reference

870

The possible values for this

parameter, which is contained in

the ConstEventSyncModes

constant, are as follows:
0 lcaEventNoSyncMode
Disables automatic event

synchronization.
If missed events are enabled, an

OnMissedEvent will be sent for

every missed event, including the

periodic ping event.
Missing a ping event will cause an

OnMissedEvent to be sent with the

isUnrecoverable parameter set to

TRUE, and the numMissedEvents

parameter set to 0.
1 lcaEventAutoSyncMode
Enables automatic event

synchronization.
Recovery will be done

automatically within calls to the

DoEventSync method.
An OnMissedEvent will only be

sent if the Server's "previously sent

events" buffer overflows. This

buffer can hold up to 20 events. If

the remote is out of contact while

more than 20 events were

generated for it, an OnMissedEvent

will be generated with the

isUnrecoverable parameter set to

TRUE and the numMissedEvents

parameter equal to some positive

integer. This lets the remote

device know that it should flush

out any caches it maintains via

event updates.
2 lcaEventHostSyncMode
This is not currently supported.

delay

The delay (in milliseconds) prior to

delivering a resynchronization

request. The default value is 0.
You shoud set the delay parameter

when there are more than a few

remote event subscribers to

prevent the network from being

flooded with resynchronization

Advertising