Outlaw Audio home shop products hideout news support about
Page 5 of 8 < 1 2 3 4 5 6 7 8 >
Topic Options
#54155 - 12/20/05 08:30 AM Re: RS-232 Protocol for the technically inclined
gband Offline
Gunslinger

Registered: 10/19/05
Posts: 65
Loc: Central NJ
You "could" make it work, but as prefect said its a binary protocol. Looking at it you could take the binary, convert it to the appropriate ascii so hyperterminal could send it out (i.e. hyperterminal would see it as ascii, but the 990 would see it as binary streams). The characters woiuld be a mess, and is a real pain.

Top
#54156 - 12/21/05 07:14 AM Re: RS-232 Protocol for the technically inclined
CI Offline
Gunslinger

Registered: 06/14/04
Posts: 99
Loc: New City, New York, USA
I just needed ONE code (Mute: 834511D9).

I would really appreciate any help in obtaining this "workaround" to generate the asci translation for this one code.

My hope is as you noted, to send it either as a binary code by the terminal program, or basically the same thing from the com port of the Stargate home automation controller).


Thanks!!!

Top
#54157 - 12/21/05 01:55 PM Re: RS-232 Protocol for the technically inclined
Prefect Offline
Gunslinger

Registered: 03/14/02
Posts: 189
Loc: Boston, MA, USA
Well, that code effectively is ASCII. It's four bytes:

83 hex (unprintable upper ASCII)
45 hex (uppercase "E")
11 hex (control Q)
D9 hex (unprintable upper ASCII)

I don't know how the Stargate stuff works, but if you can define arbitrary data and send it, you should basically just put that in and send it and it should work.

Top
#54158 - 12/21/05 08:41 PM Re: RS-232 Protocol for the technically inclined
CI Offline
Gunslinger

Registered: 06/14/04
Posts: 99
Loc: New City, New York, USA
83 hex (unprintable upper ASCII)
45 hex (uppercase "E")
11 hex (control Q)
D9 hex (unprintable upper ASCII)
Thanks Ken....

Sorry for not getting it...but I do not follow...

What exactly do I type? 83hex (and the hex doesn't appear)
45 hEx (hex with an uppercase E)
11 hex (and press control Q)
and, D9 hex (and the hex doesn't appear)

Am I understanding correctly??

I had already tried the straight command:
834511D9
and got nothing.

Appreciate the clafification!

Top
#54159 - 12/22/05 08:45 AM Re: RS-232 Protocol for the technically inclined
gband Offline
Gunslinger

Registered: 10/19/05
Posts: 65
Loc: Central NJ
Google up ascii tables and you'll get lots of links to "hex to ascii" conversion.

Its been a while since I've dump hex out of HT and if I have time today I'll try it.
What Prefect is saying is create a file which will dump out the appropriate bytes in sequence. So in this case it will need to dump out 83(hex) or 131 (dec). You can't just type 83 or 131 as HT will send out the ASCII for 1, then 3, then 1. It needs 131 as a byte, which is an extended ascii.
I'll try to get to it this afternoon. Like I said its a pain.

Top
#54160 - 12/22/05 11:41 AM Re: RS-232 Protocol for the technically inclined
Eric A Offline
Gunslinger

Registered: 11/26/05
Posts: 38
If using a PC, try using the numeric keypad. Hold down ALT, then type 131 and let go of the ALT key. That should send the byte value of 131.

then type E
then ALT+17
then ALT+217 on the keypad

You can type this in notepad and then paste into your terminal program. You can try pasting this into your terminal program. I typed the byte string into notepad and pasted it below. I don't know if it will survive the posting process intact:

âE◄┘

Top
#54161 - 12/22/05 02:44 PM Re: RS-232 Protocol for the technically inclined
CI Offline
Gunslinger

Registered: 06/14/04
Posts: 99
Loc: New City, New York, USA
Thanks very much Eric and Gband. M'God, that looks like Klingon language....don't even have a way of typing that!!!!

Eric, tried with notepad and got nothing.

Gband, if you do have a way to get this code, it would be a lifesaver indeed. My email is: hrbstereo@verizon.net

Thanks again for the help......

Harris

Top
#54162 - 12/23/05 10:31 AM Re: RS-232 Protocol for the technically inclined
CI Offline
Gunslinger

Registered: 06/14/04
Posts: 99
Loc: New City, New York, USA
%38%33%34%35%31%31%44%39
(Above symbols are percent signs followed by the number)

The above code was generated with an ascii to hex converter, translating the 834511D9 code to hex.

Is this the correct conversion to use with HT??

Top
#54163 - 12/23/05 05:37 PM Re: RS-232 Protocol for the technically inclined
Prefect Offline
Gunslinger

Registered: 03/14/02
Posts: 189
Loc: Boston, MA, USA
That's just the point; you don't really have a way of typing it directly, because most of the characters are not normal printable/typable ASCII. The trick Eric discusses is a way to allow you to "type" arbitrary ASCII characters by way of their code in decimal. So the codes are all converted from hexadecimal to decimal.

If you fire up Hyperterminal you should be able to do the following:

- Make sure num lock is turned on.

- Make sure you're focused on your Hyperterminal window.

- Hold down ALT and type the following codes using your numeric keypad. After each code, let go of ALT and move on to the next code.

The codes:
131
69
17
217


Normally you wouldn't ever use it this way. You'd have software written capable of sending arbitrary commands, and you'd put this string of bytes into the command and have it send it automatically.

Top
#54164 - 12/23/05 06:22 PM Re: RS-232 Protocol for the technically inclined
CI Offline
Gunslinger

Registered: 06/14/04
Posts: 99
Loc: New City, New York, USA
Thanks a mill...

I think I get it. Can the string which is obtained this way be saved, and copied, to another terminal type program (which is what Stargate essentially is), for use as a command in a home automation routine?

e.g., if phone rings, this command would be sent by the home automation controller to the 990, to temporarily mute it. All that is needed for the controller is a line of characters that the 990 would respond to, so I am hoping that the "trick"
to producing this string as you described, would result in an actual command line of characters which could be cut and pasted into the Stargate program, for routine use.

Hope this is clear!

Appreciate any feedback on this,
Thanks,
Harris

Top
Page 5 of 8 < 1 2 3 4 5 6 7 8 >

Who's Online
0 registered (), 147 Guests and 1 Spider online.
Key: Admin, Global Mod, Mod
Newest Members
jamescuz, Zilla8d3, waferman, picnicjc, Hedoboy
8709 Registered Users
Top Posters (30 Days)
butchgo 1
zuter 1
Forum Stats
8,709 Registered Members
88 Forums
11,327 Topics
98,693 Posts

Most users ever online: 476 @ 12/28/22 08:54 PM