blob: 4f7b806a092c4aa81b20b9c37b1859e7f6f5b042 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// @file sns_accel_cal.proto
//
// Defines message types for the Accel Calibration Sensor.
//
// Copyright (c) 2017, 2020 Qualcomm Technologies, Inc.
// All Rights Reserved.
// Confidential and Proprietary - Qualcomm Technologies, Inc.
syntax = "proto2";
import "nanopb.proto";
import "sns_cal.proto";
// The Accel Calibration Sensor determines the calibration parameters
// for accel sensor
// Accel Calibration Sensor Attributes:
// - SNS_STD_SENSOR_ATTRID_TYPE: "accel_cal"
// - SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE
// Stream Requests:
// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG message ID is used to
// enable the sensor
// - SNS_CAL_MSGID_SNS_CAL_RESET message ID is used to reset the algorithm
// and any previously determined calibration parameters.
// Stream Events:
// - SNS_CAL_MSGID_SNS_CAL_EVENT message ID is used to report calibration
// parameters to the client of the sensor. The sns_cal_event message as
// defined in sns_cal.proto is used to report this data event where the
// units for the bias field in the message are in m / s ^2
|