|
JP1 Remotes
|
View previous topic :: View next topic |
Author |
Message |
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21211 Location: Chicago, IL |
Posted: Tue Oct 11, 2011 8:46 pm Post subject: Need protocol.ini help |
|
|
I want to create a new version of the official GI 4DTV protocol which doesn't calculate the checksum, but instead asks the user to enter it as a 2nd OBC column.
The official protocol uses 2 bytes of variable data, each of 6 bits. The first 6 bits of the 1st byte is the OBC (lsb). The next 2 bits are zeroes. The first 2 bits of the 2nd byte are the unit code, the next 4 are the checksum and the last 2 are zeroes. _________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help! |
|
Back to top |
|
|
3FG Expert
Joined: 19 May 2009 Posts: 3365
|
Posted: Tue Oct 11, 2011 11:30 pm Post subject: |
|
|
It isn't obvious to me why you would want to do that, so maybe I've misunderstood. Anyway.....
Code: | [GI4DTVRob]
PID=00 A4
DevParms=Unit Code:2=0
CmdParms=OBC:6=0, OBC2:4=0
CmdTranslator=Translator(comp,lsb,0,6) TranslatorFromDev(comp,lsb,0,2,8) Translator(comp,lsb,1,4,10)
DefaultCmd=00 00 |
|
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21211 Location: Chicago, IL |
Posted: Wed Oct 12, 2011 7:32 am Post subject: |
|
|
3FG wrote: | It isn't obvious to me why you would want to do that, so maybe I've misunderstood. |
Because I've come across a remote that uses the 4DTV protocol, but with a different checksum (it's the complement of what it should be).
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=10013
Thanks for the code Dave, I'll give it a try. _________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|