IRremoteESP8266: src/ir_Samsung.cpp File Reference

IRremoteESP8266

Variables
ir_Samsung.cpp File Reference

Support for Samsung protocols. Samsung originally added from https://github.com/shirriff/Arduino-IRremote/. More...

## Variables

const uint16_t | kSamsungTick = 560
const uint16_t | kSamsungHdrMarkTicks = 8
const uint16_t | kSamsungHdrMark = kSamsungHdrMarkTicks * kSamsungTick
const uint16_t | kSamsungHdrSpaceTicks = 8
const uint16_t | kSamsungHdrSpace = kSamsungHdrSpaceTicks * kSamsungTick
const uint16_t | kSamsungBitMarkTicks = 1
const uint16_t | kSamsungBitMark = kSamsungBitMarkTicks * kSamsungTick
const uint16_t | kSamsungOneSpaceTicks = 3
const uint16_t | kSamsungOneSpace = kSamsungOneSpaceTicks * kSamsungTick
const uint16_t | kSamsungZeroSpaceTicks = 1
const uint16_t | kSamsungZeroSpace = kSamsungZeroSpaceTicks * kSamsungTick
const uint16_t | kSamsungRptSpaceTicks = 4
const uint16_t | kSamsungRptSpace = kSamsungRptSpaceTicks * kSamsungTick
const uint16_t | kSamsungMinMessageLengthTicks = 193
const uint32_t | kSamsungMinMessageLength
const uint16_t | kSamsungMinGapTicks
const uint32_t | kSamsungMinGap = kSamsungMinGapTicks * kSamsungTick
const uint16_t | kSamsungAcHdrMark = 690
const uint16_t | kSamsungAcHdrSpace = 17844
const uint8_t | kSamsungAcSections = 2
const uint16_t | kSamsungAcSectionMark = 3086
const uint16_t | kSamsungAcSectionSpace = 8864
const uint16_t | kSamsungAcSectionGap = 2886
const uint16_t | kSamsungAcBitMark = 586
const uint16_t | kSamsungAcOneSpace = 1432
const uint16_t | kSamsungAcZeroSpace = 436
const uint16_t | kSamsung36HdrMark = 4515
const uint16_t | kSamsung36HdrSpace = 4438
| < uSeconds More...
const uint16_t | kSamsung36BitMark = 512
| < uSeconds More...
const uint16_t | kSamsung36OneSpace = 1468
| < uSeconds More...
const uint16_t | kSamsung36ZeroSpace = 490
| < uSeconds More...

## Detailed Description

Support for Samsung protocols. Samsung originally added from https://github.com/shirriff/Arduino-IRremote/.

See also
  https://github.com/crankyoldgit/IRremoteESP8266/issues/505
  https://github.com/crankyoldgit/IRremoteESP8266/issues/621
  https://github.com/crankyoldgit/IRremoteESP8266/issues/1062
  http://elektrolab.wz.cz/katalog/samsung_protocol.pdf

## Variable Documentation

## ◆ kSamsung36BitMark

const uint16_t kSamsung36BitMark = 512

< uSeconds

## ◆ kSamsung36HdrMark

const uint16_t kSamsung36HdrMark = 4515

## ◆ kSamsung36HdrSpace

const uint16_t kSamsung36HdrSpace = 4438

< uSeconds

## ◆ kSamsung36OneSpace

const uint16_t kSamsung36OneSpace = 1468

< uSeconds

## ◆ kSamsung36ZeroSpace

const uint16_t kSamsung36ZeroSpace = 490

< uSeconds

## ◆ kSamsungAcBitMark

const uint16_t kSamsungAcBitMark = 586

## ◆ kSamsungAcHdrMark

const uint16_t kSamsungAcHdrMark = 690

## ◆ kSamsungAcHdrSpace

const uint16_t kSamsungAcHdrSpace = 17844

## ◆ kSamsungAcOneSpace

const uint16_t kSamsungAcOneSpace = 1432

## ◆ kSamsungAcSectionGap

const uint16_t kSamsungAcSectionGap = 2886

## ◆ kSamsungAcSectionMark

const uint16_t kSamsungAcSectionMark = 3086

## ◆ kSamsungAcSections

const uint8_t kSamsungAcSections = 2

## ◆ kSamsungAcSectionSpace

const uint16_t kSamsungAcSectionSpace = 8864

## ◆ kSamsungAcZeroSpace

const uint16_t kSamsungAcZeroSpace = 436

## ◆ kSamsungBitMark

const uint16_t kSamsungBitMark = kSamsungBitMarkTicks * kSamsungTick

## ◆ kSamsungBitMarkTicks

const uint16_t kSamsungBitMarkTicks = 1

## ◆ kSamsungHdrMark

const uint16_t kSamsungHdrMark = kSamsungHdrMarkTicks * kSamsungTick

## ◆ kSamsungHdrMarkTicks

const uint16_t kSamsungHdrMarkTicks = 8

## ◆ kSamsungHdrSpace

const uint16_t kSamsungHdrSpace = kSamsungHdrSpaceTicks * kSamsungTick

## ◆ kSamsungHdrSpaceTicks

const uint16_t kSamsungHdrSpaceTicks = 8

## ◆ kSamsungMinGap

const uint32_t kSamsungMinGap = kSamsungMinGapTicks * kSamsungTick

## ◆ kSamsungMinGapTicks

const uint16_t kSamsungMinGapTicks

Initial value:
=
kSamsungMinMessageLengthTicks -
(kSamsungHdrMarkTicks + kSamsungHdrSpaceTicks +
kSamsungBits * (kSamsungBitMarkTicks + kSamsungOneSpaceTicks) +
kSamsungBitMarkTicks)

## ◆ kSamsungMinMessageLength

const uint32_t kSamsungMinMessageLength

Initial value:
=
kSamsungMinMessageLengthTicks * kSamsungTick

## ◆ kSamsungMinMessageLengthTicks

const uint16_t kSamsungMinMessageLengthTicks = 193

## ◆ kSamsungOneSpace

const uint16_t kSamsungOneSpace = kSamsungOneSpaceTicks * kSamsungTick

## ◆ kSamsungOneSpaceTicks

const uint16_t kSamsungOneSpaceTicks = 3

## ◆ kSamsungRptSpace

const uint16_t kSamsungRptSpace = kSamsungRptSpaceTicks * kSamsungTick

## ◆ kSamsungRptSpaceTicks

const uint16_t kSamsungRptSpaceTicks = 4

## ◆ kSamsungTick

const uint16_t kSamsungTick = 560

## ◆ kSamsungZeroSpace

const uint16_t kSamsungZeroSpace = kSamsungZeroSpaceTicks * kSamsungTick

## ◆ kSamsungZeroSpaceTicks

const uint16_t kSamsungZeroSpaceTicks = 1

kSamsungMinMessageLengthTicks
const uint16_t kSamsungMinMessageLengthTicks
Definition: ir_Samsung.cpp:36
kSamsungTick
const uint16_t kSamsungTick
Definition: ir_Samsung.cpp:23
kSamsungBitMarkTicks
const uint16_t kSamsungBitMarkTicks
Definition: ir_Samsung.cpp:28
kSamsungHdrMarkTicks
const uint16_t kSamsungHdrMarkTicks
Definition: ir_Samsung.cpp:24
kSamsungOneSpaceTicks
const uint16_t kSamsungOneSpaceTicks
Definition: ir_Samsung.cpp:30
kSamsungBits
const uint16_t kSamsungBits
Definition: IRremoteESP8266.h:1060
kSamsungHdrSpaceTicks
const uint16_t kSamsungHdrSpaceTicks
Definition: ir_Samsung.cpp:26