Correct - you'll get a reply from the CM15a even if the device you're requesting status for doesn't exist. The reply value is meaningless, but any reply means the CM15a is there.
Not sure about the A6 question.
You might try checking in on Home Automation Chat www.bdshost.com/ac/ and see if some of the guys there can help. Best time would probably be between 7PM and 11PM Eastern time.
Good Luck!
ITguy
I could't get this to work as I have the bugged drivers and the latest AHP will not install on my 64bit development system. But I found that the return value of the actual send function returns -1 if the controller is not connected. It is also suposed to return 1 or 0 for the state of the device but as my driver is the broken one and I only get 0. But that is fine as i'm only using it to check for connection of the controller.
This is what I do, the e11 address was just a test as I knew I had nothing at e11. But works just as well with any other address...
//Cheeky way to test for cm15 connection.
int res = (int)cm15.SendAction("queryplc", "e11 on", null, null);
if (res == -1)
{
GatewayStatus.X10ControllerState(ID, false);
}
else
{
GatewayStatus.X10ControllerState(ID, true);
}