// @file sns_cmd.proto
//
// Defines message types for the Continuous Motion Detector (CMD) Sensor.
//
// Copyright (c) 2018 Qualcomm Technologies, Inc.
// All Rights Reserved.
// Confidential and Proprietary - Qualcomm Technologies, Inc.

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

// CMD identified continuous motions such as vehicle and walk. CMD will initially start in an
// unknown state, and later transition to motion or stationary.

// CMD Sensor Attribute Requirements:
// SNS_STD_SENSOR_ATTRID_TYPE: "cmd"
// 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 CMD Sensor
enum sns_cmd_msgid {
  option (nanopb_enumopt).long_names = false;

  SNS_CMD_MSGID_SNS_CMD_EVENT = 772;
}

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


