pub async fn enable_real_time_data(&self, enable: bool) -> Result<(), BluetoothError> {
        let argument = if enable { 0x01 } else { 0x00 };
        let command = [REAL_TIME_DATA_COMMAND, argument, 0, 0, 0, 0];
        self.bt_session
            .write_characteristic_value(&self.setting_data_characteristic, command)
            .await
    }
/// Enable or disable the device from sending real-time temperature data from its probes.
Enable or disable the device from sending real-time temperature data from its probes.
Enable or disable the device from sending real - time temperature data from its probes .
pub async fn enable_real_time_data(&self, enable: bool) -> Result<(), BluetoothError> {
        let argument = if enable { 0x01 } else { 0x00 };
        let command = [REAL_TIME_DATA_COMMAND, argument, 0, 0, 0, 0];
        self.bt_session
            .write_characteristic_value(&self.setting_data_characteristic, command)
            .await
    }
pub async fn enable_real_time_data ( & self , enable : bool ) -> Result < ( ) , BluetoothError > { let argument = if enable { 0x01 } else { 0x00 } ; let command = [ REAL_TIME_DATA_COMMAND , argument , 0 , 0 , 0 , 0 ] ; self . bt_session . write_characteristic_value ( & self . setting_data_characteristic , command ) . await }
Enable or disable the device from sending real-time temperature data from its probes.
Enable or disable the device from sending real - time temperature data from its probes .
&self
enable
bool
&self
enable
bool