diff options
author | Jeffy Chen <jeffy.chen@rock-chips.com> | 2016-01-26 18:19:06 +0800 |
---|---|---|
committer | Leo Wang <leozwang@google.com> | 2016-01-28 00:40:07 +0000 |
commit | 9ac7a63b022baead51bf17ac3e6372506497a5fa (patch) | |
tree | 426f6f89e6dee1fe75e3e2b27d1ebc58f58d32ca | |
parent | 3dba877997ede4feda50e0f07a9676cd36eec6d3 (diff) | |
download | kylin-9ac7a63b022baead51bf17ac3e6372506497a5fa.tar.gz |
Add weaved.conf, base on qcom's
Bug: 26581804
Change-Id: I229cd314196200fd5a95a6cc28c8582b537ed427
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
-rw-r--r-- | base_product/kylin.mk | 5 | ||||
-rw-r--r-- | base_product/weaved.conf | 79 |
2 files changed, 81 insertions, 3 deletions
diff --git a/base_product/kylin.mk b/base_product/kylin.mk index d3904f1..2f6007f 100644 --- a/base_product/kylin.mk +++ b/base_product/kylin.mk @@ -37,9 +37,8 @@ DEVICE_PACKAGES += \ keystore.default \ bootctrl.default -# TODO: Install kylin-specific config file for weaved. -# PRODUCT_COPY_FILES += \ -# device/rockchip/kylin/base_product/weaved.conf:system/etc/weaved/weaved.conf +PRODUCT_COPY_FILES += \ + device/rockchip/kylin/base_product/weaved.conf:system/etc/weaved/weaved.conf # Must be defined at the end of the file $(call add_device_packages) diff --git a/base_product/weaved.conf b/base_product/weaved.conf new file mode 100644 index 0000000..864dafd --- /dev/null +++ b/base_product/weaved.conf @@ -0,0 +1,79 @@ +# +# 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= + +# OAuth 2.0 client secret. +# client_secret= + +# OAuth 2.0 API key. +# api_key= + +# Human readable name of the device. +name=Starter Board + +# Human readable description of the device. +# Defaults to empty string" +description=Rockchip Kylin + +# Location of the device. +# location= + +# Manufacturer of the device. +oem_name=Rockchip + +# Model of the device. +# Defaults to Brillo. +model_name=Kylin + +# Five character code assigned by the cloud registry of device models. +# Defaults to "AAAAA" (Unregistered model). +model_id=ABCDE + +# 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. +# 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=hello |