dey-examples: add example to enable a BLE GATT server

https://jira.digi.com/browse/DEL-6649

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2019-07-09 11:34:41 +02:00
parent 94ab3707f6
commit 8b39014eb7
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# Copyright (C) 2019, Digi International Inc.
require recipes-digi/dey-examples/dey-examples-src.inc
SUMMARY = "DEY examples: application to create a BLE GATT server"
SECTION = "examples"
LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
inherit bluetooth
DEPENDS = "${BLUEZ}"
SRC_URI = "${DEY_EXAMPLES_GIT_URI};branch=${SRCBRANCH}"
S = "${WORKDIR}/git/ble-gatt-server-example"
do_install() {
oe_runmake DESTDIR=${D} install
}

View File

@ -12,6 +12,7 @@ RDEPENDS_${PN} = "\
${@bb.utils.contains("MACHINE_FEATURES", "alsa", "dey-examples-vplay", "", d)} \
${@bb.utils.contains("MACHINE_FEATURES", "bluetooth", "dey-examples-bt", "", d)} \
${@bb.utils.contains("MACHINE_FEATURES", "bluetooth", "dey-examples-btconfig", "", d)} \
${@bb.utils.contains("MACHINE_FEATURES", "bluetooth", "dey-examples-bt-gatt-server", "", d)} \
${@bb.utils.contains("MACHINE_FEATURES", "bluetooth", "dey-examples-hdp", "", d)} \
${@bb.utils.contains("MACHINE_FEATURES", "cryptochip", "dey-examples-cryptochip", "", d)} \
awsiotsdk-demo \