View previous topic :: View next topic |
Author |
Message |
alanrichey Expert
Joined: 24 Mar 2008 Posts: 3529 Location: UK/USA |
Posted: Fri Apr 22, 2016 10:27 am Post subject: Customer Code |
|
|
Hi
Someone has asked mt to create a Slingbox BIN file for a box that is not yet on the market. he knows it uses NEC1 and he has the OBCs for each button, but the only other information is "Customer Code 01fd". Anyone know if that relates to the device/sub-device ?
Al |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21237 Location: Chicago, IL |
Posted: Fri Apr 22, 2016 10:36 am Post subject: |
|
|
Try 128.191 _________________ 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 |
|
|
alanrichey Expert
Joined: 24 Mar 2008 Posts: 3529 Location: UK/USA |
Posted: Fri Apr 22, 2016 10:47 am Post subject: |
|
|
Ta |
|
Back to top |
|
|
alanrichey Expert
Joined: 24 Mar 2008 Posts: 3529 Location: UK/USA |
Posted: Thu May 12, 2016 12:34 am Post subject: |
|
|
It didn't work and he has now changed his mind and says the code is 0x80BF.
What does that translate to ? |
|
Back to top |
|
|
vickyg2003 Site Admin
Joined: 20 Mar 2004 Posts: 7073 Location: Florida |
Posted: Thu May 12, 2016 5:52 am Post subject: |
|
|
Try 1.253 _________________ Remember to provide feedback to let us know how the problem was solved and share your upgrades.
Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
|
|
Back to top |
|
|
alanrichey Expert
Joined: 24 Mar 2008 Posts: 3529 Location: UK/USA |
Posted: Thu May 12, 2016 1:12 pm Post subject: |
|
|
Thanks Vicky, that worked. |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21237 Location: Chicago, IL |
Posted: Thu May 12, 2016 2:03 pm Post subject: |
|
|
Alan, in case you want to know how we're translating those hex codes into decimal, we convert them to binary and then read them backwards. We know that NEC1 is an LSB protocol, so that's why we read the binary backwards. Had it been MSB we could have read the binary in the conventional fashion.
We're ignoring the fact that NEC1 is LSB-COMP because the COMP part refers to the UEI executor, so we don't need that to read a customer code.
There is a tool in IR.exe called "EFC Calculator" under the Tools menu that might be useful for this. If you enter "80" as the hex code, it gives a code of 1 in the LSB box, and if you enter "BF" it gives 253.
You can also do this in Excel if you like.
1. Enter "BF" in cell A1.
2. Enter =HEX2BIN(A1,8) in cell B1
3. Enter =BIN2DEC(MID(B1,8,1)&MID(B1,7,1)&MID(B1,6,1)&MID(B1,5,1)&MID(B1,4,1)&MID(B1,3,1)&MID(B1,2,1)&MID(B1,1,1)) in cell C1
And cell C1 will hold the result. _________________ 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 |
|
|
alanrichey Expert
Joined: 24 Mar 2008 Posts: 3529 Location: UK/USA |
Posted: Thu May 12, 2016 2:15 pm Post subject: |
|
|
Thanks for that, I better bookmark this page |
|
Back to top |
|
|
vickyg2003 Site Admin
Joined: 20 Mar 2004 Posts: 7073 Location: Florida |
|
Back to top |
|
|
alanrichey Expert
Joined: 24 Mar 2008 Posts: 3529 Location: UK/USA |
Posted: Thu May 12, 2016 2:32 pm Post subject: |
|
|
Thanks |
|
Back to top |
|
|
|