ESPHome 2025.5.0
|
Go to the source code of this file.
Namespaces | |
namespace | esphome |
Providing packet encoding functions for exchanging data with a remote host. | |
namespace | esphome::modbus_controller |
Functions | |
void | esphome::modbus_controller::number_to_payload (std::vector< uint16_t > &data, int64_t value, SensorValueType value_type) |
Convert float value to vector<uint16_t> suitable for sending. | |
int64_t | esphome::modbus_controller::payload_to_number (const std::vector< uint8_t > &data, SensorValueType sensor_value_type, uint8_t offset, uint32_t bitmask) |
Convert vector<uint8_t> response payload to number. | |