NAME

Protocol::IR::Proto::Panasonic - Panasonic (Kaseikyo) protocol handler

VERSION

Version 0.08

DESCRIPTION

The Panasonic protocol handler (48-bit, Kaseikyo family, OEM code 0x40/0x04), from the DecodeIR definition:

{36k,432}<1,-1|1,-3>(8,-4,M:8,ID:8,D:8,S:8,F:8,(D^S^F):8,1,-173)+

Six bytes are transmitted in order (Mfg_hi=0x40, Mfg_lo=0x04, device, subdevice, function, checksum) behind a 3456/1728 us header. The frame is structured identically to JVC-48 (Kaseikyo family) with different OEM codes. Each byte is sent MSB-first on the wire, so the value a receiver accumulates (Tasmota's DataLSB) has per-byte bit-reversed OEM and device/function bytes. The address and command fields follow the IRDB convention: they store the bit-reversed wire byte (e.g. wire device 0x01 -> address 128 = 0x80), which is the accumulated form the decoder naturally produces. The checksum byte is device^subdevice^function in the IRDB (accumulated) convention.