Please login or register.

Login with username, password and session length

Author Topic: SDK and extended codes  (Read 6409 times)

dbemowsk

  • Hero Member
  • *****
  • Helpful Post Rating: 21
  • Posts: 428
    • PHP Web Scripting
SDK and extended codes
« 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.
Logged
Dan Bemowski
Owner of PHP Web Scripting LLC
Programmer of RemoteWatch X10
User of any X10 products I can get my hands on.

Tuicemen

  • Administrator
  • Hero Member
  • ****
  • Helpful Post Rating: 283
  • Posts: 10509
  • I don't work for X10, I use it successfuly!
Re: SDK and extended codes
« Reply #1 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.
 >!
Logged
Please Read Topic:
General Forum Etiquette
Before you post!

Noam

  • Community Organizer
  • Hero Member
  • ***
  • Helpful Post Rating: 51
  • Posts: 2818
Re: SDK and extended codes
« Reply #2 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
Logged

dbemowsk

  • Hero Member
  • *****
  • Helpful Post Rating: 21
  • Posts: 428
    • PHP Web Scripting
Re: SDK and extended codes
« Reply #3 on: July 11, 2011, 02:41:58 PM »

I do not have the latest SDK.  I will have to try that tonight.
Logged
Dan Bemowski
Owner of PHP Web Scripting LLC
Programmer of RemoteWatch X10
User of any X10 products I can get my hands on.
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.