#include <remote_base.h>
|
| class | EncodeCall |
| | A transmit call whose encode() runs one of Protocol's encoders on its data, for a payload the protocol encodes straight from a pointer and length; the call a generated action builds. More...
|
| |
| class | ProtocolCall |
| | Protocol data filled field by field, then sent by perform(); the call a generated transmit action builds. More...
|
| |
| class | TransmitCall |
| |
Definition at line 241 of file remote_base.h.
◆ EncodeFn
◆ RemoteTransmitterBase()
| esphome::remote_base::RemoteTransmitterBase::RemoteTransmitterBase |
( |
InternalGPIOPin * | pin | ) |
|
|
inline |
◆ encode_call()
template<RemoteProtocolEncoder Protocol>
| EncodeCall< Protocol > esphome::remote_base::RemoteTransmitterBase::encode_call |
( |
| ) |
|
|
inline |
◆ encode_thunk()
template<RemoteProtocolEncoder Protocol>
| static void esphome::remote_base::RemoteTransmitterBase::encode_thunk |
( |
RemoteTransmitData * | dst, |
|
|
const void * | data ) |
|
inlinestaticprotected |
◆ flush_pending_completion()
| virtual void esphome::remote_base::RemoteTransmitterBase::flush_pending_completion |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ notify_complete_() [1/2]
| void esphome::remote_base::RemoteTransmitterBase::notify_complete_ |
( |
bool | sent | ) |
|
|
inlineprotected |
Reports the frame handed to the platform last, after its final repeat and before the on_complete trigger; a seq only has to be unique within the 30 s reply window.
Definition at line 311 of file remote_base.h.
◆ notify_complete_() [2/2]
| void esphome::remote_base::RemoteTransmitterBase::notify_complete_ |
( |
bool | | ) |
|
|
inlineprotected |
◆ protocol_call()
template<RemoteProtocolEncoder Protocol>
| ProtocolCall< Protocol > esphome::remote_base::RemoteTransmitterBase::protocol_call |
( |
| ) |
|
|
inline |
◆ send_()
| void esphome::remote_base::RemoteTransmitterBase::send_ |
( |
uint32_t | send_times, |
|
|
uint32_t | send_wait, |
|
|
uint16_t | seq ) |
|
protected |
◆ send_internal()
| virtual void esphome::remote_base::RemoteTransmitterBase::send_internal |
( |
uint32_t | send_times, |
|
|
uint32_t | send_wait ) |
|
protectedpure virtual |
◆ send_single_()
| void esphome::remote_base::RemoteTransmitterBase::send_single_ |
( |
| ) |
|
|
inlineprotected |
◆ take_seq_() [1/2]
| uint16_t esphome::remote_base::RemoteTransmitterBase::take_seq_ |
( |
| ) |
|
|
inlineprotected |
◆ take_seq_() [2/2]
| static uint16_t esphome::remote_base::RemoteTransmitterBase::take_seq_ |
( |
| ) |
|
|
inlinestaticprotected |
◆ transmit() [1/2]
◆ transmit() [2/2]
template<RemoteProtocolEncoder Protocol>
| void esphome::remote_base::RemoteTransmitterBase::transmit |
( |
const typename Protocol::ProtocolData & | data, |
|
|
uint32_t | send_times = 1, |
|
|
uint32_t | send_wait = 0 ) |
|
inline |
◆ transmit_encoded_()
| void esphome::remote_base::RemoteTransmitterBase::transmit_encoded_ |
( |
EncodeFn | encode, |
|
|
const void * | data, |
|
|
uint32_t | send_times, |
|
|
uint32_t | send_wait ) |
|
protected |
◆ current_seq_
| uint16_t esphome::remote_base::RemoteTransmitterBase::current_seq_ {0} |
|
protected |
◆ next_seq_
| uint16_t esphome::remote_base::RemoteTransmitterBase::next_seq_ {0} |
|
protected |
◆ temp_
Use same vector for all transmits, avoids many allocations.
Definition at line 323 of file remote_base.h.
The documentation for this class was generated from the following files: