Lines Matching refs:req
189 ConfigureSensorRequest req; in EnableSensor() local
191 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor); in EnableSensor()
192 req.config.sensor_type = static_cast<uint8_t>(spec.sensor_type); in EnableSensor()
193 req.config.command = static_cast<uint8_t>( in EnableSensor()
196 req.config.rate = static_cast<uint32_t>(spec.special_rate); in EnableSensor()
198 req.config.rate = ConfigureSensorRequest::FloatRateToFixedPoint( in EnableSensor()
201 req.config.latency = spec.latency_ns; in EnableSensor()
206 auto result = WriteEvent(req); in EnableSensor()
223 ConfigureSensorRequest req; in DisableSensor() local
225 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor); in DisableSensor()
226 req.config.sensor_type = static_cast<uint8_t>(sensor_type); in DisableSensor()
227 req.config.command = static_cast<uint8_t>( in DisableSensor()
233 auto result = WriteEvent(req); in DisableSensor()
363 ConfigureSensorRequest req; in CalibrateSingleSensor() local
365 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor); in CalibrateSingleSensor()
366 req.config.sensor_type = static_cast<uint8_t>(sensor.sensor_type); in CalibrateSingleSensor()
367 req.config.command = static_cast<uint8_t>( in CalibrateSingleSensor()
372 auto result = WriteEvent(req); in CalibrateSingleSensor()
397 ConfigureSensorRequest req; in TestSingleSensor() local
399 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor); in TestSingleSensor()
400 req.config.sensor_type = static_cast<uint8_t>(sensor.sensor_type); in TestSingleSensor()
401 req.config.command = static_cast<uint8_t>( in TestSingleSensor()
406 auto result = WriteEvent(req); in TestSingleSensor()
583 ConfigureSensorRequest req; in SendCalibrationData() local
585 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor); in SendCalibrationData()
586 req.config.sensor_type = static_cast<uint8_t>(sensor_type); in SendCalibrationData()
587 req.config.command = static_cast<uint8_t>( in SendCalibrationData()
589 req.SetAdditionalData(cal_data); in SendCalibrationData()
591 auto result = WriteEvent(req); in SendCalibrationData()