// @file sns_sim_legacy.proto
//
// Defines standard message types for the Simulation Sensor
//
// Copyright (c) 2017 Qualcomm Technologies, Inc.
// All Rights Reserved.
// Confidential and Proprietary - Qualcomm Technologies, Inc.
syntax = "proto2";
import "nanopb.proto";
import "sns_std_sensor.proto";

// Data Message
// Data event generated by the simulation sensor.
// Uses sns_std_sensor_event message defined in sns_std_sensor.proto
// The data field of the sns_std_sensor_event message
// contains a float array of length 3 with the following definition
// 1) float data[0] to data[2]
//      containing the triaxial sensor data in floating point.
//      Units for different sensors are as follows
//      Accel: m/s2
//      Gyro: rad/s
// 2) sns_std_sensor_sample_status status;
//      containing the sample status as defined by the sns_std_sensor_sample_status enum
//      in sns_std_sensor.proto

// Configuration Message
// Used to either request for a certain configuration of the Sim Sensor or
// alter an already existing configuration of the Simulation Sensor
// Uses sns_std_sensor_config defined in sns_std_sensor.proto
// The message field definitions are as follows:
// 1) float sample_rate
//      containing the required sample rate of the Sim sensor in hertz
