#
#  contributed by  Robert Hart, based on www.mythpvr.com/mythtv/files/DTT900
#
#  brand:  Zenith
#  model:  AKB36157102
#
#  brand:  Insignia
#  model:  AKB36157101
#
#  supported devices:
#
#      Zenith DTT900         Digital converter box
#      Zenith DTT901         Digital converter box with analog pass-through
#      Insignia NS-DXA1      Digital converter box
#      Insignia NS-DXA1-APT  Digital converter box with analog pass-through
#
#
# This remote uses the NEC protocol:
#
#   http://www.sbprojects.com/knowledge/ir/nec.htm
#   http://www2.renesas.com/faq/en/mi_com/f_com_remo.html
#
# In the NEC protocol, the least signifigant bit is transmitted first:
#   First, data bits 0 to 7 are transmitted,
#   Then, the inverted values of data bits 0 to 7 are transmitted.
#
# The REVERSE flag is used below to help show the intended value of the pre_data
# and remote button codes. In the hex values below, the left two hex digits are
# the inverted value, and the right two hex digits are the normal value.
#
#

begin remote

  name  Zenith_AKB36157102

  bits           16
  flags SPACE_ENC|CONST_LENGTH|REVERSE
  eps            30
  aeps          100

  header       9000  4500
  one           560  1690
  zero          560   560
  ptrail        560
  repeat       9000  2500
  pre_data_bits   16
  pre_data       0x08F7
  gap          108000

      begin codes
          CHUP        0xFF00
          CHDOWN      0xFE01
          VOLUP       0xFD02
          VOLDOWN     0xFC03
          UP          0xFB04
          DOWN        0xFA05
          RIGHT       0xF906
          LEFT        0xF807
          POWER       0xF708
          MUTE        0xF609
          SAP         0xF50A
          SLEEP       0xF10E
          0           0xEF10
          1           0xEE11
          2           0xED12
          3           0xEC13
          4           0xEB14
          5           0xEA15
          6           0xE916
          7           0xE817
          8           0xE718
          9           0xE619
          RECALL      0xE51A
          FAV         0xE11E
          CCD         0xC639
          MENU        0xBC43
          OK          0xBB44
          -           0xB34C
          EXIT        0xA45B
          ZOOM        0x8679
          SIGNAL      0x6996
          GUIDE       0x56A9
          DISPLAY     0x55AA


# alternate infrared commands

          CHUP2       0xDF20
          CHDOWN2     0xDE21
          OK2         0x8778
          MENU2       0x817E


# additional infrared commands

          POWER_OFF   0xA35C


# Warning: Both the factory commands below will erase settings.

#         FACTORY_MENU     0x15EA
#         FACTORY_RESET    0x14EB


      end codes

end remote
