1 /* 2 * Copyright (C) 2021 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package com.android.server.uwb.data; 17 18 public class UwbCccConstants { 19 20 /* CCC Hopping [S]*/ 21 public static final int HOPPING_CONFIG_MODE_NONE = 0X00; 22 public static final int HOPPING_CONFIG_MODE_CONTINUOUS_DEFAULT = 0X03; 23 public static final int HOPPING_CONFIG_MODE_CONTINUOUS_AES = 0X05; 24 25 public static final int HOPPING_CONFIG_MODE_MODE_ADAPTIVE_DEFAULT = 0X02; 26 public static final int HOPPING_CONFIG_MODE_MODE_ADAPTIVE_AES = 0X04; 27 28 29 public static final String KEY_STARTING_STS_INDEX = "starting_sts_index"; 30 public static final String KEY_UWB_TIME_0 = "uwb_time_0"; 31 public static final String KEY_HOP_MODE_KEY = "hop_mode_key"; 32 public static final String KEY_SYNC_CODE_INDEX = "sync_code_index"; 33 public static final String KEY_RAN_MULTIPLIER = "ran_multiplier"; 34 /* CCC Hopping [E]*/ 35 } 36