Hi Chuck,
if you want to confirm that a device is attached at a particular address, you can use the FindListener method on the Board class. This method takes an instance of the Address class and returns a bool indicating whether a listener is detected at that address, like this:
//test for primary address 2 on board 0
Board board = new Board(0);
Address address = new Address(2);
if (b.FindListener(address))
{
Device device = new device(0, address);
}
else
{
...
}
If you want to find the address of all available devices, you can use the FindListeners method, like this:
Board board = new Board(0);
AddressCollection addresses = board.FindListeners();
Device[] devices = new Device[](addresses.Count);
for (int i = 0; i < addresses
.Count; ++i)
{
devices[i] = new Device(0, addresses[i]);
}
I'm not sure what you mean by "multi-device calls." Can you elaborate a little more on what you'd like to be able to do?