X10 Community Forum

🖥️ActiveHome Pro => SDK => Topic started by: dbemowsk on July 10, 2011, 02:19:43 AM

Title: SDK and extended codes
Post by: dbemowsk on July 10, 2011, 02:19:43 AM
OK, I am trying some things with the SDK samples for VB.  I have compiled the sample that monitors ActiveHomeObj.RecvAction  and writes the received information to the console screen.  If I send something like "sendplc A3 dim 50", the ActiveHomeObj.RecvAction displays exactly that.  However, if I send "sendplc A3 ExtCode 31 3F" the console shows nothing.  Can the SDK receive extended codes?  I want to try some things with extended codes using the SDK, but I can't seem to get it to receive them.
Title: Re: SDK and extended codes
Post by: Tuicemen on July 11, 2011, 08:15:08 AM
Are you using the newest release of the SDK?
I believe one of the newer releases of the SDK addressed the extended code issues.
 >!
Title: Re: SDK and extended codes
Post by: Noam on July 11, 2011, 08:43:49 AM
The SDK-created programs I use seem to recognize the Extended codes (They do convert the hex to decimal, though).

I just did a quick test with the "ahcview.exe" example that comes with the SDK, and it showed my extended codes just fine (in decimal, of course).

The latest SDK was released on 5/16/2011. You can get it here:
http://www.activehomepro.com/sdk/sdk-info.html
Title: Re: SDK and extended codes
Post by: dbemowsk on July 11, 2011, 02:41:58 PM
I do not have the latest SDK.  I will have to try that tonight.