i can find easily how is define key code but i don t understand the way of calculating id
ex: for sf8008 octagon device id is A05F or 5FA0 (reverse) in rmdu files FixedData=00 5F 00 ????
for vbox6 id is 00FA or FF05 (reverse) in rmdu files FixedData=20 FF 05 OK!!!
does the first byte (00 or 20) do something ??
how is calculate ident in NEC1 protocol
Moderator: Moderators
-
dreambox59
- Posts: 7
- Joined: Fri May 08, 2020 6:38 am
how is calculate ident in NEC1 protocol
sat receiver
-
The Robman
- Site Owner
- Posts: 21923
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
It's a better idea to try and understand the codes, then use the decimal codes in RM.
The hex codes that you've found are the raw binary signal in hex format, these hex codes are not the same as the hex codes used in RM. In RM we use decimal values, and how you get the deimal values from the binary varies by protocol. Some are MSB, which means you can read the decimal directly from the binary, but most are LSB which means you have the read the binary backwards (ie, left to right).
the following spreadsheet shows how to read your binary codes:
https://www.hifi-remote.com/forums/dload ... e_id=25935
a0 5f = device code 5
00 fa = device code 0 and sub-device = 250
The first byte of fixed data for the NEC protocol is a control byte which decides things like:
* Should the second byte be the complement of the first
* Do you want an NEC1 or NEC2 signal (or even NECx1 or NECx2)
* Do you want special handling of the RECORD button, etc
So, it's best to let RM decide what should go in the fixed data.
The hex codes that you've found are the raw binary signal in hex format, these hex codes are not the same as the hex codes used in RM. In RM we use decimal values, and how you get the deimal values from the binary varies by protocol. Some are MSB, which means you can read the decimal directly from the binary, but most are LSB which means you have the read the binary backwards (ie, left to right).
the following spreadsheet shows how to read your binary codes:
https://www.hifi-remote.com/forums/dload ... e_id=25935
a0 5f = device code 5
00 fa = device code 0 and sub-device = 250
The first byte of fixed data for the NEC protocol is a control byte which decides things like:
* Should the second byte be the complement of the first
* Do you want an NEC1 or NEC2 signal (or even NECx1 or NECx2)
* Do you want special handling of the RECORD button, etc
So, it's best to let RM decide what should go in the fixed data.
Last edited by The Robman on Mon May 11, 2020 7:38 am, edited 1 time in total.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
-
dreambox59
- Posts: 7
- Joined: Fri May 08, 2020 6:38 am
thanks mr robman
i have a look on excel calculation but something is not clear :
take octagon SF8008 exemple in rmdu file there is :
Protocol.name=NEC1
ProtocolParms=5 null null 0 0
FixedData=00 5F 00
fixed data is in hex format but how to recover real id (A05f or 5fA0) ?
with your excel board i obtain $FA o $05 but not $5f ?
what is protocolparms ? when i read my remote after download it these terms are changed !
"So, it's best to let RM decide what should go in the fixed data."
i want to create a new rmdu file for an old remote
type nec1
ID = $E17A or §875E or $5E87
can you give me the way to calculate the fixed data
BR
i have a look on excel calculation but something is not clear :
take octagon SF8008 exemple in rmdu file there is :
Protocol.name=NEC1
ProtocolParms=5 null null 0 0
FixedData=00 5F 00
fixed data is in hex format but how to recover real id (A05f or 5fA0) ?
with your excel board i obtain $FA o $05 but not $5f ?
what is protocolparms ? when i read my remote after download it these terms are changed !
"So, it's best to let RM decide what should go in the fixed data."
i want to create a new rmdu file for an old remote
type nec1
ID = $E17A or §875E or $5E87
can you give me the way to calculate the fixed data
BR
sat receiver
-
dreambox59
- Posts: 7
- Joined: Fri May 08, 2020 6:38 am