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...
const uint8_t | kSamsungAcSwingV = 0b010
| < uSeconds More...
const uint8_t | kSamsungAcSwingH = 0b011
const uint8_t | kSamsungAcSwingBoth = 0b100
const uint8_t | kSamsungAcSwingOff = 0b111
const uint8_t | kSamsungAcFanSpecialOff = 0b000
const uint8_t | kSamsungAcPowerfulOn = 0b011
const uint8_t | kSamsungAcBreezeOn = 0b101
const uint8_t | kSamsungAcEconoOn = 0b111

## 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
  https://github.com/crankyoldgit/IRremoteESP8266/issues/1538 (Checksum)

## 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

## ◆ kSamsungAcBreezeOn

const uint8_t kSamsungAcBreezeOn = 0b101

## ◆ kSamsungAcEconoOn

const uint8_t kSamsungAcEconoOn = 0b111

## ◆ kSamsungAcFanSpecialOff

const uint8_t kSamsungAcFanSpecialOff = 0b000

## ◆ kSamsungAcHdrMark

const uint16_t kSamsungAcHdrMark = 690

## ◆ kSamsungAcHdrSpace

const uint16_t kSamsungAcHdrSpace = 17844

## ◆ kSamsungAcOneSpace

const uint16_t kSamsungAcOneSpace = 1432

## ◆ kSamsungAcPowerfulOn

const uint8_t kSamsungAcPowerfulOn = 0b011

## ◆ kSamsungAcSectionGap

const uint16_t kSamsungAcSectionGap = 2886

## ◆ kSamsungAcSectionMark

const uint16_t kSamsungAcSectionMark = 3086

## ◆ kSamsungAcSections

const uint8_t kSamsungAcSections = 2

## ◆ kSamsungAcSectionSpace

const uint16_t kSamsungAcSectionSpace = 8864

## ◆ kSamsungAcSwingBoth

const uint8_t kSamsungAcSwingBoth = 0b100

## ◆ kSamsungAcSwingH

const uint8_t kSamsungAcSwingH = 0b011

## ◆ kSamsungAcSwingOff

const uint8_t kSamsungAcSwingOff = 0b111

## ◆ kSamsungAcSwingV

const uint8_t kSamsungAcSwingV = 0b010

< uSeconds

## ◆ 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:37
kSamsungTick
const uint16_t kSamsungTick
Definition: ir_Samsung.cpp:24
kSamsungBitMarkTicks
const uint16_t kSamsungBitMarkTicks
Definition: ir_Samsung.cpp:29
kSamsungHdrMarkTicks
const uint16_t kSamsungHdrMarkTicks
Definition: ir_Samsung.cpp:25
kSamsungOneSpaceTicks
const uint16_t kSamsungOneSpaceTicks
Definition: ir_Samsung.cpp:31
kSamsungBits
const uint16_t kSamsungBits
Definition: IRremoteESP8266.h:1354
kSamsungHdrSpaceTicks
const uint16_t kSamsungHdrSpaceTicks
Definition: ir_Samsung.cpp:27