summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Vakulenko <avakulenko@google.com>2015-08-24 10:06:41 -0700
committerAlex Vakulenko <avakulenko@google.com>2015-08-24 11:46:36 -0700
commit35df7aeee1ad100c42e50ac97b8477b293746fe9 (patch)
treeae584827c106141be1bef11cfdb015ef41e563b3
parente89ba8109810393df06352f61d695c56e539aff0 (diff)
downloaddragonboard-35df7aeee1ad100c42e50ac97b8477b293746fe9.tar.gz
Add weaved.conf for dragonboard
Default weaved configuration for DragonBoard BUG: 23425137 Change-Id: Ic4f63da7609aa9602330ee44c2da049b8a8e667b
-rw-r--r--base_product/dragonboard.mk4
-rw-r--r--base_product/weaved.conf85
2 files changed, 89 insertions, 0 deletions
diff --git a/base_product/dragonboard.mk b/base_product/dragonboard.mk
index 8e52cb4..d345eda 100644
--- a/base_product/dragonboard.mk
+++ b/base_product/dragonboard.mk
@@ -22,3 +22,7 @@ PRODUCT_BRAND := Brillo
PRODUCT_DEVICE := dragonboard
WIFI_INIT_MODULE := qcwcn
+
+# Install DragonBoard-specific config file for weaved.
+PRODUCT_COPY_FILES += \
+ device/qcom/dragonboard/base_product/weaved.conf:system/etc/weaved/weaved.conf
diff --git a/base_product/weaved.conf b/base_product/weaved.conf
new file mode 100644
index 0000000..c772cc7
--- /dev/null
+++ b/base_product/weaved.conf
@@ -0,0 +1,85 @@
+#
+# Copyright 2015 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# OAuth 2.0 client id.
+# client_id=58855907228.apps.googleusercontent.com
+
+# OAuth 2.0 client secret.
+# client_secret=eHSAREAHrIqPsHBxCE9zPPBi
+
+# OAuth 2.0 API key.
+# api_key=AIzaSyDSq46gG-AxUnC3zoqD9COIPrjolFsMfMA
+
+# OAuth 2.0 URL.
+# oauth_url=https://accounts.google.com/o/oauth2/
+
+# GCD service URL.
+# service_url=https://www.googleapis.com/clouddevices/v1/
+
+# Human readable name of the device.
+name=Starter Board
+
+# Human readable description of the device.
+# Defaults to empty string"
+description=Qualcomm DragonBoard 410c
+
+# Location of the device.
+# location=
+
+# Manufacturer of the device.
+oem_name=Qualcomm Technologies, Inc.
+
+# Model of the device.
+# Defaults to Brillo.
+model_name=DragonBoard
+
+# Five character code assigned by the cloud registry of device models.
+# Defaults to "AAAAA" (Unregistered model).
+model_id=ABHNy
+
+# Maximum role for local anonymous user.
+# local_anonymous_access_role=viewer
+
+# If true, allows local pairing using Privet API.
+# local_pairing_enabled=true
+
+# If true, allows local discovery using mDns.
+# local_discovery_enabled=true
+
+# GCD service polling interval in milliseconds.
+# polling_period_ms=7000
+
+# GCD service backup polling interval in milliseconds.
+# backup_polling_period_ms=1800000
+
+# Automatic mode causes buffet to automatically bring up a SoftAP for
+# bootstrapping when it looses network connectivity for long enough,
+# and on first boot.
+# wifi_auto_setup_enabled=true
+
+# List of pairing modes supported by device.
+# Values can be one of pinCode, embeddedCode, ultrasound32, audible32.
+# Defaults to pinCode if embedded_code_path is empty, or embeddedCode otherwise.
+pairing_modes=embeddedCode
+
+# Absolute path to file specifying an embedded pairing code. The file at
+# embedded_code_path should be a file in key value format, with a key
+# embedded_code.
+# Defaults to empty path.
+embedded_code_path=/etc/weaved/weaved.conf
+
+# Embedded code.
+embedded_code=0000