JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

Customer Code

 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> Slingbox
View previous topic :: View next topic  
Author Message
alanrichey
Expert


Joined: 24 Mar 2008
Posts: 3356
Location: UK/USA

PostPosted: Fri Apr 22, 2016 10:27 am    Post subject: Customer Code Reply with quote

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
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 18312
Location: Chicago, IL

PostPosted: Fri Apr 22, 2016 10:36 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
alanrichey
Expert


Joined: 24 Mar 2008
Posts: 3356
Location: UK/USA

PostPosted: Fri Apr 22, 2016 10:47 am    Post subject: Reply with quote

Ta
Back to top
View user's profile Send private message
alanrichey
Expert


Joined: 24 Mar 2008
Posts: 3356
Location: UK/USA

PostPosted: Thu May 12, 2016 12:34 am    Post subject: Reply with quote

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
View user's profile Send private message
vickyg2003
Site Admin


Joined: 20 Mar 2004
Posts: 6952
Location: Florida

PostPosted: Thu May 12, 2016 5:52 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
alanrichey
Expert


Joined: 24 Mar 2008
Posts: 3356
Location: UK/USA

PostPosted: Thu May 12, 2016 1:12 pm    Post subject: Reply with quote

Thanks Vicky, that worked.
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 18312
Location: Chicago, IL

PostPosted: Thu May 12, 2016 2:03 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
alanrichey
Expert


Joined: 24 Mar 2008
Posts: 3356
Location: UK/USA

PostPosted: Thu May 12, 2016 2:15 pm    Post subject: Reply with quote

Thanks for that, I better bookmark this page Very Happy
Back to top
View user's profile Send private message
vickyg2003
Site Admin


Joined: 20 Mar 2004
Posts: 6952
Location: Florida

PostPosted: Thu May 12, 2016 2:23 pm    Post subject: Reply with quote

Alan,
I have a little tool that I use to do LSB calculations
when I don't have access to a pc.
http://getzweb.net/jp1/HexCalculator/
Back to top
View user's profile Send private message Visit poster's website
alanrichey
Expert


Joined: 24 Mar 2008
Posts: 3356
Location: UK/USA

PostPosted: Thu May 12, 2016 2:32 pm    Post subject: Reply with quote

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> Slingbox All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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
Get Smart! the band's official homepage Rockabilly Central