irpTransmogrify and Ir Scrutinizer are great but I want to learn about how to do it myself for personal project I'm doing.
Can anyone help me understand how to get the Time Unit part of the IRP out of the pronto hex?
Example Pronto Hex:
0000 006D 0022 0022 0156 00AB 0014 0014 0014 0040 0014 0014 0014 0040 0014 0014 0014 0040 0014 0040 0014 0040 0014 0040 0014 0040 0014 0040 0014 0014 0014 0014 0014 0014 0014 0040 0014 0040 0014 0040 0014 0040 0014 0040 0014 0014 0014 0040 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0014 0040 0014 0014 0014 0040 0014 0040 0014 0040 0014 05A3 0156 00AB 0014 0014 0014 0040 0014 0014 0014 0040 0014 0014 0014 0040 0014 0040 0014 0040 0014 0040 0014 0040 0014 0040 0014 0014 0014 0014 0014 0014 0014 0040 0014 0040 0014 0040 0014 0040 0014 0040 0014 0014 0014 0040 0014 0014 0014 0014 0014 0040 0014 0014 0014 0014 0014 0014 0014 0040 0014 0014 0014 0040 0014 0040 0014 0014 0014 05A3
IRP:
{38.0k,526,msb}<1,-1|1,-3>(17,-4497u,A:32,1,-37.945m,(17,-4497u,B:32,1,-37.945m)*){A=0x57e3e817,B=0x57e3e916}
In the general spec it has the value 526. I know it's related to the frequency bytes (006D) but am unsure the formula to go from there to the IRP Time Unit value. I tried changing and checking on my own but I got stuck there. Any help would be appreciated