## ## This file is part of the libsigrokdecode project. ## ## Copyright (C) 2014 Uwe Hermann ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ## This program is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with this program; if not, see . ## # Addresses/devices. Items that are not listed are reserved/unknown. address = { 0x40: 'Matsui TV', 0xEA41: 'Unknown LED Panel', } digits = { 0: ['0', '0'], 1: ['1', '1'], 2: ['2', '2'], 3: ['3', '3'], 4: ['4', '4'], 5: ['5', '5'], 6: ['6', '6'], 7: ['7', '7'], 8: ['8', '8'], 9: ['9', '9'], } # Commands. Items that are not listed are reserved/unknown. command = { 0x40: dict(list(digits.items()) + list({ 11: ['-/--', '-/--'], 16: ['Mute', 'M'], 18: ['Standby', 'StBy'], 26: ['Volume up', 'Vol+'], 27: ['Program up', 'P+'], 30: ['Volume down', 'Vol-'], 31: ['Program down', 'P-'], 68: ['AV', 'AV'], }.items())), # This is most likely a generic remote control. The PCB # has space for 16 buttons total, of which not all are # connected. The PCB is marked "JSY", "XSK-5462", and # "2014-6-12 JW". It consists of only a single IC, marked # "BJEC107BNE" or similar. The following buttons are # marked for the remote control of a LED panel this was # found in. 0xEA41: { 0x10: ['Warmer', 'T+'], 0x11: ['Colder', 'T-'], 0x12: ['Brighter', '+'], 0x13: ['Darker', '-'], 0x14: ['Off', 'O'], 0x15: ['On', 'I'], 0x41: ['Min Brightness', 'Min'], 0x48: ['Max Brightness', 'Max'], }, }