Fetching a domain for a domain address server – Echelon ISI User Manual
Page 28

ISI Programmer’s Guide
26
Device
DAS
IsiFetchDevice()
starts device
fetching
Send Service
Pin message
Respond to Service
Pin message by
sending Wink
message
Respond to Wink
message with suitable
audible or visual
feedback
User confirms correct
device selection by
sending a second
Service Pin message
Respond to matching
Service Pin message by
assigning local domain
to remote device
E
XAMPLE
3
The following example fetches a device on a domain address server when the
user presses the Connect button on the server:
when (connect_button_pressed) {
IsiFetchDevice();
}
//Handle responses to requests in IsiFetchDevice()
when (resp_arrives) {
if (IsiProcessResponse()) {
// TODO: process unprocessed responses here (if any)
}
}
Fetching a Domain for a Domain Address Server
A domain address server can use the IsiFetchDomain() function to obtain a
domain ID. Unlike the IsiAcquireDomain() function, the IsiFetchDomain()
process does not require a domain address server to provide the domain ID
information, and does not use the DIDRM, DIDRQ, and DIDCF standard ISI
messages. Instead, the domain address server uses the IsiFetchDomain()