// @file sns_tilt_to_wake.proto
//
// @brief Defines message types for the tilt_to_wake Sensors.
//
// @copyright
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
// All rights reserved.
// Confidential and Proprietary - Qualcomm Technologies, Inc.
//
// @details The tilt_to_wake sensor detects substantial phone rotation (gesture)
// within limited period ending in a specific range of the pitch and roll angles. 
// It uses proximity sensor to block the tilt event reporting in pocket or purse
//
// ## Attribute Requirements:
// 1. SNS_STD_SENSOR_ATTRID_TYPE: "tilt_to_wake"
// 2. SNS_STD_SENSOR_ATTRID_RIGID_BODY: sns_std_sensor_rigid_body_type
// 3. SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE
// 4. SNS_STD_SENSOR_ATTRID_API attribute contains "sns_tilt_to_wake.proto"
//
// ## Processing Stream Requests:
// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor
//
// ## Publishing Stream Events:
// - A NULL message with message ID SNS_TILT_TO_WAKE_MSGID_SNS_TILT_TO_WAKE_EVENT is used to
//   publish tilt_to_wake event
// - tilt_to_wake does not publish configuration events.

syntax = "proto2";
import "nanopb.proto";
import "sns_std_sensor.proto";


// @brief Message IDs for tilt_to_wake Sensor
enum sns_tilt_to_wake_msgid {
  option (nanopb_enumopt).long_names = false;

  SNS_TILT_TO_WAKE_MSGID_SNS_TILT_TO_WAKE_EVENT = 775;
}
