meta-digi-dey: Add bluetooth main configuration files
Configure bluetoothd to enable the controller automatically. https://jira.digi.com/browse/DEL-3711 https://jira.digi.com/browse/DEL-3436 https://jira.digi.com/browse/DEL-3636 https://jira.digi.com/browse/DEL-3955 Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
parent
1974e5a73e
commit
3ab6c6caa5
|
|
@ -0,0 +1,12 @@
|
||||||
|
[General]
|
||||||
|
|
||||||
|
# Default adapter name
|
||||||
|
# Defaults to 'BlueZ X.YZ'
|
||||||
|
Name = cc6
|
||||||
|
|
||||||
|
#[Policy]
|
||||||
|
|
||||||
|
# AutoEnable defines option to enable all controllers when they are found.
|
||||||
|
# This includes adapters present on start as well as adapters that are plugged
|
||||||
|
# in later on. Defaults to 'false'.
|
||||||
|
#AutoEnable=true
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
[General]
|
||||||
|
|
||||||
|
# Default adapter name
|
||||||
|
# Defaults to 'BlueZ X.YZ'
|
||||||
|
Name = cc6ul
|
||||||
|
|
||||||
|
[Policy]
|
||||||
|
|
||||||
|
# AutoEnable defines option to enable all controllers when they are found.
|
||||||
|
# This includes adapters present on start as well as adapters that are plugged
|
||||||
|
# in later on. Defaults to 'false'.
|
||||||
|
AutoEnable=true
|
||||||
|
|
@ -4,6 +4,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${BP}:"
|
||||||
|
|
||||||
SRC_URI += " \
|
SRC_URI += " \
|
||||||
file://bluetooth-init \
|
file://bluetooth-init \
|
||||||
|
file://main.conf \
|
||||||
file://0001-hcitool-do-not-show-unsupported-refresh-option.patch \
|
file://0001-hcitool-do-not-show-unsupported-refresh-option.patch \
|
||||||
file://0002-hcitool-increase-the-shown-connection-limit-to-20.patch \
|
file://0002-hcitool-increase-the-shown-connection-limit-to-20.patch \
|
||||||
"
|
"
|
||||||
|
|
@ -37,10 +38,12 @@ PACKAGECONFIG_append = " experimental"
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
install -d ${D}${sysconfdir}/init.d/
|
install -d ${D}${sysconfdir}/init.d/
|
||||||
install -m 0755 ${WORKDIR}/bluetooth-init ${D}${sysconfdir}/init.d/bluetooth-init
|
install -m 0755 ${WORKDIR}/bluetooth-init ${D}${sysconfdir}/init.d/bluetooth-init
|
||||||
|
install -m 0644 ${WORKDIR}/main.conf ${D}${sysconfdir}/bluetooth/
|
||||||
}
|
}
|
||||||
|
|
||||||
PACKAGES =+ "${PN}-init"
|
PACKAGES =+ "${PN}-init"
|
||||||
|
|
||||||
|
FILES_${PN} += " ${sysconfdir}/bluetooth/main.conf"
|
||||||
FILES_${PN}-init = "${sysconfdir}/init.d/bluetooth-init"
|
FILES_${PN}-init = "${sysconfdir}/init.d/bluetooth-init"
|
||||||
|
|
||||||
INITSCRIPT_PACKAGES += "${PN}-init"
|
INITSCRIPT_PACKAGES += "${PN}-init"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue