URL Encoding
JasonTan
Junior Member
Hi All,
How to convert hex code $AA to URL %?? and $FF to %??
I'm trying to control Samsung TV thru Vision2 Master using Amino box sending commands to Samsung TV but when i use the code %AA%11%FF%01%01%12 for power on command, the string that I receive is some mis-interpretted commands on Amino RS232 output. I have captured the string using laptop software.
If controlling Panasonic TV, using %02PON%03 in the netlinx module, it will work but it can't work for %AA and %FF guess I can't directly perform URL encoding for hex code $AA and $FF.
Hope someone can help here...
Thanks...
How to convert hex code $AA to URL %?? and $FF to %??
I'm trying to control Samsung TV thru Vision2 Master using Amino box sending commands to Samsung TV but when i use the code %AA%11%FF%01%01%12 for power on command, the string that I receive is some mis-interpretted commands on Amino RS232 output. I have captured the string using laptop software.
If controlling Panasonic TV, using %02PON%03 in the netlinx module, it will work but it can't work for %AA and %FF guess I can't directly perform URL encoding for hex code $AA and $FF.
Hope someone can help here...
Thanks...
Comments
-
Hmmm.
Post the code where you create the string please. -
Sample of the code sent to Vision2 Master
We have found a module in AMX website and tried using button event to trigger the command below-mentioned:
BUTTON_EVENT[dvTP3a,1]
{
PUSH:
{
SEND_COMMAND vdvV2,"'SENDRS232-10.160.84.72,9600,ª%11 ÿ%01%01%12'"
}
}
BUTTON_EVENT[dvTP4a,1]
{
PUSH:
{
SEND_COMMAND vdvV2,"'SENDRS232-10.160.84.72,9600,%AA%11%FF%01%01%12'"
}
}
Both commands can't work after Amino Box RS-232 Output comes out something different and Samsung TV cannot be controlled by the commands received.
However we noticed that the command for Panasonic Projector / TV Displays work like the one show as follows:
BUTTON_EVENT[dvTP4a,1]
{
PUSH:
{
SEND_COMMAND vdvV2,"'SENDRS232-10.160.84.72,9600,%02PON%03'"
}
}
So the problem lies with %AA and %FF that cannot be encoded correctly and we need ways to make it work.
Hope you can help us on this.
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums