10#define LOG_ONE_WIRE_DEVICE(this) \
11 ESP_LOGCONFIG(TAG, " Address: %s (%s)", this->get_address_name().c_str(), \
12 LOG_STR_ARG(this->bus_->get_model_str(this->address_ & 0xff)));
std::string address_name_
bool check_address_()
find an address if necessary should be called from setup
OneWireBus * bus_
pointer to OneWireBus instance
void set_address(uint64_t address)
store the address of the device
bool send_command_(uint8_t cmd)
send command on the bus
void set_one_wire_bus(OneWireBus *bus)
store the pointer to the OneWireBus to use
const std::string & get_address_name()
Helper to create (and cache) the name for this sensor. For example "0xfe0000031f1eaf29".
Providing packet encoding functions for exchanging data with a remote host.