// @file sns_ccd_ttw.proto
//
// Defines message types for the ccd_ttw Sensor.
//
// Copyright (c) 2017-2018 Qualcomm Technologies, Inc.
// All Rights Reserved.
// Confidential and Proprietary - Qualcomm Technologies, Inc.

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

// The CCD ttw (tilt_to_wake) detects substantial phone rotation (gesture) within
// limited period ending in a specific range of the pitch and roll angles.

// tilt_to_wake Sensor Attribute Requirements:
// SNS_STD_SENSOR_ATTRID_TYPE: "ccd_ttw"
// SNS_STD_SENSOR_ATTRID_STREAM_TYPE: SNS_STD_SENSOR_STREAM_TYPE_ON_CHANGE

// Stream Requests:
// - SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG is used to enable the sensor

// Message IDs for ccd_ttw Sensor
enum sns_ccd_ttw_msgid {
  option (nanopb_enumopt).long_names = false;

  SNS_CCD_TTW_MSGID_SNS_CCD_TTW_EVENT = 775;
}

// Stream events:
//
// A NULL message with message ID SNS_CCD_TTW_MSGID_SNS_CCD_TTW_EVENT is used to
// publish ccd_ttw event
//
// ccd_ttw does not publish configuration events.
