Home IO Control
ESPHome add-on for IO-Homecontrol devices
Loading...
Searching...
No Matches
esphome::home_io_control::advisor::PairingAdvice Struct Reference

One piece of advice, with the node/RSSI it pertains to (if any). More...

#include <pairing_advisor.h>

Collaboration diagram for esphome::home_io_control::advisor::PairingAdvice:

Public Attributes

PairingAdviceCode code {PairingAdviceCode::NONE}
uint8_t subject_node [NODE_ID_SIZE] {}
 Node the advice is about; zero if not applicable.
int16_t rssi {0}
 RSSI associated with the observation; zero if not applicable.
bool has_result_code {false}
 True when result_code carries the device's CMD_ERROR_RESP byte.
uint8_t result_code {0}
 CMD_ERROR_RESP byte the advice is about.
bool answered_as_controller {false}
 True when the device answered discovery as a remote controller.

Detailed Description

One piece of advice, with the node/RSSI it pertains to (if any).

Definition at line 53 of file pairing_advisor.h.

Member Data Documentation

◆ answered_as_controller

bool esphome::home_io_control::advisor::PairingAdvice::answered_as_controller {false}

True when the device answered discovery as a remote controller.

Definition at line 59 of file pairing_advisor.h.

◆ code

PairingAdviceCode esphome::home_io_control::advisor::PairingAdvice::code {PairingAdviceCode::NONE}

Definition at line 54 of file pairing_advisor.h.

◆ has_result_code

bool esphome::home_io_control::advisor::PairingAdvice::has_result_code {false}

True when result_code carries the device's CMD_ERROR_RESP byte.

Definition at line 57 of file pairing_advisor.h.

◆ result_code

uint8_t esphome::home_io_control::advisor::PairingAdvice::result_code {0}

CMD_ERROR_RESP byte the advice is about.

Definition at line 58 of file pairing_advisor.h.

◆ rssi

int16_t esphome::home_io_control::advisor::PairingAdvice::rssi {0}

RSSI associated with the observation; zero if not applicable.

Definition at line 56 of file pairing_advisor.h.

◆ subject_node

uint8_t esphome::home_io_control::advisor::PairingAdvice::subject_node[NODE_ID_SIZE] {}

Node the advice is about; zero if not applicable.

Definition at line 55 of file pairing_advisor.h.


The documentation for this struct was generated from the following file: