<commit_before>SUMMARY = "Bluetooth Connectivity Application"
DESCRIPTION = "The example is to demonstrate BLE provisioning and BLE 	\
	Transparent Services.						\
	the application is written using the BlueZ GATT service and it	\
	enables the WILC to host two GATT services,		 	\
	1) transparent service 2) WiFi provisioning service 		\
	The Microchip MBD application can be used to connect to WILC	\
	and transact BLE data through these BLE applications"

AUTHOR = "Microchip Technology Inc"
SECTION = "examples"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=2aadfbb30f3dc663d0c881ccb240fc4c"

DEPENDS = "bluez5 wilc-demo-fs-overlay"
SRC_URI = "git://github.com/MicrochipTech/wilcbtapps-buildroot-external-microchip.git;protocol=git"
SRCREV  = "ef37a75f4105289c12c83849e2b85112a78f81a2"

S = "${WORKDIR}/git"

do_compile () {
        ${TARGET_PREFIX}gcc ${TARGET_CC_ARCH} ${TOOLCHAIN_OPTIONS} -Wall    \
	-std=gnu11 -g -D_REENTRANT -static -I${STAGING_INCDIR}/bluez5_utils \
        -L ${STAGING_LIBDIR}/bluez5_utils/lib transparent_service.c	    \
	-o transparent_service -lshared-mainloop -lbluetooth-internal	    \
	-lgdbus-internal -lc

        ${TARGET_PREFIX}gcc ${TARGET_CC_ARCH} ${TOOLCHAIN_OPTIONS} -Wall    \
	-std=gnu11 -g -D_REENTRANT -static -I${STAGING_INCDIR}/bluez5_utils \
	-L ${STAGING_LIBDIR}/bluez5_utils/lib wifi_prov_service.c	    \
	-o wifi_prov_service -lshared-mainloop -lbluetooth-internal 	    \
	-lgdbus-internal -lc
}

do_install () {
    install -d ${D}${bindir}
    install -m 0755 transparent_service ${D}${bindir}
    install -m 0755 wifi_prov_service ${D}${bindir}
}

PACKAGE_ARCH = "${MACHINE_ARCH}"

FILES_${PN} += "${bindir}/transparent_service"
FILES_${PN} += "${bindir}/wifi_prov_service"

COMPATIBLE_MACHINE = "(at91sam9|sama5)"
<commit_msg>wilc-ble-demo: The repo is set to latest revision<commit_after>SUMMARY = "Bluetooth Connectivity Application"
DESCRIPTION = "The example is to demonstrate BLE provisioning and BLE 	\
	Transparent Services.						\
	the application is written using the BlueZ GATT service and it	\
	enables the WILC to host two GATT services,		 	\
	1) transparent service 2) WiFi provisioning service 		\
	The Microchip MBD application can be used to connect to WILC	\
	and transact BLE data through these BLE applications"

AUTHOR = "<NAME>"
SECTION = "examples"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=2aadfbb30f3dc663d0c881ccb240fc4c"

DEPENDS = "bluez5 wilc-demo-fs-overlay"
SRC_URI = "git://github.com/MicrochipTech/wilcbtapps-buildroot-external-microchip.git;protocol=git"
SRCREV  = "44dae79d567ab713edbd313ee3647b000f9c81b3"

S = "${WORKDIR}/git"

do_compile () {
        ${TARGET_PREFIX}gcc ${TARGET_CC_ARCH} ${TOOLCHAIN_OPTIONS} -Wall    \
	-std=gnu11 -g -D_REENTRANT -static -I${STAGING_INCDIR}/bluez5_utils \
        -L ${STAGING_LIBDIR}/bluez5_utils/lib transparent_service.c	    \
	-o transparent_service -lshared-mainloop -lbluetooth-internal	    \
	-lgdbus-internal -lc

        ${TARGET_PREFIX}gcc ${TARGET_CC_ARCH} ${TOOLCHAIN_OPTIONS} -Wall    \
	-std=gnu11 -g -D_REENTRANT -static -I${STAGING_INCDIR}/bluez5_utils \
	-L ${STAGING_LIBDIR}/bluez5_utils/lib wifi_prov_service.c	    \
	-o wifi_prov_service -lshared-mainloop -lbluetooth-internal 	    \
	-lgdbus-internal -lc
}

do_install () {
    install -d ${D}${bindir}
    install -m 0755 transparent_service ${D}${bindir}
    install -m 0755 wifi_prov_service ${D}${bindir}
}

PACKAGE_ARCH = "${MACHINE_ARCH}"

FILES_${PN} += "${bindir}/transparent_service"
FILES_${PN} += "${bindir}/wifi_prov_service"

COMPATIBLE_MACHINE = "(at91sam9|sama5)"

{'fraction_non_alphanumeric': 0.11674986134220743, 'fraction_numerical': 0.03688297282307266, 'mean_word_length': 4.25801749271137, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7387988', 'n_tokens_mistral': 1471, 'n_tokens_neox': 1358, 'n_words': 283}