Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto NG Family Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
Pronto Hex and NEC codes with a twist
This thread has 3 replies. Displaying all posts.
Post 1 made on Friday January 22, 2016 at 07:07
jimbobhaslam
Long Time Member
Joined:
Posts:
January 2007
163
Hi all.

I have an Android media box, specifically a Minix X8H I'd like to control with my
Pronto. The Minix came with a really basic IR remote I've used to program in
some basic functions but would to improve on this.

The box has a built in IR receiver which is configured with a setting file called
remote.conf, this file seems to contain way more commands than the tiny
selection on the remote and also seems to have enough info to generate the extra
codes required.

At the top of the file are the following comments explaining the format

#this file is configuration for each factory remote device
#     work_mode      0 :software mode  1 :hardware mode
#    repeat_enable      0 :disable repeat 1 :enable repeat
#
#    factory_code      each device has it's unique factory code.
#              pattern:custom_code(16bit)+index_code(16bit)
#              examble: 0xff000001 = 0xff00(custom cod)  0001 (index)
#
#    release_delay      unit:ms.release will report from kernel to user layer after this period of time
#              from press or repeat triggered.
#
#    debug_enable      0 :debug disable  1 :debug disable
#
# SW MODE:
#    bit_count      how many bits in each frame
#    tw_leader_act      time window for leader active
#    tw_bit0          time window for bit0 time.
#    tw_bit1          time window for bit1 time
#    tw_repeat_leader  time window for repeat leader
# REG
#    reg_base_gen      set value for PREG_IR_DEC_BASE_GEN
#    reg_control      set value for PREG_IR_DEC_CONTROL
#    reg_leader_act      set value for PREG_IR_DEC_LEADER_ACTIVE
#    reg_leader_idle      set value for PREG_IR_DEC_LEADER_IDLE
#    reg_repeat_leader set value for PREG_IR_DEC_REPEAT_IDLE
#    reg_bit0_time      set value for PREG_IR_DEC_BIT0_TIME


Then the actual data

factory_code    = 0xfe010001
work_mode          = 0
repeat_enable = 1
repeat_delay = 40
repeat_peroid = 50
release_delay    =    100
debug_enable     = 0

left_key_scancode  = 0x47
right_key_scancode = 0x15
up_key_scancode    = 0x46
down_key_scancode  = 0x16
ok_key_scancode    = 0x55



key_begin
        0x47 105  #DPAD_LEFT
        0x15 106  #DPAD_RIGHT
        0x46 103  #DPAD_UP
        0x16 108  #DPAD_DOWN
        0x55 97   #ENTER
        0x40 1    #BACK
        0x04 125  #MENU
        0x14 115  #VOLUME_UP
        0x10 114  #VOLUME_DOWN
        0x0d 102  #HOME
        0x18 116  #POWER WAKE
        0x12 132  #TV_REPEAT
        0x20 131  #ZOOM_OUT
        0x21 130  #ZOOM_IN
        0x22 217  #SEARCH
        0x23 113  #VOLUME_MUTE
        0x24 120  #MEDIA_FAST_FORWARD
        0x25 121  #MEDIA_REWIND
        0x26 119  #MEDIA_PLAY_PAUSE
        0x27 128  #MEDIA_STOP
        0x28 123  #MEDIA_NEXT
        0x29 122  #MEDIA_PREVIOUS
        0x30 2    #1
        0x31 3    #2
        0x32 4    #3
        0x33 5    #4
        0x34 6    #5
        0x35 7    #6
        0x36 8    #7
        0x37 9    #8
        0x38 10   #9
        0x39 11   #0
        0x41 14   #DEL
        0x3a 52   #dot
        0x3b 28   #ENTER
        0x3c 359  #RECORD
        0x3d 94  #prog1
        0x3e 95  #prog2
        0x3f 514 #prog3
        0x41 515 #prog4
        0x42 177  #pageup
        0x43 178  #pagedown
        0x44 358  #info
        0x45 362  #guide
        0x48 402  #CH+
        0x49 403  #CH-
key_end  


Is that enough information to extrapolate some codes I can use with my Pronto, I
already have direction, OK, backup and home I learnt from the remote.
For example

Up
0000 006D 0022 0000 0155 00A7 0019 003B 0019 0013 0017 0013 0019 0011 0019 0013 0019 0011 0019 0013 0017 0013 0019 0011 0019 003D 0019 003B 0019 003B 0019 003D 0019 003B 0019 003B 0019 003D 0019 0011
0019 003B 0019 003D 0019 0011 0019 0013 0017 0013 0019 003B 0019 0013 0019 003B 0019 0013 0017 0013 0019 003B 0019 003D 0017 003D 0019 0011 0019 003D 0017 00A7


Enter
0000 006D 0022 0000 0155 00A7 0017 003D 0019 0013 0017 0013 0017 0015 0017 0013 0017 0015 0017 0013 0017 0013 0017 0015 0017 003D 0017 003D 0017 003F 0017 003D 0017 003D 0017 003F 0017 003D 0017 003D 0017 0015 0017 003D 0017 0013 0019 003D 0017 0013 0017 003D 0019 0013 0017 0013 0017 003F 0017 0013 0017 003D 0017 0015 0017 003D 0019 0013 0017 003D 0017 00A7

Cheers in advance

Jamie

Last edited by jimbobhaslam on January 22, 2016 07:17.
TSU9400
Post 2 made on Friday January 22, 2016 at 13:08
mdavej
Active Member
Joined:
Posts:
December 2002
627
Use IR Scrutinizer to generate the pronto hex using Protocol NEC, Device 1 and the hex codes converted to decimal for the OBC. For example Up 0x46 would be OBC 70 in decimal, DPAD_LEFT 0x47 would be OBC 71.
OP | Post 3 made on Saturday January 23, 2016 at 10:05
jimbobhaslam
Long Time Member
Joined:
Posts:
January 2007
163
Cheers for the suggestion.

Funnily enough I went and downloaded IR Scrutiniser shortly after my OP. I'll give it another go and report back.

From memory when I used the analyse option on my working learned code it did seem to suggest the device and OBC were as you say, however the frequency reports as different to the (non working) NEC code I generated with those values.

I may have done something wrong as I'm not exactly an expert on this stuff.
TSU9400
Post 4 made on Saturday January 23, 2016 at 20:42
jasonrusso
Long Time Member
Joined:
Posts:
November 2013
23
I used this when I got my Yamaha receiver that used NEC codes. It worked great.

[Link: awe-europe.com]


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse