10 #include <esp_gattc_api.h> 16 namespace pvvx_mithermometer {
47 esp_ble_gattc_cb_param_t *param)
override;
void set_disconnect_delay(uint32_t ms)
const float DATA
For components that import data from directly connected sensors like DHT.
void set_writer(pvvx_writer_t &&writer)
float get_setup_priority() const override
optional< pvvx_writer_t > writer_
The RealTimeClock class exposes common timekeeping functions via the device's local real-time clock...
void print_battery(bool battery=true)
Print battery sign.
void set_auto_clear(bool auto_clear_enabled)
void setcfgbit_(uint8_t bit, bool value)
void print_bignum(float bignum)
Print the big number.
This class simplifies creating components that periodically check a state.
void print_smallnum(float smallnum)
Print the small number.
void dump_config() override
void print_unit(UNIT unit)
Print unit of big number.
void set_validity_period(uint16_t validity_period)
Set validity period of the display information in seconds (1..65535)
void print_sad(bool sad=true)
Print a sad face.
void delayed_disconnect_()
bool connection_established_
uint32_t disconnect_delay_ms_
void send_to_setup_char_(uint8_t *blk, size_t size)
esp32_ble_tracker::ESPBTUUID char_uuid_
void print_percent(bool percent=true)
Print percent sign at small number.
void clear()
Clear the screen.
esp32_ble_tracker::ESPBTUUID service_uuid_
Implementation of SPI Controller mode.
void print_happy(bool happy=true)
Print a happy face.
void set_time(time::RealTimeClock *time)
static ESPBTUUID from_raw(const uint8_t *data)
void print_bracket(bool bracket=true)
Print round brackets around the face.
std::function< void(PVVXDisplay &)> pvvx_writer_t
uint16_t validity_period_
void gattc_event_handler(esp_gattc_cb_event_t event, esp_gatt_if_t gattc_if, esp_ble_gattc_cb_param_t *param) override
time::RealTimeClock * time_
UNIT
Possible units for the big number.