Fetching a device from a domain address server – Echelon ISI User Manual
Page 27
25
ISI Programmer’s Guide
E
XAMPLE
1
The following example starts domain acquisition mode on a domain address
server when the user presses a Connect button on the server:
when (connect_button_pressed) {
IsiStartDeviceAcquisition();
}
Once started, the domain address server remains in this state for 5 minutes
unless cancelled with an IsiCancelAcquisitionDas() call. Each successful
device acquisition retriggers this timeout.
E
XAMPLE
2
The following example starts domain acquisition on a device when the user
pushes a Connect button on the device:
when (connect_button_pressed) {
IsiAcquireDomain(FALSE);
}
Fetching a Device from a Domain Address Server
A domain address server can use the IsiFetchDevice() function to assign the DAS’
unique domain ID to any device. Unlike the IsiAcquireDomain() function, the
IsiFetchDevice() function does not require any action, or special library code, on
the device. To fetch a device, call the IsiFetchDevice() function on the domain
address server.
DAS devices must make this feature available to the user. With this feature, it is
not required that devices support domain acquisition in order to participate in an
ISI network that uses unique domain IDs.
Similar to the domain acquisition process detailed above, fetching a device also
requires a manual confirmation step to ensure that the correct device is paired
with the correct domain address server: