3 option optimize_for = LITE_RUNTIME;
4 message Configuration {
5 optional string etag = 3 [default = ""];
6 optional SystemParams system = 5;
7 optional CarrierSenseParams carrier_sense = 6;
8 optional AudioDsssParams audio_dsss = 7;
9 optional LoggerParam logger = 13;
10 optional ClientDirectiveParams client_directive = 14;
11 optional AudioDtmfParams audio_dtmf = 15;
13 message DirectiveConfiguration {
14 optional TokenParams token_params = 1;
17 optional int32 length = 1 [default = 6];
18 optional string prefix = 2 [default = "GCS"];
20 message ClientDirectiveParams {
21 optional TokenParams audio_ultrasound_passband = 1;
22 optional TokenParams audio_audible_dtmf = 7;
24 message SystemParams {
25 optional bool enable_copresence_support = 1 [default = true];
26 optional bool enable_listen_ultrasound_audio = 2 [default = true];
27 optional bool enable_advertise_ultrasound_audio = 3 [default = true];
28 optional int64 kick_scheduler_timeout_millis = 16 [default = 30000];
29 optional int64 copresence_state_pruning_millis = 17 [default = 604800000];
30 optional int32 num_oauth_retries = 18 [default = 3];
31 optional int64 default_state_transition_timeout_millis = 19 [default = 1000];
32 optional int64 sync_adapter_period_seconds = 20 [default = 86400]; // 1 day
33 optional int64 heartbeat_interval_millis = 21 [default = 5000];
34 optional int64 transmit_directive_max_ttl_millis = 22 [default = 600000];
35 optional string experiment_override = 23 [default = ""];
36 optional int64 poll_delay_on_token_heard_in_millis = 24 [default = 2000];
37 optional bool enable_listen_audible_audio = 27 [default = true];
38 optional bool enable_advertise_audible_audio = 28 [default = true];
39 optional int64 duty_cycler_notify_timeout_millis = 30 [default = 5000];
40 optional bool enable_client_message_etag = 31 [default=false];
41 optional int64 max_duration_to_reserve_tokens_millis = 32 [default = 3600000];
42 optional int64 max_unauth_ttl_millis = 33 [default = 86400000];
43 optional bool enable_preseeded_tokens = 34 [default = false];
45 message CarrierSenseParams {
46 optional int64 max_additional_broadcast_time_millis = 1 [default = 0];
47 optional int64 max_additional_pause_broadcast_time_millis = 2 [default = 300];
48 optional int64 min_pause_broadcast_time_millis = 4 [default = 500];
49 optional int64 min_wait_time_when_broadcasting_millis = 5 [default = 1100];
50 optional int64 max_additional_wait_time_when_broadcasting_millis = 6
52 optional int64 min_wait_time_when_listening_millis = 7 [default = 4000];
53 optional int64 step_size_millis = 8 [default = 300];
54 optional int64 estimated_stop_playback_latency_millis = 9 [default = 150];
55 optional int64 min_broadcast_time_per_byte_millis = 10 [default = 400];
57 message AudioDsssParams {
58 optional int32 broadcaster_volume = 1 [default = 5];
59 optional bool include_parity_symbol = 2 [default = true];
60 optional bool use_single_sideband = 3 [default = true];
61 optional double desired_carrier_frequency = 4 [default = 18500.0];
62 optional bool use_crc_16 = 5 [default = false];
63 optional int32 number_of_taps_lfsr = 6 [default = 7];
64 optional int32 code_number = 7 [default = 0];
65 optional double coder_sample_rate = 8 [default = 48000.0];
66 optional int32 bits_per_symbol = 9 [default = 4];
67 optional int32 min_cycles_per_frame = 10 [default = 4];
68 optional int32 baseband_decimation_factor = 11 [default = 4];
69 optional int32 upsampling_factor = 12 [default = 16];
71 message AudioDtmfParams {
72 optional bool include_parity_symbol = 1 [default = true];
73 optional bool use_crc_16 = 2 [default = false];
74 optional double coder_sample_rate = 3 [default = 44100.0];
75 optional int32 baseband_decimation_factor = 4 [default = 16];
76 optional int32 frequencies_per_symbol = 5 [default = 2];
77 optional int32 window_duration_millis = 6 [default = 125];
78 optional AdsrParams adsr_params = 7;
79 optional double num_repetitions_to_play = 8 [default = 1];
82 optional int64 attack_time_millis = 1 [default = 8];
83 optional int64 decay_time_millis = 2 [default = 0];
84 optional int64 sustain_time_millis = 3 [default = 0];
85 optional int64 release_time_millis = 4 [default = 40];
86 optional double sustain_amplitude = 5 [default = 1.0];
89 optional int64 clear_cached_request_duration_millis = 1 [default = 172800000];
90 optional int32 request_buffer_limit = 3 [default = 200];