<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<IP xmlns:ns0="http://www.w3.org/2001/XMLSchema-instance"
	ns0:schemaLocation="http://mcd.rou.st.com/modules.php?name=mcu ../../../../../../../doc/V4/Development/Specifications/db/IP_Modes.xsd"
 	xmlns="http://mcd.rou.st.com/modules.php?name=mcu"
 	DBVersion="V4.0"
	IPType="middleware"
	IpGroup="Middleware"
    Name="STM32_WPAN"
 	Version="v1.2_Cube">
    <About>BLE : BlueTooth Low Energy, designed for very low power operation. It supports multiple network topologies, including a point-to-point option used for data transfer, a broadcast option used for location services and a mesh option used for creating large-scale device networks. </About>

    <!-- BLE Application and Services - Begin -->
    <RefParameter Name="BLE_APPLICATION_TYPE" Comment="BLE Application Type" DefaultValue="BLE_SERVER_PROFILE" Type="list" Group="BLE Application Type" TabName="BLE Applications and Services" Visible="true">
        <Condition Diagnostic="" Expression="S_BLE_HOST &amp; S_FREERTOS$context"/>
        <Description>Only Server profile is available when FreeRTOS is activated</Description>
        <PossibleValue Value="BLE_SERVER_PROFILE" Comment="Server profile" Semaphore="Semaphore_BLE_SERVER_PROFILE"/>
    </RefParameter>
    <RefParameter Name="BLE_APPLICATION_TYPE" Comment="BLE Application Type" DefaultValue="BLE_SERVER_PROFILE" Type="list" Group="BLE Application Type" TabName="BLE Applications and Services" Visible="true">
        <Condition Diagnostic="" Expression="S_BLE_HOST"/>
        <Description>List of application types, can be:&lt;br&gt; - Transparent mode&lt;br&gt; - Server profile&lt;br&gt; - Client profile&lt;br&gt; - Router profile</Description>
        <PossibleValue Value="TRANSPARENT_MODE" Comment="Transparent mode" Semaphore="Semaphore_BLE_TRANSPARENT_MODE"/>
        <PossibleValue Value="BLE_SERVER_PROFILE" Comment="Server profile" Semaphore="Semaphore_BLE_SERVER_PROFILE"/>
        <PossibleValue Value="BLE_CLIENT_PROFILE" Comment="Client profile" Semaphore="Semaphore_BLE_CLIENT_PROFILE"/>
        <PossibleValue Value="BLE_ROUTER_PROFILE" Comment="Router profile" Semaphore="Semaphore_BLE_ROUTER_PROFILE"/>
    </RefParameter>
    <RefParameter Name="BLE_APPLICATION_TYPE" Comment="BLE Application Type" DefaultValue="" Type="String" Group="BLE Application Type" TabName="BLE Applications and Services" Visible="false">
        <Description>List of application types, can be:&lt;br&gt; - Transparent mode&lt;br&gt; - Server profile&lt;br&gt; - Client profile&lt;br&gt; - Router profile</Description>
    </RefParameter>

    <RefParameter Name="FREERTOS_STATUS" Comment="FreeRTOs " DefaultValue="1" Type="list" Group="Transparent Mode" TabName="BLE Applications and Services" Visible="false">
        <Description></Description>
        <Condition Diagnostic="" Expression="S_FREERTOS$context"/>
		<PossibleValue Value="1" Comment="Enabled"/>
    </RefParameter>
    <RefParameter Name="FREERTOS_STATUS" Comment="FreeRTOs " DefaultValue="0" Type="list" Group="Transparent Mode" TabName="BLE Applications and Services" Visible="false">
        <Description></Description>
        <Condition Diagnostic="" Expression="!S_FREERTOS$context"/>
		<PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

    <RefParameter Name="BLE" Comment="BLE" DefaultValue="1" Type="list" Group="Transparent Mode" TabName="BLE Applications and Services" Visible="false">
        <Description></Description>
        <Condition Diagnostic="" Expression="S_BLE_HOST"/>
		<PossibleValue Value="Enabled" Comment="Enabled" Semaphore="Semaphore_BLE"/>
    </RefParameter>
    <RefParameter Name="BLE" Comment="BLE " DefaultValue="0" Type="list" Group="Transparent Mode" TabName="BLE Applications and Services" Visible="false">
        <Description></Description>
        <Condition Diagnostic="" Expression="!S_BLE_HOST"/>
		<PossibleValue Value="Disabled" Comment="Disabled"/>
    </RefParameter>

    <RefParameter Name="BLE_TRANSPARENT_MODE_UART" Comment="BLE Transparent mode UART " DefaultValue="Enabled" Type="list" Group="Transparent Mode" TabName="BLE Applications and Services" Visible="true">
        <Description></Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_TRANSPARENT_MODE &amp; !Semaphore_BLE_TRANSPARENT_MODE_VCP &amp; S_BLE_HOST"/>
		<PossibleValue Value="Disabled" Comment="Disabled"/>
		<PossibleValue Value="Enabled" Comment="Enabled" Semaphore="Semaphore_BLE_TRANSPARENT_MODE_UART"/>
    </RefParameter>
    <RefParameter Name="BLE_TRANSPARENT_MODE_UART" Comment="BLE Transparent mode UART" DefaultValue="Disabled" Type="list" Group="Transparent Mode" TabName="BLE Applications and Services" Visible="true">
        <Condition Diagnostic="" Expression="Semaphore_BLE_TRANSPARENT_MODE &amp; Semaphore_BLE_TRANSPARENT_MODE_VCP &amp; S_BLE_HOST"/>
        <Description></Description>
		<PossibleValue Value="Disabled" Comment="Disabled"/>
    </RefParameter>
    <RefParameter Name="BLE_TRANSPARENT_MODE_UART" Comment="BLE Transparent mode UART" DefaultValue="Disabled" Type="list" Group="Transparent Mode" TabName="BLE Applications and Services" Visible="false">
        <Description></Description>
		<PossibleValue Value="Disabled" Comment="Disabled"/>
    </RefParameter>

    <RefParameter Name="BLE_TRANSPARENT_MODE_VCP" Comment="BLE Transparent mode VCP " DefaultValue="Disabled" Type="list" Group="Transparent Mode" TabName="BLE Applications and Services" Visible="false">
        <Description></Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_TRANSPARENT_MODE &amp; !Semaphore_BLE_TRANSPARENT_MODE_UART &amp; S_BLE_HOST"/>
		<PossibleValue Value="Disabled" Comment="Disabled"/>
		<PossibleValue Value="Enabled" Comment="Enabled" Semaphore="Semaphore_BLE_TRANSPARENT_MODE_VCP"/>
    </RefParameter>
    <RefParameter Name="BLE_TRANSPARENT_MODE_VCP" Comment="BLE Transparent mode VCP" DefaultValue="Disabled" Type="list" Group="Transparent Mode" TabName="BLE Applications and Services" Visible="false">
        <Condition Diagnostic="" Expression="Semaphore_BLE_TRANSPARENT_MODE &amp; Semaphore_BLE_TRANSPARENT_MODE_UART &amp; S_BLE_HOST"/>
        <Description></Description>
		<PossibleValue Value="Disabled" Comment="Disabled"/>
    </RefParameter>
    <RefParameter Name="BLE_TRANSPARENT_MODE_VCP" Comment="BLE Transparent mode VCP" DefaultValue="Disabled" Type="list" Group="Transparent Mode" TabName="BLE Applications and Services" Visible="false">
        <Description></Description>
		<PossibleValue Value="Disabled" Comment="Disabled"/>
    </RefParameter>

    <RefParameter Name="BT_SIG_BEACON" Comment="BT SIG Beacon" DefaultValue="Disabled" Type="list" Group="Server Mode" TabName="BLE Applications and Services" Visible="true">
        <Description></Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; !Semaphore_CUSTOM_OTAS &amp; S_BLE_HOST &amp; !S_FREERTOS$context"/>
		<PossibleValue Value="Disabled" Comment="Disabled"/>
		<PossibleValue Value="CFG_EDDYSTONE_UID_BEACON_TYPE" Comment="EDDYSTONE_UID_BEACON" Semaphore="Semaphore_BT_SIG_BEACON"/>
		<PossibleValue Value="CFG_EDDYSTONE_URL_BEACON_TYPE" Comment="EDDYSTONE_URL_BEACON" Semaphore="Semaphore_BT_SIG_BEACON"/>
		<PossibleValue Value="CFG_EDDYSTONE_TLM_BEACON_TYPE" Comment="EDDYSTONE_TLM_BEACON" Semaphore="Semaphore_BT_SIG_BEACON"/>
		<PossibleValue Value="CFG_IBEACON" Comment="IBEACON" Semaphore="Semaphore_BT_SIG_BEACON"/>
    </RefParameter>
    <RefParameter Name="BT_SIG_BEACON" Comment="BT SIG Beacon" DefaultValue="Disabled" Type="list" Group="Server Mode" TabName="BLE Applications and Services" Visible="true">
        <Description>You can enable this mode only if OTA mode is disabled</Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; Semaphore_CUSTOM_OTAS &amp; S_BLE_HOST &amp; !S_FREERTOS$context"/>
        <PossibleValue Value="Disabled" Comment="Disabled"/>
    </RefParameter>
    <RefParameter Name="BT_SIG_BEACON" Comment="BT SIG Beacon" DefaultValue="Disabled" Type="list" Group="Server Mode" TabName="BLE Applications and Services" Visible="false">
        <Description></Description>
		<PossibleValue Value="Disabled" Comment="Disabled"/>
    </RefParameter>

    <RefParameter Name="BT_SIG_BEACON_ENABLED" Comment="BT SIG Beacon" DefaultValue="Enabled" Type="String" Group="Server Mode" TabName="BLE Applications and Services" Visible="false">
        <Description></Description>
        <Condition Diagnostic="" Expression="Semaphore_BT_SIG_BEACON"/>
		<PossibleValue Value="Enabled" Comment="Enabled"/>
    </RefParameter>
    <RefParameter Name="BT_SIG_BEACON_ENABLED" Comment="BT SIG Beacon" DefaultValue="Disabled" Type="String" Group="Server Mode" TabName="BLE Applications and Services" Visible="false">
        <Description></Description>
		<PossibleValue Value="Disabled" Comment="Disabled"/>
    </RefParameter>


    <RefParameter Name="BT_SIG_BLOOD_PRESSURE_SENSOR" Comment="BT SIG Blood Pressure Sensor" DefaultValue="Disabled" Type="list" Group="Server Mode" TabName="BLE Applications and Services" Visible="true">
        <Description></Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; !Semaphore_CUSTOM_OTAS &amp; !Semaphore_BT_SIG_BEACON &amp; S_BLE_HOST  &amp; !S_FREERTOS$context"/>
		<PossibleValue Value="Disabled" Comment="Disabled"/>
		<PossibleValue Value="Enabled" Comment="Enabled" Semaphore="Semaphore_BT_SIG_BLOOD_PRESSURE_SENSOR"/>
    </RefParameter>
    <RefParameter Name="BT_SIG_BLOOD_PRESSURE_SENSOR" Comment="BT SIG Blood Pressure Sensor" DefaultValue="Disabled" Type="list" Group="Server Mode" TabName="BLE Applications and Services" Visible="true">
        <Description>You can enable this mode only if BT SIG Beacon and OTA modes are disabled</Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; (Semaphore_CUSTOM_OTAS | Semaphore_BT_SIG_BEACON) &amp; S_BLE_HOST &amp; !S_FREERTOS$context"/>
        <PossibleValue Value="Disabled" Comment="Disabled"/>
    </RefParameter>
    <RefParameter Name="BT_SIG_BLOOD_PRESSURE_SENSOR" Comment="BT SIG Blood Pressure Sensor" DefaultValue="Disabled" Type="list" Group="Server Mode" TabName="BLE Applications and Services" Visible="false">
        <Description></Description>
		<PossibleValue Value="Disabled" Comment="Disabled"/>
    </RefParameter>

    <RefParameter Name="BT_SIG_HEALTH_THERMOMETER_SENSOR" Comment="BT SIG Health Thermometer Sensor" DefaultValue="Disabled" Type="list" Group="Server Mode" TabName="BLE Applications and Services" Visible="true">
        <Description></Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; !Semaphore_CUSTOM_OTAS &amp; !Semaphore_BT_SIG_BEACON &amp; S_BLE_HOST &amp; !S_FREERTOS$context"/>
		<PossibleValue Value="Disabled" Comment="Disabled"/>
		<PossibleValue Value="Enabled" Comment="Enabled" Semaphore="Semaphore_BT_SIG_HEALTH_THERMOMETER_SENSOR"/>
    </RefParameter>
    <RefParameter Name="BT_SIG_HEALTH_THERMOMETER_SENSOR" Comment="BT SIG Health Thermometer Sensor" DefaultValue="Disabled" Type="list" Group="Server Mode" TabName="BLE Applications and Services" Visible="true">
        <Description>You can enable this mode only if BT SIG Beacon and OTA modes are disabled</Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; (Semaphore_CUSTOM_OTAS | Semaphore_BT_SIG_BEACON)  &amp; S_BLE_HOST &amp; !S_FREERTOS$context"/>
        <PossibleValue Value="Disabled" Comment="Disabled"/>
    </RefParameter>
    <RefParameter Name="BT_SIG_HEALTH_THERMOMETER_SENSOR" Comment="BT SIG Health Thermometer Sensor" DefaultValue="Disabled" Type="list" Group="Server Mode" TabName="BLE Applications and Services" Visible="false">
        <Description></Description>
		<PossibleValue Value="Disabled" Comment="Disabled"/>
    </RefParameter>

    <RefParameter Name="BT_SIG_HEART_RATE_SENSOR" Comment="BT SIG Heart Rate Sensor" DefaultValue="Enabled" Type="list" Group="Server Mode" TabName="BLE Applications and Services" Visible="true">
        <Description></Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; !Semaphore_CUSTOM_OTAS &amp; !Semaphore_BT_SIG_BEACON &amp; S_BLE_HOST &amp; S_FREERTOS$context"/>
		<PossibleValue Value="Disabled" Comment="Disabled"/>
		<PossibleValue Value="Enabled" Comment="Enabled" Semaphore="Semaphore_BT_SIG_HEART_RATE_SENSOR"/>
    </RefParameter>
    <RefParameter Name="BT_SIG_HEART_RATE_SENSOR" Comment="BT SIG Heart Rate Sensor" DefaultValue="Disabled" Type="list" Group="Server Mode" TabName="BLE Applications and Services" Visible="true">
        <Description></Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; !Semaphore_CUSTOM_OTAS &amp; !Semaphore_BT_SIG_BEACON &amp; S_BLE_HOST"/>
		<PossibleValue Value="Disabled" Comment="Disabled"/>
		<PossibleValue Value="Enabled" Comment="Enabled" Semaphore="Semaphore_BT_SIG_HEART_RATE_SENSOR"/>
    </RefParameter>
    <RefParameter Name="BT_SIG_HEART_RATE_SENSOR" Comment="BT SIG Heart Rate Sensor" DefaultValue="Disabled" Type="list" Group="Server Mode" TabName="BLE Applications and Services" Visible="true">
        <Description>You can enable this mode only if BT SIG Beacon and OTA modes are disabled</Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; (Semaphore_CUSTOM_OTAS | Semaphore_BT_SIG_BEACON)  &amp; S_BLE_HOST"/>
        <PossibleValue Value="Disabled" Comment="Disabled"/>
    </RefParameter>
    <RefParameter Name="BT_SIG_HEART_RATE_SENSOR" Comment="BT SIG Heart Rate Sensor" DefaultValue="Disabled" Type="list" Group="Server Mode" TabName="BLE Applications and Services" Visible="false">
        <Description></Description>
		<PossibleValue Value="Disabled" Comment="Disabled"/>
    </RefParameter>

    <RefParameter Name="CUSTOM_P2P_SERVER" Comment="Custom P2P Server" DefaultValue="Enabled" Type="list" Group="Server Mode" TabName="BLE Applications and Services" Visible="true">
        <Description></Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; !Semaphore_CUSTOM_OTAS &amp; !Semaphore_BT_SIG_BEACON  &amp; S_BLE_HOST &amp; !S_FREERTOS$context"/>
		<PossibleValue Value="Disabled" Comment="Disabled"/>
		<PossibleValue Value="Enabled" Comment="Enabled" Semaphore="Semaphore_CUSTOM_P2P_SERVER"/>
    </RefParameter>
    <RefParameter Name="CUSTOM_P2P_SERVER" Comment="Custom P2P Server" DefaultValue="Disabled" Type="list" Group="Server Mode" TabName="BLE Applications and Services" Visible="true">
        <Description>You can enable this mode only if BT SIG Beacon and OTA modes are disabled</Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; (Semaphore_CUSTOM_OTAS | Semaphore_BT_SIG_BEACON)  &amp; S_BLE_HOST &amp; !S_FREERTOS$context"/>
        <PossibleValue Value="Disabled" Comment="Disabled"/>
    </RefParameter>
    <RefParameter Name="CUSTOM_P2P_SERVER" Comment="Custom P2P Server" DefaultValue="Disabled" Type="list" Group="Server Mode" TabName="BLE Applications and Services" Visible="false">
        <Description></Description>
		<PossibleValue Value="Disabled" Comment="Disabled"/>
    </RefParameter>

<!--
    <RefParameter Name="CUSTOM_OTA" Comment="OTA: Over The Air Firmware Update" DefaultValue="Disabled" Type="list" Group="Server Mode" TabName="BLE Applications and Services" Visible="true">
        <Description></Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; !Semaphore_BT_SIG_BEACON &amp; S_BLE_HOST"/>
		<PossibleValue Value="Disabled" Comment="Disabled"/>
		<PossibleValue Value="Enabled" Comment="Enabled" Semaphore="Semaphore_CUSTOM_OTAS"/>
    </RefParameter>
    <RefParameter Name="CUSTOM_OTA" Comment="OTA: Over The Air Firmware Update" DefaultValue="Disabled" Type="list" Group="Server Mode" TabName="BLE Applications and Services" Visible="true">
        <Description>You can enable this mode only if BT SIG Beacon mode is disabled</Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; Semaphore_BT_SIG_BEACON &amp; S_BLE_HOST"/>
		<PossibleValue Value="Disabled" Comment="Disabled"/>
    </RefParameter>
-->
    <RefParameter Name="CUSTOM_OTA" Comment="OTA: Over The Air Firmware Update" DefaultValue="Disabled" Type="list" Group="Server Mode" TabName="BLE Applications and Services" Visible="false">
        <Description></Description>
		<PossibleValue Value="Disabled" Comment="Disabled"/>
    </RefParameter>

    <RefParameter Name="CUSTOM_TEMPLATE" Comment="Custom Template" DefaultValue="Disabled" Type="list" Group="Server Mode" TabName="BLE Applications and Services" Visible="true">
        <Description>Custom template</Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; !Semaphore_CUSTOM_OTAS &amp; !Semaphore_BT_SIG_BEACON  &amp; S_BLE_HOST &amp; !S_FREERTOS$context"/>
		<PossibleValue Value="Disabled" Comment="Disabled"/>
		<PossibleValue Value="Enabled" Comment="Enabled" Semaphore="Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="CUSTOM_TEMPLATE" Comment="Custom Template" DefaultValue="Disabled" Type="list" Group="Server Mode" TabName="BLE Applications and Services" Visible="true">
        <Description>Custom template can be enabled only if BT SIG Blood Pressure Sensor or BT SIG Health Thermometer Sensor or BT SIG Heart Rate Sensor or Custom P2P Server is(are) enabled</Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; (Semaphore_CUSTOM_OTAS | Semaphore_BT_SIG_BEACON) &amp; S_BLE_HOST &amp; !S_FREERTOS$context"/>
        <PossibleValue Value="Disabled" Comment="Disabled"/>
    </RefParameter>
    <RefParameter Name="CUSTOM_TEMPLATE" Comment="Custom Template" DefaultValue="Disabled" Type="list" Group="Server Mode" TabName="BLE Applications and Services" Visible="true">
        <Description>Custom template can be enabled only if BT SIG Blood Pressure Sensor or BT SIG Health Thermometer Sensor or BT SIG Heart Rate Sensor or Custom P2P Server is(are) enabled</Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; (!Semaphore_CUSTOM_P2P_SERVER &amp; !Semaphore_BT_SIG_HEART_RATE_SENSOR &amp; !Semaphore_BT_SIG_HEALTH_THERMOMETER_SENSOR &amp; !Semaphore_BT_SIG_BLOOD_PRESSURE_SENSOR) &amp; S_BLE_HOST &amp; !S_FREERTOS$context"/>
        <PossibleValue Value="Disabled" Comment="Disabled"/>
    </RefParameter>
    <RefParameter Name="CUSTOM_TEMPLATE" Comment="Custom Template" DefaultValue="Disabled" Type="list" Group="Server Mode" TabName="BLE Applications and Services" Visible="false">
        <Description></Description>
		<PossibleValue Value="Disabled" Comment="Disabled"/>
    </RefParameter>

    <RefParameter Name="CUSTOM_P2P_CLIENT" Comment="Custom P2P Client" DefaultValue="Enabled" Type="String" TabName="BLE Applications and Services" Group="Client Mode">
        <Condition Diagnostic="" Expression="(Semaphore_BLE_CLIENT_PROFILE)"/>
    </RefParameter>
    <RefParameter Name="CUSTOM_P2P_CLIENT" Comment="Custom P2P Server" DefaultValue="Disabled" Type="String" TabName="BLE Applications and Services" Group="Client Mode"  Visible="false">
    </RefParameter>

    <RefParameter Name="CUSTOM_P2P_ROUTER" Comment="Custom P2P Router" DefaultValue="Enabled" Type="String" TabName="BLE Applications and Services" Group="Router Mode">
        <Condition Diagnostic="" Expression="(Semaphore_BLE_ROUTER_PROFILE)"/>
    </RefParameter>
    <RefParameter Name="CUSTOM_P2P_ROUTER" Comment="Custom P2P Server" DefaultValue="Disabled" Type="String" TabName="BLE Applications and Services" Group="Router Mode"  Visible="false">
    </RefParameter>


    <RefParameter Name="LOCAL_NAME" Comment="LOCAL_NAME" DefaultValue="STM32WB" Type="RWString" TabName="BLE Applications and Services" Group="Local Name" Visible="true">
        <Description>Advertising information, user defined. Max size is 7 characters</Description>
        <Condition Diagnostic="" Expression="(Semaphore_BT_SIG_BEACON | Semaphore_BT_SIG_BLOOD_PRESSURE_SENSOR | Semaphore_BT_SIG_HEALTH_THERMOMETER_SENSOR | Semaphore_BT_SIG_HEART_RATE_SENSOR) &amp; !Semaphore_CUSTOM_P2P_SERVER"/>
    </RefParameter>
<!--
    <RefParameter Name="LOCAL_NAME" Comment="LOCAL_NAME" DefaultValue="HRSTM" Type="RWString" TabName="BLE Applications and Services" Group="Local Name" Visible="true">
        <Description>Advertising information, user defined. Max size is 7 characters</Description>
        <Condition Diagnostic="" Expression="Semaphore_BT_SIG_HEART_RATE_SENSOR &amp; !Semaphore_CUSTOM_P2P_SERVER"/>
    </RefParameter>
-->
    <RefParameter Name="LOCAL_NAME" Comment="LOCAL_NAME" DefaultValue="STM_OTA" Type="RWString" TabName="BLE Applications and Services" Group="Local Name" Visible="true">
        <Description>Advertising information, user defined. Max size is 7 characters</Description>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_OTAS"/>
    </RefParameter>
    <RefParameter Name="LOCAL_NAME" Comment="LOCAL_NAME" DefaultValue="P2PROUT" Type="RWString" TabName="BLE Applications and Services" Group="Local Name" Visible="true">
        <Description>Advertising information, user defined. Max size is 7 characters</Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_ROUTER_PROFILE"/>
    </RefParameter>
    <RefParameter Name="LOCAL_NAME" Comment="LOCAL_NAME" DefaultValue="P2PCLI" Type="RWString" TabName="BLE Applications and Services" Group="Local Name" Visible="true">
        <Description>Advertising information, user defined. Max size is 7 characters</Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_CLIENT_PROFILE"/>
    </RefParameter>
    <RefParameter Name="LOCAL_NAME" Comment="LOCAL_NAME" DefaultValue="P2PSRV1" Type="RWString" TabName="BLE Applications and Services" Group="Local Name" Visible="true">
        <Description>Advertising information, user defined. Max size is 7 characters</Description>
        <Condition Diagnostic="" Expression="Semaphore_P2P_SERVER1"/>
    </RefParameter>
    <RefParameter Name="LOCAL_NAME" Comment="LOCAL_NAME" DefaultValue="P2PSRV2" Type="RWString" TabName="BLE Applications and Services" Group="Local Name" Visible="true">
        <Description>Advertising information, user defined. Max size is 7 characters</Description>
        <Condition Diagnostic="" Expression="Semaphore_P2P_SERVER2"/>
    </RefParameter>
    <RefParameter Name="LOCAL_NAME" Comment="LOCAL_NAME" DefaultValue="P2PSRV3" Type="RWString" TabName="BLE Applications and Services" Group="Local Name" Visible="true">
        <Description>Advertising information, user defined. Max size is 7 characters</Description>
        <Condition Diagnostic="" Expression="Semaphore_P2P_SERVER3"/>
    </RefParameter>
    <RefParameter Name="LOCAL_NAME" Comment="LOCAL_NAME" DefaultValue="P2PSRV4" Type="RWString" TabName="BLE Applications and Services" Group="Local Name" Visible="true">
        <Description>Advertising information, user defined. Max size is 7 characters</Description>
        <Condition Diagnostic="" Expression="Semaphore_P2P_SERVER4"/>
    </RefParameter>
    <RefParameter Name="LOCAL_NAME" Comment="LOCAL_NAME" DefaultValue="P2PSRV5" Type="RWString" TabName="BLE Applications and Services" Group="Local Name" Visible="true">
        <Description>Advertising information, user defined. Max size is 7 characters</Description>
        <Condition Diagnostic="" Expression="Semaphore_P2P_SERVER5"/>
    </RefParameter>
    <RefParameter Name="LOCAL_NAME" Comment="LOCAL_NAME" DefaultValue="P2PSRV6" Type="RWString" TabName="BLE Applications and Services" Group="Local Name" Visible="true">
        <Description>Advertising information, user defined. Max size is 7 characters</Description>
        <Condition Diagnostic="" Expression="Semaphore_P2P_SERVER6"/>
    </RefParameter>
    <RefParameter Name="LOCAL_NAME" Comment="LOCAL_NAME" DefaultValue="0" Type="String" TabName="BLE Applications and Services" Group="Local Name" Visible="false">
        <Description>Advertising information, user defined. Max size is 7 characters</Description>
    </RefParameter>

    <RefParameter Name="LOCAL_NAME_FORMATTED" Comment="LOCAL_NAME_FORMATTED" DefaultValue=", 'S', 'T', 'M', '3', '2', 'W', 'B'" Type="RWString" TabName="BLE Applications and Services" Group="Local Name" Visible="false">
        <Description>Advertising information, user defined</Description>
        <Condition Diagnostic="" Expression="(Semaphore_BT_SIG_BEACON | Semaphore_BT_SIG_BLOOD_PRESSURE_SENSOR | Semaphore_BT_SIG_HEALTH_THERMOMETER_SENSOR | Semaphore_BT_SIG_HEART_RATE_SENSOR)  &amp; !Semaphore_CUSTOM_P2P_SERVER"/>
    </RefParameter>
<!--
    <RefParameter Name="LOCAL_NAME_FORMATTED" Comment="LOCAL_NAME_FORMATTED" DefaultValue=", 'H', 'R', 'S', 'T', 'M'" Type="RWString" TabName="BLE Applications and Services" Group="Local Name" Visible="false">
        <Description>Advertising information, user defined</Description>
        <Condition Diagnostic="" Expression="Semaphore_BT_SIG_HEART_RATE_SENSOR  &amp; S_BLE_HOST &amp; !Semaphore_CUSTOM_P2P_SERVER"/>
    </RefParameter>
-->
    <RefParameter Name="LOCAL_NAME_FORMATTED" Comment="LOCAL_NAME_FORMATTED" DefaultValue=", 'S', 'T', 'M', '_', 'O', 'T', 'A'" Type="RWString" TabName="BLE Applications and Services" Group="Local Name" Visible="false">
        <Description>Advertising information, user defined</Description>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_OTAS"/>
    </RefParameter>
    <RefParameter Name="LOCAL_NAME_FORMATTED" Comment="LOCAL_NAME_FORMATTED" DefaultValue=", 'P', '2', 'P', 'R', 'O', 'U', 'T'" Type="RWString" TabName="BLE Applications and Services" Group="Local Name" Visible="false">
        <Description>Advertising information, user defined</Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_ROUTER_PROFILE"/>
    </RefParameter>
    <RefParameter Name="LOCAL_NAME_FORMATTED" Comment="LOCAL_NAME_FORMATTED" DefaultValue=", 'P', '2', 'P', 'C', 'L', 'I'" Type="RWString" TabName="BLE Applications and Services" Group="Local Name" Visible="false">
        <Description>Advertising information, user defined</Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_CLIENT_PROFILE"/>
    </RefParameter>
    <RefParameter Name="LOCAL_NAME_FORMATTED" Comment="LOCAL_NAME_FORMATTED" DefaultValue=", 'P', '2', 'P', 'S', 'R', 'V', '1'" Type="RWString" TabName="BLE Applications and Services" Group="Local Name" Visible="false">
        <Description>Advertising information, user defined</Description>
        <Condition Diagnostic="" Expression="Semaphore_P2P_SERVER1"/>
    </RefParameter>
    <RefParameter Name="LOCAL_NAME_FORMATTED" Comment="LOCAL_NAME_FORMATTED" DefaultValue=", 'P', '2', 'P', 'S', 'R', 'V', '2'" Type="RWString" TabName="BLE Applications and Services" Group="Local Name" Visible="false">
        <Description>Advertising information, user defined</Description>
        <Condition Diagnostic="" Expression="Semaphore_P2P_SERVER2"/>
    </RefParameter>
    <RefParameter Name="LOCAL_NAME_FORMATTED" Comment="LOCAL_NAME_FORMATTED" DefaultValue=", 'P', '2', 'P', 'S', 'R', 'V', '3'" Type="RWString" TabName="BLE Applications and Services" Group="Local Name" Visible="false">
        <Description>Advertising information, user defined</Description>
        <Condition Diagnostic="" Expression="Semaphore_P2P_SERVER3"/>
    </RefParameter>
    <RefParameter Name="LOCAL_NAME_FORMATTED" Comment="LOCAL_NAME_FORMATTED" DefaultValue=", 'P', '2', 'P', 'S', 'R', 'V', '4'" Type="RWString" TabName="BLE Applications and Services" Group="Local Name" Visible="false">
        <Description>Advertising information, user defined</Description>
        <Condition Diagnostic="" Expression="Semaphore_P2P_SERVER4"/>
    </RefParameter>
    <RefParameter Name="LOCAL_NAME_FORMATTED" Comment="LOCAL_NAME_FORMATTED" DefaultValue=", 'P', '2', 'P', 'S', 'R', 'V', '5'" Type="RWString" TabName="BLE Applications and Services" Group="Local Name" Visible="false">
        <Description>Advertising information, user defined</Description>
        <Condition Diagnostic="" Expression="Semaphore_P2P_SERVER5"/>
    </RefParameter>
    <RefParameter Name="LOCAL_NAME_FORMATTED" Comment="LOCAL_NAME_FORMATTED" DefaultValue=", 'P', '2', 'P', 'S', 'R', 'V', '6'" Type="RWString" TabName="BLE Applications and Services" Group="Local Name" Visible="false">
        <Description>Advertising information, user defined</Description>
        <Condition Diagnostic="" Expression="Semaphore_P2P_SERVER6"/>
    </RefParameter>
    <RefParameter Name="LOCAL_NAME_FORMATTED" Comment="LOCAL_NAME_FORMATTED" DefaultValue="LocalName" Type="RWString" TabName="BLE Applications and Services" Group="Local Name" Visible="false">
        <Description>Advertising information, user defined</Description>
    </RefParameter>
    
    <!-- App.conf - Begin -->
    <RefParameter Name="CFG_ADV_BD_ADDRESS" Comment="CFG_ADV_BD_ADDRESS" DefaultValue="0" Type="RWString" TabName="Configuration" Group="Application parameters" Visible="true">
        <Description>ex: 0x7257acd87a6c</Description>
        <Condition Diagnostic="" Expression="(Semaphore_BLE_SERVER_PROFILE | Semaphore_BLE_CLIENT_PROFILE | Semaphore_BLE_ROUTER_PROFILE) &amp; S_BLE_HOST"/>
    </RefParameter>
    <RefParameter Name="CFG_ADV_BD_ADDRESS" Comment="CFG_ADV_BD_ADDRESS" DefaultValue="0" Type="RWString" TabName="Configuration" Group="Application parameters" Visible="false">
        <Description>ex: 0x7257acd87a6c</Description>
    </RefParameter>

    <RefParameter Name="CFG_FAST_CONN_ADV_INTERVAL_MIN" Comment="CFG_FAST_CONN_ADV_INTERVAL_MIN" DefaultValue="80" Type="Integer" Min="0" Max="80" TabName="Configuration" Group="Application parameters" Visible="true">
        <Description> Shall be &amp;lt; 80ms</Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE  &amp; S_BLE_HOST &amp; !Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="CFG_FAST_CONN_ADV_INTERVAL_MIN" Comment="CFG_FAST_CONN_ADV_INTERVAL_MIN" DefaultValue="80" Type="Integer" Min="20" Max="10240" TabName="Configuration" Group="Application parameters" Visible="true">
        <Description> Shall be &amp;gt 20ms and &amp;lt 10240ms</Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE  &amp; S_BLE_HOST &amp; Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="CFG_FAST_CONN_ADV_INTERVAL_MIN" Comment="CFG_FAST_CONN_ADV_INTERVAL_MIN" DefaultValue="0" Type="String" TabName="Configuration" Group="Application parameters" Visible="false">
        <Description> Shall be &amp;lt 80ms</Description>
    </RefParameter>

    <RefParameter Name="CFG_FAST_CONN_ADV_INTERVAL_MIN_HEXA" Comment="CFG_FAST_CONN_ADV_INTERVAL_MIN_HEXA" DefaultValue="0x80" Type="hex" Min="0x00" Max="0x80" TabName="Configuration" Group="Application parameters" Visible="false">
        <Description> Shall be &amp;lt 80ms</Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; S_BLE_HOST &amp; !Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="CFG_FAST_CONN_ADV_INTERVAL_MIN_HEXA" Comment="CFG_FAST_CONN_ADV_INTERVAL_MIN_HEXA" DefaultValue="0x0080" Type="hex" Min="0x0020" Max="0x4000" TabName="Configuration" Group="Application parameters" Visible="false">
        <Description> Shall be &amp;lt 80ms</Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; S_BLE_HOST &amp; Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="CFG_FAST_CONN_ADV_INTERVAL_MIN_HEXA" Comment="CFG_FAST_CONN_ADV_INTERVAL_MIN_HEXA" DefaultValue="0" Type="String" TabName="Configuration" Group="Application parameters" Visible="false">
        <Description> Shall be &lt; 80ms</Description>
    </RefParameter>

    <RefParameter Name="CFG_FAST_CONN_ADV_INTERVAL_MAX" Comment="CFG_FAST_CONN_ADV_INTERVAL_MAX" DefaultValue="100" Type="Integer" Min="0" Max="100" TabName="Configuration" Group="Application parameters" Visible="true">
        <Description> Shall be &amp;lt 100ms</Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; S_BLE_HOST &amp; !Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="CFG_FAST_CONN_ADV_INTERVAL_MAX" Comment="CFG_FAST_CONN_ADV_INTERVAL_MAX" DefaultValue="100" Type="Integer" Min="20" Max="10240" TabName="Configuration" Group="Application parameters" Visible="true">
        <Description> Shall be &amp;gt 20ms and &amp;lt 10240ms</Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; S_BLE_HOST &amp; Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="CFG_FAST_CONN_ADV_INTERVAL_MAX" Comment="CFG_FAST_CONN_ADV_INTERVAL_MAX" DefaultValue="0" Type="String" TabName="Configuration" Group="Application parameters" Visible="false">
        <Description> Shall be &amp;lt 100ms</Description>
    </RefParameter>

    <RefParameter Name="CFG_FAST_CONN_ADV_INTERVAL_MAX_HEXA" Comment="CFG_FAST_CONN_ADV_INTERVAL_MAX_HEXA" DefaultValue="0xA0" Type="hex" Min="0x00" Max="0xA0" TabName="Configuration" Group="Application parameters" Visible="false">
        <Description> Shall be &amp;lt 100ms</Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; S_BLE_HOST &amp; !Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="CFG_FAST_CONN_ADV_INTERVAL_MAX_HEXA" Comment="CFG_FAST_CONN_ADV_INTERVAL_MAX_HEXA" DefaultValue="0xA0" Type="hex" Min="0x0020" Max="0x4000" TabName="Configuration" Group="Application parameters" Visible="false">
        <Description> Shall be &amp;lt 100ms</Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; S_BLE_HOST &amp; Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>    <RefParameter Name="CFG_FAST_CONN_ADV_INTERVAL_MAX_HEXA" Comment="CFG_FAST_CONN_ADV_INTERVAL_MAX_HEXA" DefaultValue="0" Type="String" TabName="Configuration" Group="Application parameters" Visible="false">
        <Description> Shall be &amp;lt 100ms</Description>
    </RefParameter>

    <RefParameter Name="CFG_LP_CONN_ADV_INTERVAL_MIN" Comment="CFG_LP_CONN_ADV_INTERVAL_MIN" DefaultValue="1000" Type="Integer" Min="0" Max="1000" TabName="Configuration" Group="Application parameters" Visible="true">
        <Description> Shall be &amp;lt 1s</Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; S_BLE_HOST"/>
    </RefParameter>
    <RefParameter Name="CFG_LP_CONN_ADV_INTERVAL_MIN" Comment="CFG_LP_CONN_ADV_INTERVAL_MIN" DefaultValue="0" Type="String" TabName="Configuration" Group="Application parameters" Visible="false">
        <Description> Shall be &amp;lt 1s</Description>
    </RefParameter>

    <RefParameter Name="CFG_LP_CONN_ADV_INTERVAL_MIN_HEXA" Comment="CFG_LP_CONN_ADV_INTERVAL_MIN_HEXA" DefaultValue="0x640" Type="hex" Min="0x00" Max="0x640" TabName="Configuration" Group="Application parameters" Visible="false">
        <Description> Shall be &amp;lt 1s</Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; S_BLE_HOST"/>
    </RefParameter>
    <RefParameter Name="CFG_LP_CONN_ADV_INTERVAL_MIN_HEXA" Comment="CFG_LP_CONN_ADV_INTERVAL_MIN_HEXA" DefaultValue="0" Type="String" TabName="Configuration" Group="Application parameters" Visible="false">
        <Description> Shall be &amp;lt 1s</Description>
    </RefParameter>

    <RefParameter Name="CFG_LP_CONN_ADV_INTERVAL_MAX" Comment="CFG_LP_CONN_ADV_INTERVAL_MAX" DefaultValue="2500" Type="Integer" Min="0" Max="2500" TabName="Configuration" Group="Application parameters" Visible="true">
        <Description> Shall be &amp;lt 2.5s</Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; S_BLE_HOST"/>
    </RefParameter>
    <RefParameter Name="CFG_LP_CONN_ADV_INTERVAL_MAX" Comment="CFG_LP_CONN_ADV_INTERVAL_MAX" DefaultValue="0" Type="String" TabName="Configuration" Group="Application parameters" Visible="false">
        <Description> Shall be &amp;lt 2.5s</Description>
    </RefParameter>

    <RefParameter Name="CFG_LP_CONN_ADV_INTERVAL_MAX_HEXA" Comment="CFG_LP_CONN_ADV_INTERVAL_MAX_HEXA" DefaultValue="0xFA0" Type="hex" Min="0x00" Max="0xFA0" TabName="Configuration" Group="Application parameters" Visible="false">
        <Description> Shall be &amp;lt 2.5s</Description>
        <Condition Diagnostic="" Expression="Semaphore_BLE_SERVER_PROFILE &amp; S_BLE_HOST"/>
    </RefParameter>
    <RefParameter Name="CFG_LP_CONN_ADV_INTERVAL_MAX_HEXA" Comment="CFG_LP_CONN_ADV_INTERVAL_MAX_HEXA" DefaultValue="0" Type="String" TabName="Configuration" Group="Application parameters" Visible="false">
        <Description> Shall be &amp;lt 2.5s</Description>
    </RefParameter>
<!-- ************************* PAIRING BEGIN ************************* -->
    <RefParameter Name="PAIRING_PARAMETERS" Comment="PAIRING_PARAMETERS" DefaultValue="0FF" Type="list" TabName="BLE Pairing" Group="Pairing parameters" Visible="true">
        <Description>Pairing process management</Description>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
        <PossibleValue Value="OFF" Comment="OFF" />
        <PossibleValue Value="ON" Comment="ON" Semaphore="Semaphore_PAIRING_PARAMETERS"/>
    </RefParameter>
    <RefParameter Name="PAIRING_PARAMETERS" Comment="PAIRING_PARAMETERS" DefaultValue="0FF" Type="String" TabName="BLE Pairing" Group="Application parameters" Visible="false">
        <Description>Pairing process management</Description>
        <PossibleValue Value="OFF" Comment="OFF" />
    </RefParameter>

    <RefParameter Name="CFG_BONDING_MODE" Comment="CFG_BONDING_MODE" DefaultValue="0" Type="list" TabName="BLE Pairing" Group="Pairing parameters" Visible="true">
        <Description>Define Bonding modes&lt;br&gt;Possible values:&lt;br&gt;- No-bonding mode(0x00)&lt;br&gt;- Bonding mode(0x01)</Description>
        <Condition Diagnostic="" Expression="Semaphore_PAIRING_PARAMETERS"/>
        <PossibleValue Value="0" Comment="No-bonding mode(0x00)"/>
        <PossibleValue Value="1" Comment="Bonding mode(0x01)" Semaphore="Semaphore_CFG_BONDING_MODE_REQUIRED"/>
    </RefParameter>
    <RefParameter Name="CFG_BONDING_MODE" Comment="CFG_BONDING_MODE" DefaultValue="0" Type="list" TabName="BLE Pairing" Group="Pairing parameters" Visible="false">
        <PossibleValue Value="0" Comment="No-bonding mode(0x00)" Semaphore="Semaphore_CFG_BONDING_MODE_NOT_REQUIRED"/>
        <Description>Define Bonding modes</Description>
    </RefParameter>

    <RefParameter Name="CFG_USED_FIXED_PIN" Comment="CFG_USED_FIXED_PIN" DefaultValue="0" Type="list" TabName="BLE Pairing" Group="Pairing parameters" Visible="true">
        <Description>Define Fixed Pin option, if set to 1 then CFG_FIXED_PIN will be ignored</Description>
        <Condition Diagnostic="" Expression="Semaphore_PAIRING_PARAMETERS"/>
        <PossibleValue Value="0" Comment="Use a fixed pin (0x00)"/>
        <PossibleValue Value="1" Comment="Do not use a fixed pin (0x01)" Semaphore="Semaphore_CFG_USED_FIXED_PIN_REQUIRED"/>
    </RefParameter>
    <RefParameter Name="CFG_USED_FIXED_PIN" Comment="CFG_USED_FIXED_PIN" DefaultValue="0" Type="list" TabName="BLE Pairing" Group="Pairing parameters" Visible="false">
        <PossibleValue Value="0" Comment="NO(0)"/>
        <Description>Define Fixed Pin option, if set to 1 then CFG_FIXED_PIN will be ignored</Description>
    </RefParameter>

    <RefParameter Name="CFG_FIXED_PIN" Comment="CFG_FIXED_PIN" DefaultValue="111111" Min="0" Max="999999" Type="integer" TabName="BLE Pairing" Group="Pairing parameters" Visible="true">
        <Description>Any random value between 0 and 999999</Description>
        <Condition Diagnostic="" Expression="Semaphore_PAIRING_PARAMETERS"/>
    </RefParameter>
    <RefParameter Name="CFG_FIXED_PIN" Comment="CFG_FIXED_PIN" DefaultValue="111111" Min="111111" Max="111111" Type="integer" TabName="BLE Pairing" Group="Pairing parameters" Visible="false">
        <Description>Any random value between 0 and 999999</Description>
    </RefParameter>

    <RefParameter Name="CFG_ENCRYPTION_KEY_SIZE_MAX" Comment="CFG_ENCRYPTION_KEY_SIZE_MAX" DefaultValue="16" Min="=CFG_ENCRYPTION_KEY_SIZE_MIN" Max="16" Type="integer" TabName="BLE Pairing" Group="Pairing parameters" Visible="true">
        <Description>Encryption key maximum size</Description>
        <Condition Diagnostic="" Expression="Semaphore_PAIRING_PARAMETERS"/>
    </RefParameter>
    <RefParameter Name="CFG_ENCRYPTION_KEY_SIZE_MAX" Comment="CFG_ENCRYPTION_KEY_SIZE_MAX" DefaultValue="16" Min="16" Max="16" Type="integer" TabName="BLE Pairing" Group="Pairing parameters" Visible="false">
        <Description>Encryption key maximum size</Description>
    </RefParameter>

    <RefParameter Name="CFG_ENCRYPTION_KEY_SIZE_MIN" Comment="CFG_ENCRYPTION_KEY_SIZE_MIN" DefaultValue="8" Min="7" Max="=CFG_ENCRYPTION_KEY_SIZE_MAX" Type="integer" TabName="BLE Pairing" Group="Pairing parameters" Visible="true">
        <Description>Encryption key minimum size</Description>
        <Condition Diagnostic="" Expression="Semaphore_PAIRING_PARAMETERS"/>
    </RefParameter>
    <RefParameter Name="CFG_ENCRYPTION_KEY_SIZE_MIN" Comment="CFG_ENCRYPTION_KEY_SIZE_MIN" DefaultValue="8" Min="8" Max="8 " Type="integer" TabName="BLE Pairing" Group="Pairing parameters" Visible="false">
        <Description>Encryption key minimum size</Description>
    </RefParameter>

<!--
    <RefParameter Name="CFG_IDENTITY_ADDRESS_TYPE" Comment="CFG_IDENTITY_ADDRESS_TYPE" DefaultValue="0" Type="list" TabName="BLE Pairing" Group="Pairing parameters" Visible="true" Mode="Advanced">
        <Description>Identity address type&lt;br&gt;Possible values:&lt;br&gt;- Public Identity Address(0x00)&lt;br&gt;- Random Identity Address(0x01)</Description>
        <Condition Diagnostic="" Expression="(Semaphore_BLE_SERVER_PROFILE | Semaphore_BLE_CLIENT_PROFILE | Semaphore_BLE_ROUTER_PROFILE) &amp; S_BLE_HOST &amp; Semaphore_PAIRING_PARAMETERS"/>
        <PossibleValue Value="0" Comment="Public Identity Address(0)" Semaphore="Semaphore_PUBLIC_ADDR"/>
        <PossibleValue Value="1" Comment="Random Identity Address(1)" Semaphore="Semaphore_RANDOM_ADDR"/>
        <PossibleValue Value="2" Comment="Resolvable Private Identity Address(2)" Semaphore="Semaphore_RESOLVABLE_PRIVATE_ADDR"/>
        <PossibleValue Value="3" Comment="Non Resolvable Private Identity Address(3)" Semaphore="Semaphore_NON_RESOLVABLE_PRIVATE_ADDR"/>
    </RefParameter>
    <RefParameter Name="CFG_IDENTITY_ADDRESS_TYPE" Comment="CFG_IDENTITY_ADDRESS_TYPE" DefaultValue="0" Type="list" TabName="BLE Pairing" Group="Pairing parameters" Visible="false" Mode="Advanced">
        <PossibleValue Value="0" Comment="Public Identity Address(0x00)"/>
        <Description>Define Bonding modes</Description>
    </RefParameter>
-->

    <RefParameter Name="CFG_IO_CAPABILITY" Comment="CFG_IO_CAPABILITY" DefaultValue="CFG_IO_CAPABILITY_DISPLAY_YES_NO" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <Description>Define IO capabilities&lt;br&gt;Possible values:&lt;br&gt;- CFG_IO_CAPABILITY_DISPLAY_ONLY (0x00)&lt;br&gt;- CFG_IO_CAPABILITY_DISPLAY_YES_NO (0x01)&lt;br&gt;- CFG_IO_CAPABILITY_KEYBOARD_ONLY (0x02)&lt;br&gt;- CFG_IO_CAPABILITY_NO_INPUT_NO_OUTPUT (0x03)&lt;br&gt;- CFG_IO_CAPABILITY_KEYBOARD_DISPLAY (0x04)</Description>
        <Condition Diagnostic="" Expression="(Semaphore_BLE_SERVER_PROFILE | Semaphore_BLE_CLIENT_PROFILE | Semaphore_BLE_ROUTER_PROFILE | Semaphore_CUSTOM_TEMPLATE)"/>
        <PossibleValue Value="CFG_IO_CAPABILITY_DISPLAY_ONLY" Comment="Display only (0x00)" Semaphore="Semaphore_CFG_IO_CAPABILITY_DISPLAY_ONLY"/>
        <PossibleValue Value="CFG_IO_CAPABILITY_DISPLAY_YES_NO" Comment="Display Yes No (0x01)" Semaphore="Semaphore_CFG_IO_CAPABILITY_DISPLAY_YES_NO"/>
        <PossibleValue Value="CFG_IO_CAPABILITY_KEYBOARD_ONLY" Comment="Keyboard only (0x02)" Semaphore="Semaphore_CFG_IO_CAPABILITY_KEYBOARD_ONLY"/>
        <PossibleValue Value=" CFG_IO_CAPABILITY_NO_INPUT_NO_OUTPUT" Comment="No input, no output (0x03)" Semaphore="Semaphore_ CFG_IO_CAPABILITY_NO_INPUT_NO_OUTPUT"/>
        <PossibleValue Value=" CFG_IO_CAPABILITY_KEYBOARD_DISPLAY" Comment="Keyboard and display (0x04)" Semaphore="Semaphore_ CFG_IO_CAPABILITY_KEYBOARD_DISPLAY"/>
    </RefParameter>
    <RefParameter Name="CFG_IO_CAPABILITY" Comment="CFG_IO_CAPABILITY" DefaultValue="CFG_IO_CAPABILITY_DISPLAY_YES_NO" Type="list" TabName="BLE Pairing" Group="Pairing parameters" Visible="false">
        <PossibleValue Value="CFG_IO_CAPABILITY_DISPLAY_YES_NO" Comment="Display Yes No (0x01)" Semaphore="Semaphore_CFG_IO_CAPABILITY_DISPLAY_YES_NO"/>
        <Description>Define IO capabilities</Description>
    </RefParameter>

    <RefParameter Name="CFG_MITM_PROTECTION" Comment="CFG_MITM_PROTECTION" DefaultValue="CFG_MITM_PROTECTION_REQUIRED" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <Description>Activate/deactivate Define Man In The Middle(MITM) protection mode&lt;br&gt;Possible values:&lt;br&gt;- MITM protection not required (0x00)&lt;br&gt;- MITM protection required (0x01)</Description>
        <Condition Diagnostic="" Expression="(Semaphore_BLE_SERVER_PROFILE | Semaphore_BLE_CLIENT_PROFILE | Semaphore_BLE_ROUTER_PROFILE | Semaphore_CUSTOM_TEMPLATE)"/>
        <PossibleValue Value="CFG_MITM_PROTECTION_NOT_REQUIRED" Comment="MITM protection not required (0x00)"/>
        <PossibleValue Value="CFG_MITM_PROTECTION_REQUIRED" Comment="MITM protection required (0x01)" Semaphore="Semaphore_CFG_MITM_PROTECTION_REQUIRED"/>
    </RefParameter>
    <RefParameter Name="CFG_MITM_PROTECTION" Comment="CFG_MITM_PROTECTION" DefaultValue="CFG_MITM_PROTECTION_REQUIRED" Type="list" TabName="BLE Pairing" Group="Pairing parameters" Visible="false">
        <PossibleValue Value="CFG_MITM_PROTECTION_REQUIRED" Comment="MITM protection required (0x01)" Semaphore="Semaphore_CFG_MITM_PROTECTION_REQUIRED"/>
        <Description>Activate/deactivate Define Man In The Middle(MITM) protection mode</Description>
    </RefParameter>

    <RefParameter Name="CFG_SC_SUPPORT" Comment="CFG_SC_SUPPORT" DefaultValue="CFG_SECURE_OPTIONAL" Type="list" TabName="BLE Pairing" Group="Pairing parameters" Visible="true">
        <Description>Define Secure Connections Support&lt;br&gt;Possible values:&lt;br&gt;- Secure Connections Paring not supported (0x00)&lt;br&gt;- Secure Connections Paring supported but optional (0x01)&lt;br&gt;- Secure Connections Paring supported and mandatory(0x02)</Description>
        <Condition Diagnostic="" Expression="Semaphore_PAIRING_PARAMETERS"/>
        <PossibleValue Value="CFG_SECURE_NOT_SUPPORTED" Comment="Secure Connections Paring not supported (0x00)" Semaphore="Semaphore_CFG_SECURE_NOT_SUPPORTED"/>
        <PossibleValue Value="CFG_SECURE_OPTIONAL" Comment="Secure Connections Paring supported but optional (0x01)" Semaphore="Semaphore_CFG_SECURE_OPTIONAL"/>
        <PossibleValue Value="CFG_SECURE_MANDATORY" Comment="Secure Connections Paring supported and mandatory(0x02)" Semaphore="Semaphore_CFG_SECURE_MANDATORY"/>
    </RefParameter>
    <RefParameter Name="CFG_SC_SUPPORT" Comment="CFG_SC_SUPPORT" DefaultValue="CFG_SECURE_OPTIONAL" Type="list" TabName="BLE Pairing" Group="Pairing parameters" Visible="false">
        <PossibleValue Value="CFG_SECURE_OPTIONAL" Comment="MITM protection required" Semaphore="Semaphore_CFG_SECURE_OPTIONAL"/>
        <Description>Define Secure Connections Support</Description>
    </RefParameter>

    <RefParameter Name="CFG_KEYPRESS_NOTIFICATION_SUPPORT" Comment="CFG_KEYPRESS_NOTIFICATION_SUPPORT" DefaultValue="CFG_KEYPRESS_NOT_SUPPORTED" Type="list" TabName="BLE Pairing" Group="Pairing parameters" Visible="true">
        <Description>Define MITM modes&lt;br&gt;Possible values:&lt;br&gt;- Keypress notification not supported (0x00)&lt;br&gt;- Keypress notification supported (0x01)</Description>
        <Condition Diagnostic="" Expression="Semaphore_PAIRING_PARAMETERS"/>
        <PossibleValue Value="CFG_KEYPRESS_NOT_SUPPORTED" Comment="Keypress notification not supported (0x00)"/>
        <PossibleValue Value="CFG_KEYPRESS_SUPPORTED" Comment="Keypress notification supported (0x01)" Semaphore="Semaphore_CFG_KEYPRESS_SUPPORTED"/>
    </RefParameter>
    <RefParameter Name="CFG_KEYPRESS_NOTIFICATION_SUPPORT" Comment="CFG_KEYPRESS_NOTIFICATION_SUPPORT" DefaultValue="CFG_KEYPRESS_NOT_SUPPORTED" Type="list" TabName="BLE Pairing" Group="Pairing parameters" Visible="false">
        <PossibleValue Value="CFG_KEYPRESS_NOT_SUPPORTED" Comment="CFG_KEYPRESS_NOT_SUPPORTED"/>
        <Description>Define MITM modes</Description>
    </RefParameter>

<!-- ************************* PAIRING END ************************* -->

    <RefParameter Name="P2P_SERVER_NUMBER" Comment="P2P_SERVER_NUMBER" DefaultValue="P2P_SERVER1" Type="list" Group="P2P Service" TabName="BLE Applications and Services" Visible="true">
        <Description> P2P Server number</Description>
        <PossibleValue Value="P2P_SERVER1" Comment="P2P_SERVER1" Semaphore="Semaphore_P2P_SERVER1"/>
        <PossibleValue Value="P2P_SERVER2" Comment="P2P_SERVER2" Semaphore="Semaphore_P2P_SERVER2"/>
        <PossibleValue Value="P2P_SERVER3" Comment="P2P_SERVER3" Semaphore="Semaphore_P2P_SERVER3"/>
        <PossibleValue Value="P2P_SERVER4" Comment="P2P_SERVER4" Semaphore="Semaphore_P2P_SERVER4"/>
        <PossibleValue Value="P2P_SERVER5" Comment="P2P_SERVER5" Semaphore="Semaphore_P2P_SERVER5"/>
        <PossibleValue Value="P2P_SERVER6" Comment="P2P_SERVER6" Semaphore="Semaphore_P2P_SERVER6"/>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_P2P_SERVER &amp; S_BLE_HOST"/>
    </RefParameter>
    <RefParameter Name="P2P_SERVER_NUMBER" Comment="P2P_SERVER_NUMBER" DefaultValue="" Type="String" Group="P2P Service" TabName="BLE Applications and Services" Visible="false">
    </RefParameter>

    <RefParameter Name="L2CAP_REQUEST_NEW_CONN_PARAM" Comment="L2CAP_REQUEST_NEW_CONN_PARAM" DefaultValue="0" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <Description>L2CAP Connection Update request parameters used for test only with smart Phone</Description>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_P2P_SERVER &amp; S_BLE_HOST"/>
        <PossibleValue Value="0" Comment="0" />
        <PossibleValue Value="1" Comment="1" />
    </RefParameter>
    <RefParameter Name="L2CAP_REQUEST_NEW_CONN_PARAM" Comment="L2CAP_REQUEST_NEW_CONN_PARAM" DefaultValue="0" Type="String" TabName="Configuration" Group="Application parameters" Visible="false">
        <Description>L2CAP Connection Update request parameters used for test only with smart Phone</Description>
    </RefParameter>

    <RefParameter Name="CFG_DEBUG_TRACE_UART" Comment="CFG_DEBUG_TRACE_UART" DefaultValue="" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="" Comment="No UART selected"/>
        <PossibleValue Value="hw_uart1" Comment="hw_uart1" Semaphore="Semaphore_DBG_TRACE_UART_CFG_hw_uart1" />
        <PossibleValue Value="hw_lpuart1" Comment="hw_lpuart1" Semaphore="Semaphore_DBG_TRACE_UART_CFG_hw_lpuart1" />
        <Description> Enable Debug Trace</Description>
        <Condition Diagnostic="" Expression="Semaphore_CFG_HW_USART1_ENABLED &amp; Semaphore_CFG_HW_LPUART1_ENABLED"/>
    </RefParameter>
    <RefParameter Name="CFG_DEBUG_TRACE_UART" Comment="CFG_DEBUG_TRACE_UART" DefaultValue="" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="" Comment="You need to activate LPUART1(when available)"/>
        <Condition Diagnostic="" Expression="Semaphore_CFG_HW_USART1_ENABLED &amp; !Semaphore_CFG_HW_LPUART1_ENABLED &amp; (Semaphore_CFG_UART_CLI_hw_uart1 | Semaphore_CFG_CONSOLE_MENU_hw_uart1)"/>
        <Description> Enable Debug Trace. &lt;font color=&quot;red&quot;&gt;LPUART1 and CFG_HW_LPUART1_ENABLED shall be activated&lt;/font&gt;</Description>
    </RefParameter>
    <RefParameter Name="CFG_DEBUG_TRACE_UART" Comment="CFG_DEBUG_TRACE_UART" DefaultValue="" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="" Comment="You need to activate USART1"/>
        <Condition Diagnostic="" Expression="!Semaphore_CFG_HW_USART1_ENABLED &amp; Semaphore_CFG_HW_LPUART1_ENABLED &amp; (Semaphore_CFG_UART_CLI_hw_lpuart1 | Semaphore_CFG_CONSOLE_MENU_hw_lpuart1)"/>
        <Description> Enable Debug Trace. &lt;font color=&quot;red&quot;&gt;USART1 and CFG_HW_USART1_ENABLED and shall be activated&lt;/font&gt;</Description>
    </RefParameter>
    <RefParameter Name="CFG_DEBUG_TRACE_UART" Comment="CFG_DEBUG_TRACE_UART" DefaultValue="" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="" Comment="You need to activate either CFG_HW_UART1 or CFG_HW_LPUART1(when available)"/>
        <Condition Diagnostic="" Expression="!Semaphore_CFG_HW_USART1_ENABLED &amp; !Semaphore_CFG_HW_LPUART1_ENABLED"/>
        <Description> Enable Debug Trace. &lt;font color=&quot;red&quot;&gt;One UART shall be activated&lt;/font&gt;</Description>
    </RefParameter>
    <RefParameter Name="CFG_DEBUG_TRACE_UART" Comment="CFG_DEBUG_TRACE_UART" DefaultValue="" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="" Comment="No UART selected"/>
        <PossibleValue Value="hw_uart1" Comment="hw_uart1" Semaphore="Semaphore_DBG_TRACE_UART_CFG_hw_uart1" />
        <Description> Enable Debug Trace. &lt;font color=&quot;red&quot;&gt;USART1 shall be slected&lt;/font&gt;</Description>
        <Condition Diagnostic="" Expression="Semaphore_CFG_HW_USART1_ENABLED &amp; !Semaphore_CFG_HW_LPUART1_ENABLED "/>
    </RefParameter>
    <RefParameter Name="CFG_DEBUG_TRACE_UART" Comment="CFG_DEBUG_TRACE_UART" DefaultValue="" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="" Comment="No UART selected"/>
        <PossibleValue Value="hw_lpuart1" Comment="hw_lpuart1" Semaphore="Semaphore_DBG_TRACE_UART_CFG_hw_lpuart1" />
        <Description> Enable Debug Trace. &lt;font color=&quot;red&quot;&gt;LPUART1 shall be slected&lt;/font&gt;</Description>
        <Condition Diagnostic="" Expression="!Semaphore_CFG_HW_USART1_ENABLED &amp; Semaphore_CFG_HW_LPUART1_ENABLED "/>
    </RefParameter>
    <RefParameter Name="CFG_DEBUG_TRACE_UART" Comment="CFG_DEBUG_TRACE_UART" DefaultValue="" Type="String" TabName="Configuration" Group="Application parameters" Visible="false">
        <Description>UART choice for GUI</Description>
    </RefParameter>    
    
    <RefParameter Name="CFG_CLI_UART" Comment="CFG_CLI_UART" DefaultValue="No UART selected" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="No UART selected" Comment="No UART selected"/>
        <PossibleValue Value="hw_uart1" Comment="hw_uart1" Semaphore="Semaphore_CFG_UART_CLI_hw_uart1" />
        <Description> &lt;font color=&quot;red&quot;&gt;UART shall be selected when Thread_Cli_Cmd is selected&lt;/font&gt;</Description>
        <Condition Diagnostic="" Expression="Semaphore_CFG_HW_USART1_ENABLED &amp; Semaphore_CFG_HW_LPUART1_ENABLED &amp; !S_BLE_HOST &amp; Semaphore_DBG_TRACE_UART_CFG_hw_lpuart1"/>
    </RefParameter>
    <RefParameter Name="CFG_CLI_UART" Comment="CFG_CLI_UART" DefaultValue="No UART selected" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="No UART selected" Comment="No UART selected"/>
        <PossibleValue Value="hw_lpuart1" Comment="hw_lpuart1" Semaphore="Semaphore_CFG_UART_CLI_hw_lpuart1" />
        <Description> &lt;font color=&quot;red&quot;&gt;UART shall be selected when Thread_Cli_Cmd is selected&lt;/font&gt;</Description>
        <Condition Diagnostic="" Expression="Semaphore_CFG_HW_USART1_ENABLED &amp; Semaphore_CFG_HW_LPUART1_ENABLED &amp; !S_BLE_HOST &amp; Semaphore_DBG_TRACE_UART_CFG_hw_uart1"/>
    </RefParameter>
    <RefParameter Name="CFG_CLI_UART" Comment="CFG_CLI_UART" DefaultValue="No UART selected" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="No UART selected" Comment="No UART selected"/>
        <PossibleValue Value="hw_uart1" Comment="hw_uart1" Semaphore="Semaphore_CFG_UART_CLI_hw_uart1" />
        <PossibleValue Value="hw_lpuart1" Comment="hw_lpuart1" Semaphore="Semaphore_CFG_UART_CLI_hw_lpuart1" />
        <Description> &lt;font color=&quot;red&quot;&gt;UART shall be selected when Thread_Cli_Cmd is selected&lt;/font&gt;</Description>
        <Condition Diagnostic="" Expression="Semaphore_CFG_HW_USART1_ENABLED &amp; Semaphore_CFG_HW_LPUART1_ENABLED &amp;!S_BLE_HOST"/>
    </RefParameter>
    <RefParameter Name="CFG_CLI_UART" Comment="CFG_CLI_UART" DefaultValue="No UART selected" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="No UART selected" Comment="No UART selected. You need to activate UART1"/>
        <Description> &lt;font color=&quot;red&quot;&gt;UART shall be selected when Thread_Cli_Cmd is selected&lt;/font&gt;</Description>
        <Condition Diagnostic="" Expression="!Semaphore_CFG_HW_USART1_ENABLED &amp; Semaphore_CFG_HW_LPUART1_ENABLED &amp; !S_BLE_HOST  &amp; Semaphore_DBG_TRACE_UART_CFG_hw_lpuart1"/>
    </RefParameter>
    <RefParameter Name="CFG_CLI_UART" Comment="CFG_CLI_UART" DefaultValue="No UART selected" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="No UART selected" Comment="No UART selected. You need to activate LPUART1(if available)"/>
        <Description> &lt;font color=&quot;red&quot;&gt;UART shall be selected when Thread_Cli_Cmd is selected&lt;/font&gt;</Description>
        <Condition Diagnostic="" Expression="Semaphore_CFG_HW_USART1_ENABLED &amp; !Semaphore_CFG_HW_LPUART1_ENABLED &amp; !S_BLE_HOST &amp; Semaphore_DBG_TRACE_UART_CFG_hw_uart1"/>
    </RefParameter>
    <RefParameter Name="CFG_CLI_UART" Comment="CFG_CLI_UART" DefaultValue="No UART selected" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="No UART selected" Comment="You need to activate either CFG_HW_UART1 or CFG_HW_LPUART1(when available)"/>
        <Description> &lt;font color=&quot;red&quot;&gt;UART shall be selected when Thread_Cli_Cmd is selected&lt;/font&gt;</Description>
        <Condition Diagnostic="" Expression="!Semaphore_CFG_HW_USART1_ENABLED &amp; !Semaphore_CFG_HW_LPUART1_ENABLED &amp; !S_BLE_HOST"/>
    </RefParameter>
    <RefParameter Name="CFG_CLI_UART" Comment="CFG_CLI_UART" DefaultValue="No UART selected" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="No UART selected" Comment="No UART selected"/>
        <PossibleValue Value="hw_uart1" Comment="hw_uart1" Semaphore="Semaphore_CFG_UART_CLI_hw_uart1" />
        <Description> &lt;font color=&quot;red&quot;&gt;UART shall be selected when Thread_Cli_Cmd is selected&lt;/font&gt;</Description>
        <Condition Diagnostic="" Expression="Semaphore_CFG_HW_USART1_ENABLED &amp; !Semaphore_CFG_HW_LPUART1_ENABLED &amp; !S_BLE_HOST"/>
    </RefParameter>
    <RefParameter Name="CFG_CLI_UART" Comment="CFG_CLI_UART" DefaultValue="No UART selected" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="No UART selected" Comment="No UART selected"/>
        <PossibleValue Value="hw_lpuart1" Comment="hw_lpuart1" Semaphore="Semaphore_CFG_UART_CLI_hw_lpuart1" />
        <Description> &lt;font color=&quot;red&quot;&gt;UART shall be selected when Thread_Cli_Cmd is selected&lt;/font&gt;</Description>
        <Condition Diagnostic="" Expression="!Semaphore_CFG_HW_USART1_ENABLED &amp; Semaphore_CFG_HW_LPUART1_ENABLED &amp; !S_BLE_HOST"/>
    </RefParameter>
    <RefParameter Name="CFG_CLI_UART" Comment="CFG_CLI_UART" DefaultValue="No UART selected" Type="String" TabName="Configuration" Group="Application parameters" Visible="false">
        <Description>UART choice for GUI</Description>
    </RefParameter>

    <RefParameter Name="CFG_UART_GUI" Comment="CFG_UART_GUI" DefaultValue="No UART selected" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="No UART selected" Comment="No UART selected"/>
        <PossibleValue Value="hw_uart1" Comment="hw_uart1" Semaphore="Semaphore_CFG_UART_GUI_hw_uart1" />
        <Description> &lt;font color=&quot;red&quot;&gt;UART shall be selected as it is mandatory for Transparent Mode&lt;/font&gt;</Description>
        <Condition Diagnostic="" Expression="Semaphore_CFG_HW_USART1_ENABLED &amp; Semaphore_CFG_HW_LPUART1_ENABLED &amp; Semaphore_BLE_TRANSPARENT_MODE &amp; S_BLE_HOST &amp; Semaphore_DBG_TRACE_UART_CFG_hw_lpuart1"/>
    </RefParameter>
    <RefParameter Name="CFG_UART_GUI" Comment="CFG_UART_GUI" DefaultValue="No UART selected" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="No UART selected" Comment="No UART selected"/>
        <PossibleValue Value="hw_lpuart1" Comment="hw_lpuart1" Semaphore="Semaphore_CFG_UART_GUI_hw_lpuart1" />
        <Description> &lt;font color=&quot;red&quot;&gt;UART shall be selected as it is mandatory for Transparent Mode&lt;/font&gt;</Description>
        <Condition Diagnostic="" Expression="Semaphore_CFG_HW_USART1_ENABLED &amp; Semaphore_CFG_HW_LPUART1_ENABLED &amp; Semaphore_BLE_TRANSPARENT_MODE &amp; S_BLE_HOST &amp; Semaphore_DBG_TRACE_UART_CFG_hw_uart1"/>
    </RefParameter>
    <RefParameter Name="CFG_UART_GUI" Comment="CFG_UART_GUI" DefaultValue="No UART selected" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="No UART selected" Comment="No UART selected"/>
        <PossibleValue Value="hw_uart1" Comment="hw_uart1" Semaphore="Semaphore_CFG_UART_GUI_hw_uart1" />
        <PossibleValue Value="hw_lpuart1" Comment="hw_lpuart1" Semaphore="Semaphore_CFG_UART_GUI_hw_lpuart1" />
        <Description> &lt;font color=&quot;red&quot;&gt;UART shall be selected as it is mandatory for Transparent Mode&lt;/font&gt;</Description>
        <Condition Diagnostic="" Expression="Semaphore_CFG_HW_USART1_ENABLED &amp; Semaphore_CFG_HW_LPUART1_ENABLED &amp; Semaphore_BLE_TRANSPARENT_MODE &amp; S_BLE_HOST"/>
    </RefParameter>
    <RefParameter Name="CFG_UART_GUI" Comment="CFG_UART_GUI" DefaultValue="No UART selected" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="No UART selected" Comment="No UART selected. You need to activate UART1"/>
        <Condition Diagnostic="" Expression="!Semaphore_CFG_HW_USART1_ENABLED &amp; Semaphore_CFG_HW_LPUART1_ENABLED &amp; Semaphore_BLE_TRANSPARENT_MODE &amp; S_BLE_HOST  &amp; Semaphore_DBG_TRACE_UART_CFG_hw_lpuart1"/>
        <Description> &lt;font color=&quot;red&quot;&gt;UART shall be selected as it is mandatory for Transparent Mode&lt;/font&gt;</Description>
    </RefParameter>
    <RefParameter Name="CFG_UART_GUI" Comment="CFG_UART_GUI" DefaultValue="No UART selected" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="No UART selected" Comment="No UART selected. You need to activate LPUART1(if available)"/>
        <Condition Diagnostic="" Expression="Semaphore_CFG_HW_USART1_ENABLED &amp; !Semaphore_CFG_HW_LPUART1_ENABLED &amp; Semaphore_BLE_TRANSPARENT_MODE &amp; S_BLE_HOST &amp; Semaphore_DBG_TRACE_UART_CFG_hw_uart1"/>
        <Description> &lt;font color=&quot;red&quot;&gt;UART shall be selected as it is mandatory for Transparent Mode&lt;/font&gt;</Description>
    </RefParameter>
    <RefParameter Name="CFG_UART_GUI" Comment="CFG_UART_GUI" DefaultValue="No UART selected" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="No UART selected" Comment="You need to activate either CFG_HW_UART1 or CFG_HW_LPUART1(when available)"/>
        <Description> &lt;font color=&quot;red&quot;&gt;UART shall be selected as it is mandatory for Transparent Mode&lt;/font&gt;</Description>
        <Condition Diagnostic="" Expression="!Semaphore_CFG_HW_USART1_ENABLED &amp; !Semaphore_CFG_HW_LPUART1_ENABLED &amp; Semaphore_BLE_TRANSPARENT_MODE &amp; S_BLE_HOST"/>
    </RefParameter>
    <RefParameter Name="CFG_UART_GUI" Comment="CFG_UART_GUI" DefaultValue="No UART selected" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="No UART selected" Comment="No UART selected."/>
        <PossibleValue Value="hw_uart1" Comment="hw_uart1" Semaphore="Semaphore_CFG_UART_GUI_hw_uart1" />
        <Description> &lt;font color=&quot;red&quot;&gt;UART shall be selected as it is mandatory for Transparent Mode&lt;/font&gt;</Description>
        <Condition Diagnostic="" Expression="Semaphore_CFG_HW_USART1_ENABLED &amp; !Semaphore_CFG_HW_LPUART1_ENABLED &amp; Semaphore_BLE_TRANSPARENT_MODE &amp; S_BLE_HOST"/>
    </RefParameter>
    <RefParameter Name="CFG_UART_GUI" Comment="CFG_UART_GUI" DefaultValue="No UART selected" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="No UART selected" Comment="No UART selected."/>
        <PossibleValue Value="hw_lpuart1" Comment="hw_lpuart1" Semaphore="Semaphore_CFG_UART_GUI_hw_lpuart1" />
        <Description> &lt;font color=&quot;red&quot;&gt;UART shall be selected as it is mandatory for Transparent Mode&lt;/font&gt;</Description>
        <Condition Diagnostic="" Expression="!Semaphore_CFG_HW_USART1_ENABLED &amp; Semaphore_CFG_HW_LPUART1_ENABLED &amp; Semaphore_BLE_TRANSPARENT_MODE &amp; S_BLE_HOST"/>
    </RefParameter>
    <RefParameter Name="CFG_UART_GUI" Comment="CFG_UART_GUI" DefaultValue="No UART selected" Type="String" TabName="Configuration" Group="Application parameters" Visible="false">
        <Description>UART choice for GUI</Description>
    </RefParameter>    

    <RefParameter Name="CFG_CONSOLE_MENU" Comment="CFG_CONSOLE_MENU" DefaultValue="No UART selected" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="No UART selected" Comment="No UART selected"/>
        <PossibleValue Value="hw_uart1" Comment="hw_uart1" Semaphore="Semaphore_CFG_CONSOLE_MENU_hw_uart1" />
        <Condition Diagnostic="" Expression="Semaphore_CFG_HW_USART1_ENABLED &amp; Semaphore_CFG_HW_LPUART1_ENABLED &amp; !Semaphore_BLE_TRANSPARENT_MODE &amp; S_BLE_HOST &amp; Semaphore_DBG_TRACE_UART_CFG_hw_lpuart1"/>
    </RefParameter>
    <RefParameter Name="CFG_CONSOLE_MENU" Comment="CFG_CONSOLE_MENU" DefaultValue="No UART selected" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="No UART selected" Comment="No UART selected"/>
        <PossibleValue Value="hw_lpuart1" Comment="hw_lpuart1" Semaphore="Semaphore_CFG_CONSOLE_MENU_hw_lpuart1" />
        <Condition Diagnostic="" Expression="Semaphore_CFG_HW_USART1_ENABLED &amp; Semaphore_CFG_HW_LPUART1_ENABLED &amp; !Semaphore_BLE_TRANSPARENT_MODE &amp; S_BLE_HOST &amp; Semaphore_DBG_TRACE_UART_CFG_hw_uart1"/>
    </RefParameter>
    <RefParameter Name="CFG_CONSOLE_MENU" Comment="CFG_CONSOLE_MENU" DefaultValue="No UART selected" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="No UART selected" Comment="No UART selected"/>
        <PossibleValue Value="hw_uart1" Comment="hw_uart1" Semaphore="Semaphore_CFG_CONSOLE_MENU_hw_uart1" />
        <PossibleValue Value="hw_lpuart1" Comment="hw_lpuart1" Semaphore="Semaphore_CFG_CONSOLE_MENU_hw_lpuart1" />
        <Condition Diagnostic="" Expression="Semaphore_CFG_HW_USART1_ENABLED &amp; Semaphore_CFG_HW_LPUART1_ENABLED &amp; !Semaphore_BLE_TRANSPARENT_MODE &amp; S_BLE_HOST"/>
    </RefParameter>
    <RefParameter Name="CFG_CONSOLE_MENU" Comment="CFG_CONSOLE_MENU" DefaultValue="No UART selected" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="No UART selected" Comment="No UART selected. You need to activate UART1"/>
        <Condition Diagnostic="" Expression="!Semaphore_CFG_HW_USART1_ENABLED &amp; Semaphore_CFG_HW_LPUART1_ENABLED &amp; !Semaphore_BLE_TRANSPARENT_MODE &amp; S_BLE_HOST  &amp; Semaphore_DBG_TRACE_UART_CFG_hw_lpuart1"/>
    </RefParameter>
    <RefParameter Name="CFG_CONSOLE_MENU" Comment="CFG_CONSOLE_MENU" DefaultValue="No UART selected" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="No UART selected" Comment="No UART selected. You need to activate LPUART1 (if available)"/>
        <Condition Diagnostic="" Expression="Semaphore_CFG_HW_USART1_ENABLED &amp; !Semaphore_CFG_HW_LPUART1_ENABLED &amp; !Semaphore_BLE_TRANSPARENT_MODE &amp; S_BLE_HOST &amp; Semaphore_DBG_TRACE_UART_CFG_hw_uart1"/>
    </RefParameter>
    <RefParameter Name="CFG_CONSOLE_MENU" Comment="CFG_CONSOLE_MENU" DefaultValue="No UART selected" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="No UART selected" Comment="You need to activate either CFG_HW_UART1 or CFG_HW_LPUART1(when available)"/>
        <Condition Diagnostic="" Expression="!Semaphore_CFG_HW_USART1_ENABLED &amp; !Semaphore_CFG_HW_LPUART1_ENABLED &amp; !Semaphore_BLE_TRANSPARENT_MODE &amp; S_BLE_HOST"/>
    </RefParameter>
    <RefParameter Name="CFG_CONSOLE_MENU" Comment="CFG_CONSOLE_MENU" DefaultValue="No UART selected" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="No UART selected" Comment="No UART selected"/>
        <PossibleValue Value="hw_uart1" Comment="hw_uart1" Semaphore="Semaphore_CFG_CONSOLE_MENU_hw_uart1" />
        <Condition Diagnostic="" Expression="Semaphore_CFG_HW_USART1_ENABLED &amp; !Semaphore_CFG_HW_LPUART1_ENABLED &amp; !Semaphore_BLE_TRANSPARENT_MODE &amp; S_BLE_HOST"/>
    </RefParameter>
    <RefParameter Name="CFG_CONSOLE_MENU" Comment="CFG_CONSOLE_MENU" DefaultValue="No UART selected" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <PossibleValue Value="No UART selected" Comment="No UART selected"/>
        <PossibleValue Value="hw_lpuart1" Comment="hw_lpuart1" Semaphore="Semaphore_CFG_CONSOLE_MENU_hw_lpuart1" />
        <Condition Diagnostic="" Expression="!Semaphore_CFG_HW_USART1_ENABLED &amp; Semaphore_CFG_HW_LPUART1_ENABLED &amp; !Semaphore_BLE_TRANSPARENT_MODE &amp; S_BLE_HOST"/>
    </RefParameter>
    <RefParameter Name="CFG_CONSOLE_MENU" Comment="CFG_CONSOLE_MENU" DefaultValue="No UART selected" Type="String" TabName="Configuration" Group="Application parameters" Visible="false">
        <Description>UART choice for GUI</Description>
    </RefParameter>     

    <RefParameter Name="CFG_USB_INTERFACE_ENABLE" Comment="CFG_USB_INTERFACE_ENABLE" DefaultValue="Enabled" Type="list" TabName="Configuration" Group="Application parameters" Visible="false">
        <PossibleValue Value="Disabled" Comment="Disabled" />
        <PossibleValue Value="Enabled" Comment="Enabled"/>
        <Condition Diagnostic="" Expression="Semaphore_BLE_TRANSPARENT_MODE_VCP &amp; S_BLE_HOST"/>
        <Description> Enable/Disable USB interface. Mandatory to be set to Enabled for Transparent Mode VCP </Description>
    </RefParameter>
    <RefParameter Name="CFG_USB_INTERFACE_ENABLE" Comment="CFG_USB_INTERFACE_ENABLE" DefaultValue="Disabled" Type="list" TabName="Configuration" Group="Application parameters" Visible="false">
        <Description> Enable/Disable USB interface</Description>
        <PossibleValue Value="Disabled" Comment="Disabled" />
        <PossibleValue Value="Enabled" Comment="Enabled" Semaphore="Semaphore_CFG_USB_INTERFACE_ENABLE"/>
    </RefParameter>

    <RefParameter Name="CFG_RTCCLK_DIVIDER_CONF" Comment="CFG_RTCCLK_DIVIDER_CONF" DefaultValue="0" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <Description> CFG_RTCCLK_DIVIDER_CONF:&lt;br&gt;-  Shall be set to either 0,2,4,8,16&lt;br&gt;-  When set to either 2,4,8,16, the 1Hhz calendar is supported&lt;br&gt;-  When set to 0, the user sets its own configuration</Description>
        <Condition Diagnostic="" Expression="(Semaphore_BLE_SERVER_PROFILE | Semaphore_BLE_CLIENT_PROFILE | Semaphore_BLE_ROUTER_PROFILE | Semaphore_BLE_TRANSPARENT_MODE_UART) &amp; S_BLE_HOST"/>
        <PossibleValue Value="0" Comment="0" Semaphore="Semaphore_CFG_RTCCLK_DIVIDER_CONF_0"/>
        <PossibleValue Value="2" Comment="2" Semaphore="Semaphore_CFG_RTCCLK_DIVIDER_CONF_2"/>
        <PossibleValue Value="4" Comment="4" Semaphore="Semaphore_CFG_RTCCLK_DIVIDER_CONF_4"/>
        <PossibleValue Value=" 8" Comment="8" Semaphore="Semaphore_CFG_RTCCLK_DIVIDER_CONF_8"/>
        <PossibleValue Value=" 16" Comment="16" Semaphore="Semaphore_CFG_RTCCLK_DIVIDER_CONF_6"/>
    </RefParameter>
    <RefParameter Name="CFG_RTCCLK_DIVIDER_CONF" Comment="CFG_RTCCLK_DIVIDER_CONF" DefaultValue="0" Type="String" TabName="Configuration" Group="Application parameters" Visible="false">
        <Description>Define IO capabilities</Description>
    </RefParameter>

    <RefParameter Name="CFG_HW_RESET_BY_FW" Comment="CFG_HW_RESET_BY_FW" DefaultValue="1" Type="list" Group="Generic parameters" TabName="Configuration" Visible="true">
        <Description> When set, this resets some hw resources to set the device in the same state than the power up&lt;br&gt;The FW resets only register that may prevent the FW to run properly&lt;br&gt;This shall be set to 0 in a final product</Description>
        <PossibleValue Value="0" Comment="Disabled" />
        <PossibleValue Value="1" Comment="Enabled" Semaphore="Semaphore_CFG_HW_RESET_BY_FW"/>
    </RefParameter>

    <RefParameter Name="CFG_LED_SUPPORTED" Comment="CFG_LED_SUPPORTED" DefaultValue="0" Type="list" Group="Generic parameters" TabName="Configuration" Visible="true">
        <Description> When set, this resets some hw resources to set the device in the same state than the power up&lt;br&gt;The FW resets only register that may prevent the FW to run properly&lt;br&gt;This shall be set to 0 in a final product</Description>
        <PossibleValue Value="0" Comment="Disabled" />
        <PossibleValue Value="1" Comment="Enabled" Semaphore="Semaphore_CFG_LED_SUPPORTED"/>
    </RefParameter>

    <RefParameter Name="CFG_BUTTON_SUPPORTED" Comment="CFG_BUTTON_SUPPORTED" DefaultValue="0" Type="list" Group="Generic parameters" TabName="Configuration" Visible="true">
        <Description> When set, this resets some hw resources to set the device in the same state than the power up&lt;br&gt;The FW resets only register that may prevent the FW to run properly&lt;br&gt;This shall be set to 0 in a final product</Description>
        <PossibleValue Value="0" Comment="Disabled" />
        <PossibleValue Value="1" Comment="Enabled" Semaphore="Semaphore_CFG_BUTTON_SUPPORTED"/>
    </RefParameter>


    <RefParameter Name="CFG_DEBUG_BLE_TRACE" Comment="CFG_DEBUG_BLE_TRACE" DefaultValue="0" Type="list" Group="Generic parameters" TabName="Configuration" Visible="true">
        <Condition Diagnostic="" Expression="S_BLE_HOST &amp;( Semaphore_CFG_HW_USART1_ENABLED | Semaphore_CFG_HW_LPUART1_ENABLED) &amp; (Semaphore_DBG_TRACE_UART_CFG_hw_uart1 | Semaphore_DBG_TRACE_UART_CFG_hw_lpuart1)"/>
        <Description>  Enable or disable traces in the BLE services</Description>
        <PossibleValue Value="0" Comment="Disabled" />
        <PossibleValue Value="1" Comment="Enabled" Semaphore="Semaphore_CFG_DEBUG_BLE_TRACE"/>
    </RefParameter>
    <RefParameter Name="CFG_DEBUG_BLE_TRACE" Comment="CFG_DEBUG_BLE_TRACE" DefaultValue="0" Type="list" Group="Generic parameters" TabName="Configuration" Visible="true">
        <Condition Diagnostic="" Expression="S_BLE_HOST"/>
        <Description>  Enable or disable traces in the BLE services. CFG_HW_USART1_ENABLED and or CFG_HW_LPUART1_ENABLED must be set as well as DBG_TRACE_UART_CFG </Description>
        <PossibleValue Value="0" Comment="Disabled" />
    </RefParameter>
    <RefParameter Name="CFG_DEBUG_BLE_TRACE" Comment="CFG_DEBUG_BLE_TRACE" DefaultValue="0" Type="list" Group="Generic parameters" TabName="Configuration" Visible="false">
        <Description>  When set to 1, the traces are Enable in the BLE services</Description>
    </RefParameter>

    <RefParameter Name="CFG_DEBUG_APP_TRACE" Comment="CFG_DEBUG_APP_TRACE" DefaultValue="0" Type="list" Group="Generic parameters" TabName="Configuration" Visible="true">
        <Condition Diagnostic="" Expression="S_BLE_HOST &amp;( Semaphore_CFG_HW_USART1_ENABLED | Semaphore_CFG_HW_LPUART1_ENABLED) &amp; (Semaphore_DBG_TRACE_UART_CFG_hw_uart1 | Semaphore_DBG_TRACE_UART_CFG_hw_lpuart1)"/>
        <PossibleValue Value="0" Comment="Disabled" />
        <PossibleValue Value="1" Comment="Enabled" Semaphore="Semaphore_CFG_DEBUG_APP_TRACE"/>
        <Description> Enable or disable traces in application</Description>
    </RefParameter>
    <RefParameter Name="CFG_DEBUG_APP_TRACE" Comment="CFG_DEBUG_APP_TRACE" DefaultValue="0" Type="list" Group="Generic parameters" TabName="Configuration" Visible="true">
        <Condition Diagnostic="" Expression="S_BLE_HOST"/>
        <PossibleValue Value="0" Comment="Disabled" />
        <Description>  Enable or disable traces traces in application. CFG_HW_USART1_ENABLED and or CFG_HW_LPUART1_ENABLED must be set  as well as CFG_DEBUG_TRACE_UART  </Description>
    </RefParameter>
    <RefParameter Name="CFG_DEBUG_APP_TRACE" Comment="CFG_DEBUG_APP_TRACE" DefaultValue="0" Type="list" Group="Generic parameters" TabName="Configuration" Visible="false">
        <Description> Enable or disable traces in application</Description>
    </RefParameter>

    <RefParameter Name="CFG_FULL_LOW_POWER" Comment="CFG_FULL_LOW_POWER" DefaultValue="0" Type="list" Group="Generic parameters" TabName="Configuration" Visible="true">
        <Condition Diagnostic="" Expression="S_THREAD | S_ZIGBEE"/>
        <Description>  Enable or disable light traces in the THREAD and ZIGBEE services. CFG_HW_USART1_ENABLED and or CFG_HW_LPUART1_ENABLED must be set as well as CFG_DEBUG_TRACE_UART. In Zigbee applications, it forces the network mode to Centralized and the device role to Sleepy End Device, and a Sleepy End Device has to enable this full low power parameter.</Description>
        <PossibleValue Value="0" Comment="Disabled" Condition="S_ZGB_SED" Diagnostic="In Zigbee mode, enable when using a Sleepy End Device"/>
        <PossibleValue Value="1" Comment="Enabled" Semaphore="Semaphore_CFG_FULL_LOW_POWER"/>
    </RefParameter>
    <RefParameter Name="CFG_FULL_LOW_POWER" Comment="CFG_FULL_LOW_POWER" DefaultValue="0" Type="list" Group="Generic parameters" TabName="Configuration" Visible="false">
        <Description>  Enable or disable light traces in the THREAD services</Description>
    </RefParameter>

    <RefParameter Name="CFG_LPM_SUPPORTED" Comment="CFG_LPM_SUPPORTED" DefaultValue="0" Type="list" TabName="Configuration" Group="Generic parameters" Visible="true">
        <Description> Low Power mode:&lt;br&gt;When set to 1, the low power mode is Enable &lt;br&gt; When set to 0, the device stays in RUN mode</Description>
        <Condition Diagnostic="" Expression="S_BLE_HOST | S_THREAD | S_ZIGBEE"/>
        <PossibleValue Value="0" Comment="Disabled" />
        <PossibleValue Value="1" Comment="Enabled" Semaphore="Semaphore_CFG_LPM_SUPPORTED"/>
    </RefParameter>
    <RefParameter Name="CFG_LPM_SUPPORTED" Comment="CFG_LPM_SUPPORTED" DefaultValue="0" Type="list" TabName="Configuration" Group="Application parameters" Visible="false">
        <Description> Low Power mode:&lt;br&gt;When set to 1, the low power mode is Enable &lt;br&gt; When set to 0, the device stays in RUN mode</Description>
    </RefParameter>

    <RefParameter Name="CFG_DEBUGGER_SUPPORTED" Comment="CFG_DEBUGGER_SUPPORTED" DefaultValue="1" Type="list" Group="Generic parameters" TabName="Configuration" Visible="true">
        <Condition Diagnostic="" Expression="S_BLE_HOST | ((S_THREAD | S_ZIGBEE) &amp; !Semaphore_CFG_FULL_LOW_POWER)"/>
        <Description> Enable or disable debugger, default value set to 1</Description>
        <PossibleValue Value="0" Comment="Disabled" />
        <PossibleValue Value="1" Comment="Enabled" Semaphore="Semaphore_CFG_DEBUGGER_SUPPORTED"/>
    </RefParameter>
    <RefParameter Name="CFG_DEBUGGER_SUPPORTED" Comment="CFG_DEBUGGER_SUPPORTED" DefaultValue="0" Type="list" Group="Generic parameters" TabName="Configuration" Visible="true">
        <Description> Enable or disable debugger, disabled because CFG_FULL_LOW_POWER is enabled. Needs Sys Debug to be enabled as well.</Description>
        <PossibleValue Value="0" Comment="Disabled" />
    </RefParameter>

    <RefParameter Name="CFG_DEBUG_TRACE" Comment="CFG_DEBUG_TRACE" DefaultValue="1" Type="list" Group="Generic parameters" TabName="Configuration" Visible="true">
        <Condition Diagnostic="" Expression="(S_THREAD | S_ZIGBEE)  &amp;( Semaphore_CFG_HW_USART1_ENABLED | Semaphore_CFG_HW_LPUART1_ENABLED) &amp; (Semaphore_DBG_TRACE_UART_CFG_hw_uart1 | Semaphore_DBG_TRACE_UART_CFG_hw_lpuart1) &amp; !Semaphore_CFG_FULL_LOW_POWER"/>
        <Description>  Enable or disable traces in the THREAD and Zigbee services</Description>
        <PossibleValue Value="0" Comment="Disabled" />
        <PossibleValue Value="1" Comment="Enabled" Semaphore="Semaphore_CFG_DEBUG_TRACE"/>
    </RefParameter>
    <RefParameter Name="CFG_DEBUG_TRACE" Comment="CFG_DEBUG_TRACE" DefaultValue="0" Type="list" Group="Generic parameters" TabName="Configuration" Visible="true">
        <Condition Diagnostic="" Expression="(S_THREAD | S_ZIGBEE) &amp; Semaphore_CFG_FULL_LOW_POWER "/>
        <Description>  Enable or disable debug traces in the THREAD and Zigbee services.&lt;br&gt; CFG_HW_USART1_ENABLED and or CFG_HW_LPUART1_ENABLED must be set as well as CFG_DEBUG_TRACE_UART 
        &lt;br&gt; Disabled because CFG_FULL_LOW_POWER is enabled</Description>
        <PossibleValue Value="0" Comment="Disabled" />
    </RefParameter>
    <RefParameter Name="CFG_DEBUG_TRACE" Comment="CFG_DEBUG_TRACE" DefaultValue="0" Type="list" Group="Generic parameters" TabName="Configuration" Visible="true">
        <Condition Diagnostic="" Expression="(S_THREAD | S_ZIGBEE) "/>
        <Description>  Enable or disable debug traces in the THREAD and Zigbee services.&lt;br&gt; CFG_HW_USART1_ENABLED and or CFG_HW_LPUART1_ENABLED must be set as well as CFG_DEBUG_TRACE_UART 
        &lt;br&gt; Disabled because CFG_FULL_LOW_POWER is enabled</Description>
        <PossibleValue Value="0" Comment="Disabled" />
    </RefParameter>
    <RefParameter Name="CFG_DEBUG_TRACE" Comment="CFG_DEBUG_TRACE" DefaultValue="0" Type="list" Group="Generic parameters" TabName="Configuration" Visible="false">
        <Description>  Enable or disable debug traces in the THREAD and Zigbee services</Description>
    </RefParameter>


    <RefParameter Name="CFG_DEBUG_TRACE_LIGHT" Comment="CFG_DEBUG_TRACE_LIGHT" DefaultValue="0" Type="list" Group="Generic parameters" TabName="Configuration" Visible="true">
        <Condition Diagnostic="" Expression="( Semaphore_CFG_HW_USART1_ENABLED | Semaphore_CFG_HW_LPUART1_ENABLED) &amp; (Semaphore_DBG_TRACE_UART_CFG_hw_uart1 | Semaphore_DBG_TRACE_UART_CFG_hw_lpuart1)"/>
        <Description>  Enable or disable light traces</Description>
        <PossibleValue Value="0" Comment="Disabled" />
        <PossibleValue Value="1" Comment="Enabled" Semaphore="Semaphore_CFG_DEBUG_TRACE_LIGHT"/>
    </RefParameter>
    <RefParameter Name="CFG_DEBUG_TRACE_LIGHT" Comment="CFG_DEBUG_TRACE_LIGHT" DefaultValue="0" Type="list" Group="Generic parameters" TabName="Configuration" Visible="true">
        <Description>  Enable or disable light traces. CFG_HW_USART1_ENABLED and or CFG_HW_LPUART1_ENABLED must be set as well as CFG_DEBUG_TRACE_UART </Description>
        <PossibleValue Value="0" Comment="Disabled" />
    </RefParameter>

    <RefParameter Name="CFG_DEBUG_TRACE_FULL" Comment="CFG_DEBUG_TRACE_FULL" DefaultValue="0" Type="list" Group="Generic parameters" TabName="Configuration" Visible="true">
        <Condition Diagnostic="" Expression="( Semaphore_CFG_HW_USART1_ENABLED | Semaphore_CFG_HW_LPUART1_ENABLED) &amp; (Semaphore_DBG_TRACE_UART_CFG_hw_uart1 | Semaphore_DBG_TRACE_UART_CFG_hw_lpuart1)"/>
        <Description>  Enable or disable full traces</Description>
        <PossibleValue Value="0" Comment="Disabled" />
        <PossibleValue Value="1" Comment="Enabled" Semaphore="Semaphore_CFG_DEBUG_TRACE_FULL"/>
    </RefParameter>
    <RefParameter Name="CFG_DEBUG_TRACE_FULL" Comment="CFG_DEBUG_TRACE_FULL" DefaultValue="0" Type="list" Group="Generic parameters" TabName="Configuration" Visible="true">
        <Description>  Enable or disable full traces. CFG_HW_USART1_ENABLED and or CFG_HW_LPUART1_ENABLED must be set as well as CFG_DEBUG_TRACE_UART </Description>
        <PossibleValue Value="0" Comment="Disabled" />
    </RefParameter>

    <!-- App.conf - End -->

    <!-- BLE Application and Services - End -->
	<!-- #define to be generated in ble_conf.h - Begin -->
	<RefParameter Name="BLE_CFG_PERIPHERAL" Comment="The device needs to support the Peripheral Role" DefaultValue="1" Type="string" Group="BLE Services Configuration" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST &amp; (Semaphore_BLE_TRANSPARENT_MODE | Semaphore_BLE_SERVER_PROFILE | Semaphore_BLE_ROUTER_PROFILE)"/>
		<Description>This setting shall be set to '1' if the device needs to support the Peripheral Role. In the MS configuration, both BLE_CFG_PERIPHERAL and BLE_CFG_CENTRAL shall be set to '1</Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_PERIPHERAL" Comment="The device needs to support the Peripheral Role" DefaultValue="0" Type="string" Group="BLE Services Configuration" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST &amp; Semaphore_BLE_CLIENT_PROFILE"/>
		<Description>This setting shall be set to '1' if the device needs to support the Peripheral Role. In the MS configuration, both BLE_CFG_PERIPHERAL and BLE_CFG_CENTRAL shall be set to '1</Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_PERIPHERAL" Comment="The device needs to support the Peripheral Role" DefaultValue="0" Type="list" Group="BLE Services Configuration" TabName="BLE Applications and Services" Visible="false">
		<Description>This setting shall be set to '1' if the device needs to support the Peripheral Role. In the MS configuration, both BLE_CFG_PERIPHERAL and BLE_CFG_CENTRAL shall be set to '1</Description>
	</RefParameter>

	<RefParameter Name="BLE_CFG_CENTRAL" Comment="The device needs to support the Central Role" DefaultValue="0" Type="string" Group="BLE Services Configuration" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST &amp; (Semaphore_BLE_TRANSPARENT_MODE | Semaphore_BLE_SERVER_PROFILE)"/>
		<Description>This setting shall be set to '1' if the device needs to support the Central Role. In the MS configuration, both BLE_CFG_PERIPHERAL and BLE_CFG_CENTRAL shall be set to '1</Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_CENTRAL" Comment="The device needs to support the Central Role" DefaultValue="1" Type="string" Group="BLE Services Configuration" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST &amp; Semaphore_BLE_ROUTER_PROFILE | Semaphore_BLE_CLIENT_PROFILE"/>
		<Description>This setting shall be set to '1' if the device needs to support the Central Role. In the MS configuration, both BLE_CFG_PERIPHERAL and BLE_CFG_CENTRAL shall be set to '1</Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_CENTRAL" Comment="The device needs to support the Central Role" DefaultValue="0" Type="list" Group="BLE Services Configuration" TabName="BLE Applications and Services" Visible="false">
		<Description>This setting shall be set to '1' if the device needs to support the Central Role. In the MS configuration, both BLE_CFG_PERIPHERAL and BLE_CFG_CENTRAL shall be set to '1</Description>
	</RefParameter>
    
	<!-- need to check mode 2 into the BLE stack-->


	<RefParameter Name="BLE_CFG_SVC_MAX_NBR_CB" Comment="BLE_CFG_SVC_MAX_NBR_CB" DefaultValue="7" Min="2" Max="255" Type="integer" Group="BLE Services Configuration" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="Semaphore_BLE_ROUTER_PROFILE &amp; S_BLE_HOST"/>
		<Description></Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_SVC_MAX_NBR_CB" Comment="BLE_CFG_SVC_MAX_NBR_CB" DefaultValue="7" Min="1" Max="255" Type="integer" Group="BLE Services Configuration" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="(Semaphore_BT_SIG_HEART_RATE_SENSOR | Semaphore_BT_SIG_HEALTH_THERMOMETER_SENSOR | Semaphore_BT_SIG_BLOOD_PRESSURE_SENSOR | Semaphore_CUSTOM_P2P_SERVER) &amp; S_BLE_HOST"/>
		<Description></Description>
	</RefParameter>
    <RefParameter Name="BLE_CFG_SVC_MAX_NBR_CB" Comment="BLE_CFG_SVC_MAX_NBR_CB" DefaultValue="7" Min="0" Max="255" Type="integer" Group="BLE Services Configuration" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST"/>
		<Description></Description>
	</RefParameter>
    <RefParameter Name="BLE_CFG_SVC_MAX_NBR_CB" Comment="BLE_CFG_SVC_MAX_NBR_CB" DefaultValue="7" Min="0" Max="255" Type="integer" Group="BLE Services Configuration" TabName="BLE Applications and Services" Visible="false">
		<Description></Description>
	</RefParameter>

	<RefParameter Name="BLE_CFG_CLT_MAX_NBR_CB" Comment="BLE_CFG_CLT_MAX_NBR_CB" DefaultValue="6" Min="1" Max="255" Type="integer" Group="BLE Services Configuration" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="Semaphore_BLE_ROUTER_PROFILE &amp; S_BLE_HOST"/>
		<Description></Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_CLT_MAX_NBR_CB" Comment="BLE_CFG_CLT_MAX_NBR_CB" DefaultValue="1" Min="1" Max="255" Type="integer" Group="BLE Services Configuration" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="Semaphore_BLE_CLIENT_PROFILE &amp; S_BLE_HOST"/>
		<Description></Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_CLT_MAX_NBR_CB" Comment="BLE_CFG_CLT_MAX_NBR_CB" DefaultValue="0" Min="0" Max="255" Type="integer" Group="BLE Services Configuration" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST"/>
		<Description></Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_CLT_MAX_NBR_CB" Comment="BLE_CFG_CLT_MAX_NBR_CB" DefaultValue="0" Min="0" Max="255" Type="integer" Group="BLE Services Configuration" TabName="BLE Applications and Services" Visible="false">
		<Description></Description>
	</RefParameter>

    <!-- Device information Services-->

	<RefParameter Name="BLE_CFG_DIS_MANUFACTURER_NAME_STRING" Comment="BLE_CFG_DIS_MANUFACTURER_NAME_STRING" DefaultValue="1" Min="0" Max="1" Type="integer" Group="Device Information Service" TabName="BLE Applications and Services" Visible="true">	
		<Condition Diagnostic="" Expression="S_BLE_HOST &amp; (Semaphore_BT_SIG_HEART_RATE_SENSOR | Semaphore_BT_SIG_HEALTH_THERMOMETER_SENSOR )"/>
        <Description>Device information ServiceOption: Supported(1) or Not Supported(0)</Description>
	</RefParameter>
    <RefParameter Name="BLE_CFG_DIS_MANUFACTURER_NAME_STRING" Comment="BLE_CFG_DIS_MANUFACTURER_NAME_STRING" DefaultValue="" Type="String" Group="Device Information Service" TabName="BLE Applications and Services" Visible="false">
        <Description>Device information ServiceOption: Supported(1) or Not Supported(0)</Description>
    </RefParameter>

	<RefParameter Name="BLE_CFG_DIS_MODEL_NUMBER_STRING" Comment="BLE_CFG_DIS_MODEL_NUMBER_STRING" DefaultValue="0" Min="0" Max="1" Type="integer" Group="Device Information Service" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST &amp; (Semaphore_BT_SIG_HEART_RATE_SENSOR | Semaphore_BT_SIG_HEALTH_THERMOMETER_SENSOR )"/>
		<Description>Device information ServiceOption: Supported(1) or Not Supported(0)</Description>
	</RefParameter>
    <RefParameter Name="BLE_CFG_DIS_MODEL_NUMBER_STRING" Comment="BLE_CFG_DIS_MODEL_NUMBER_STRING" DefaultValue="" Type="String" Group="Device Information Service" TabName="BLE Applications and Services" Visible="false">
		<Description>Device information ServiceOption: Supported(1) or Not Supported(0)</Description>
    </RefParameter>

	<RefParameter Name="BLE_CFG_DIS_SERIAL_NUMBER_STRING" Comment="BLE_CFG_DIS_SERIAL_NUMBER_STRING" DefaultValue="0" Min="0" Max="1" Type="integer" Group="Device Information Service" TabName="BLE Applications and Services" Visible="true">	
		<Condition Diagnostic="" Expression="S_BLE_HOST &amp; (Semaphore_BT_SIG_HEART_RATE_SENSOR | Semaphore_BT_SIG_HEALTH_THERMOMETER_SENSOR )"/>
		<Description>Device information ServiceOption: Supported(1) or Not Supported(0)</Description>
	</RefParameter>
    <RefParameter Name="BLE_CFG_DIS_SERIAL_NUMBER_STRING" Comment="BLE_CFG_DIS_SERIAL_NUMBER_STRING" DefaultValue="" Type="String" Group="Device Information Service" TabName="BLE Applications and Services" Visible="false">
		<Description>Device information ServiceOption: Supported(1) or Not Supported(0)</Description>
    </RefParameter>

	<RefParameter Name="BLE_CFG_DIS_HARDWARE_REVISION_STRING" Comment="BLE_CFG_DIS_HARDWARE_REVISION_STRING" DefaultValue="0" Min="0" Max="1" Type="integer" Group="Device Information Service" TabName="BLE Applications and Services" Visible="true">	
		<Condition Diagnostic="" Expression="S_BLE_HOST &amp; (Semaphore_BT_SIG_HEART_RATE_SENSOR | Semaphore_BT_SIG_HEALTH_THERMOMETER_SENSOR )"/>
		<Description>Device information ServiceOption: Supported(1) or Not Supported(0)</Description>
	</RefParameter>
    <RefParameter Name="BLE_CFG_DIS_HARDWARE_REVISION_STRING" Comment="BLE_CFG_DIS_HARDWARE_REVISION_STRING" DefaultValue="" Type="String" Group="Device Information Service" TabName="BLE Applications and Services" Visible="false">
		<Description>Device information ServiceOption: Supported(1) or Not Supported(0)</Description>
    </RefParameter>

	<RefParameter Name="BLE_CFG_DIS_FIRMWARE_REVISION_STRING" Comment="BLE_CFG_DIS_FIRMWARE_REVISION_STRING" DefaultValue="0" Min="0" Max="1" Type="integer" Group="Device Information Service" TabName="BLE Applications and Services" Visible="true">	
		<Condition Diagnostic="" Expression="S_BLE_HOST &amp; (Semaphore_BT_SIG_HEART_RATE_SENSOR | Semaphore_BT_SIG_HEALTH_THERMOMETER_SENSOR )"/>
		<Description>Device information ServiceOption: Supported(1) or Not Supported(0)</Description>
	</RefParameter>
    <RefParameter Name="BLE_CFG_DIS_FIRMWARE_REVISION_STRING" Comment="BLE_CFG_DIS_FIRMWARE_REVISION_STRING" DefaultValue="" Type="String" Group="Device Information Service" TabName="BLE Applications and Services" Visible="false">
		<Description>Device information ServiceOption: Supported(1) or Not Supported(0)</Description>
    </RefParameter>

	<RefParameter Name="BLE_CFG_DIS_SOFTWARE_REVISION_STRING" Comment="BLE_CFG_DIS_SOFTWARE_REVISION_STRING" DefaultValue="0" Min="0" Max="1" Type="integer" Group="Device Information Service" TabName="BLE Applications and Services" Visible="true">	
		<Condition Diagnostic="" Expression="S_BLE_HOST &amp; (Semaphore_BT_SIG_HEART_RATE_SENSOR | Semaphore_BT_SIG_HEALTH_THERMOMETER_SENSOR )"/>
		<Description>Device information ServiceOption: Supported(1) or Not Supported(0)</Description>
	</RefParameter>
    <RefParameter Name="BLE_CFG_DIS_SOFTWARE_REVISION_STRING" Comment="BLE_CFG_DIS_SOFTWARE_REVISION_STRING" DefaultValue="" Type="String" Group="Device Information Service" TabName="BLE Applications and Services" Visible="false">
		<Description>Device information ServiceOption: Supported(1) or Not Supported(0)</Description>
    </RefParameter>

	<RefParameter Name="BLE_CFG_DIS_SYSTEM_ID" Comment="BLE_CFG_DIS_SYSTEM_ID" DefaultValue="0" Min="0" Max="1" Type="integer" Group="Device Information Service" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST &amp; (Semaphore_BT_SIG_HEART_RATE_SENSOR | Semaphore_BT_SIG_HEALTH_THERMOMETER_SENSOR )"/>
		<Description>Device information ServiceOption: Supported(1) or Not Supported(0)</Description>
	</RefParameter>
    <RefParameter Name="BLE_CFG_DIS_SYSTEM_ID" Comment="BLE_CFG_DIS_SYSTEM_ID" DefaultValue="" Type="String" Group="Device Information Service" TabName="BLE Applications and Services" Visible="false">
		<Description>Device information ServiceOption: Supported(1) or Not Supported(0)</Description>
    </RefParameter>

	<RefParameter Name="BLE_CFG_DIS_IEEE_CERTIFICATION" Comment="BLE_CFG_DIS_IEEE_CERTIFICATION" DefaultValue="0" Min="0" Max="1" Type="integer" Group="Device Information Service" TabName="BLE Applications and Services" Visible="true">	
		<Condition Diagnostic="" Expression="S_BLE_HOST &amp; (Semaphore_BT_SIG_HEART_RATE_SENSOR | Semaphore_BT_SIG_HEALTH_THERMOMETER_SENSOR )"/>
		<Description>Device information ServiceOption: Supported(1) or Not Supported(0)</Description>
	</RefParameter>
    <RefParameter Name="BLE_CFG_DIS_IEEE_CERTIFICATION" Comment="BLE_CFG_DIS_IEEE_CERTIFICATION" DefaultValue="" Type="String" Group="Device Information Service" TabName="BLE Applications and Services" Visible="false">
		<Description>Device information ServiceOption: Supported(1) or Not Supported(0)</Description>
    </RefParameter>

	<RefParameter Name="BLE_CFG_DIS_PNP_ID" Comment="BLE_CFG_DIS_PNP_ID" DefaultValue="0" Min="0" Max="1" Type="integer" Group="Device Information Service" TabName="BLE Applications and Services" Visible="true">	
		<Condition Diagnostic="" Expression="S_BLE_HOST &amp; (Semaphore_BT_SIG_HEART_RATE_SENSOR | Semaphore_BT_SIG_HEALTH_THERMOMETER_SENSOR )"/>
		<Description>Device information ServiceOption: Supported(1) or Not Supported(0)</Description>
	</RefParameter>
    <RefParameter Name="BLE_CFG_DIS_PNP_ID" Comment="BLE_CFG_DIS_PNP_ID" DefaultValue="" Type="String" Group="Device Information Service" TabName="BLE Applications and Services" Visible="false">
		<Description>Device information ServiceOption: Supported(1) or Not Supported(0)</Description>
    </RefParameter>

    <!-- RefParameter for Heart Rate Service(HRS)-->
	<RefParameter Name="BLE_CFG_HRS_BODY_SENSOR_LOCATION_CHAR" Comment="BLE_CFG_HRS_BODY_SENSOR_LOCATION_CHAR" DefaultValue="1" Min="0" Max="1" Type="integer" Group="Heart Rate Service" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="(Semaphore_BT_SIG_HEART_RATE_SENSOR) &amp; S_BLE_HOST"/>
        <Description>BODY SENSOR LOCATION CHARACTERISTIC</Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_HRS_BODY_SENSOR_LOCATION_CHAR" Comment="BLE_CFG_HRS_BODY_SENSOR_LOCATION_CHAR" DefaultValue="0" Min="0" Max="1" Type="integer" Group="Heart Rate Service" TabName="BLE Applications and Services" Visible="false">
        <Description>BODY SENSOR LOCATION CHARACTERISTIC</Description>
	</RefParameter>

	<RefParameter Name="BLE_CFG_HRS_ENERGY_EXPENDED_INFO_FLAG" Comment="BLE_CFG_HRS_ENERGY_EXPENDED_INFO_FLAG" DefaultValue="1" Min="0" Max="1" Type="integer" Group="Heart Rate Service" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="(Semaphore_BT_SIG_HEART_RATE_SENSOR) &amp; S_BLE_HOST"/>
        <Description>ENERGY EXTENDED INFO FLAG</Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_HRS_ENERGY_EXPENDED_INFO_FLAG" Comment="BLE_CFG_HRS_ENERGY_EXPENDED_INFO_FLAG" DefaultValue="1" Min="0" Max="1" Type="integer" Group="Heart Rate Service" TabName="BLE Applications and Services" Visible="false">
        <Description>ENERGY EXTENDED INFO FLAG</Description>
	</RefParameter>

	<RefParameter Name="BLE_CFG_HRS_ENERGY_RR_INTERVAL_FLAG" Comment="BLE_CFG_HRS_ENERGY_RR_INTERVAL_FLAG" DefaultValue="1" Min="1" Max="9" Type="integer" Group="Heart Rate Service" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="(Semaphore_BT_SIG_HEART_RATE_SENSOR) &amp; S_BLE_HOST"/>
        <Description>Max number of RR interval values - Shall not be greater than 9</Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_HRS_ENERGY_RR_INTERVAL_FLAG" Comment="BLE_CFG_HRS_ENERGY_RR_INTERVAL_FLAG" DefaultValue="1" Min="1" Max="9" Type="integer" Group="Heart Rate Service" TabName="BLE Applications and Services" Visible="false">
        <Description>Max number of RR interval values - Shall not be greater than 9</Description>
	</RefParameter>

    <!-- RefParameter for Health Thermometer Service(HTS)-->
	<RefParameter Name="BLE_CFG_HTS_TEMPERATURE_TYPE_VALUE_STATIC" Comment="BLE_CFG_HTS_TEMPERATURE_TYPE_VALUE_STATIC" DefaultValue="0" Min="0" Max="1" Type="integer" Group="Health Thermometer Service" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="(Semaphore_BT_SIG_HEALTH_THERMOMETER_SENSOR) &amp; S_BLE_HOST"/>
        <Description></Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_HTS_TEMPERATURE_TYPE_VALUE_STATIC" Comment="BLE_CFG_HTS_TEMPERATURE_TYPE_VALUE_STATIC" DefaultValue="0" Min="0" Max="1" Type="integer" Group="Health Thermometer Service" TabName="BLE Applications and Services" Visible="false">
        <Description></Description>
	</RefParameter>

	<RefParameter Name="BLE_CFG_HTS_INTERMEDIATE_TEMPERATURE" Comment="BLE_CFG_HTS_INTERMEDIATE_TEMPERATURE" DefaultValue="1" Min="0" Max="1" Type="integer" Group="Health Thermometer Service" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="(Semaphore_BT_SIG_HEALTH_THERMOMETER_SENSOR) &amp; S_BLE_HOST"/>
        <Description>Intermediate Temperature characteristic</Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_HTS_INTERMEDIATE_TEMPERATURE" Comment="BLE_CFG_HTS_INTERMEDIATE_TEMPERATURE" DefaultValue="1" Min="0" Max="1" Type="integer" Group="Health Thermometer Service" TabName="BLE Applications and Services" Visible="false">
        <Description>Intermediate Temperature characteristic</Description>
	</RefParameter>

	<RefParameter Name="BLE_CFG_HTS_MEASUREMENT_INTERVAL" Comment="BLE_CFG_HTS_MEASUREMENT_INTERVAL" DefaultValue="1" Min="0" Max="1" Type="integer" Group="Health Thermometer Service" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="(Semaphore_BT_SIG_HEALTH_THERMOMETER_SENSOR) &amp; S_BLE_HOST"/>
        <Description>Measurement Interval characteristic</Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_HTS_MEASUREMENT_INTERVAL" Comment="BLE_CFG_HTS_MEASUREMENT_INTERVAL" DefaultValue="1" Min="0" Max="1" Type="integer" Group="Health Thermometer Service" TabName="BLE Applications and Services" Visible="false">
        <Description>Measurement Interval characteristic</Description>
	</RefParameter>

	<RefParameter Name="BLE_CFG_HTS_MEASUREMENT_INTERVAL_IND_PROP" Comment="BLE_CFG_HTS_MEASUREMENT_INTERVAL_IND_PROP" DefaultValue="0" Min="0" Max="1" Type="integer" Group="Health Thermometer Service" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="(Semaphore_BT_SIG_HEALTH_THERMOMETER_SENSOR) &amp; S_BLE_HOST"/>
        <Description>Measurement Interval characteristicIndicate property</Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_HTS_MEASUREMENT_INTERVAL_IND_PROP" Comment="BLE_CFG_HTS_MEASUREMENT_INTERVAL_IND_PROP" DefaultValue="0" Min="0" Max="1" Type="integer" Group="Health Thermometer Service" TabName="BLE Applications and Services" Visible="false">
        <Description>Measurement Interval characteristicIndicate property</Description>
	</RefParameter>

	<RefParameter Name="BLE_CFG_HTS_MEASUREMENT_INTERVAL_WR_PROP" Comment="BLE_CFG_HTS_MEASUREMENT_INTERVAL_WR_PROP" DefaultValue="0" Min="0" Max="1" Type="integer" Group="Health Thermometer Service" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="(Semaphore_BT_SIG_HEALTH_THERMOMETER_SENSOR) &amp; S_BLE_HOST"/>
        <Description>Measurement Interval characteristicWrite property</Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_HTS_MEASUREMENT_INTERVAL_WR_PROP" Comment="BLE_CFG_HTS_MEASUREMENT_INTERVAL_WR_PROP" DefaultValue="0" Min="0" Max="1" Type="integer" Group="Health Thermometer Service" TabName="BLE Applications and Services" Visible="false">
        <Description>Measurement Interval characteristicWrite property</Description>
	</RefParameter>

	<RefParameter Name="BLE_CFG_HTS_TIME_STAMP_FLAG" Comment="BLE_CFG_HTS_TIME_STAMP_FLAG" DefaultValue="1" Min="0" Max="1" Type="integer" Group="Health Thermometer Service" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="(Semaphore_BT_SIG_HEALTH_THERMOMETER_SENSOR) &amp; S_BLE_HOST"/>
        <Description>Time Stamp Info Flag</Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_HTS_TIME_STAMP_FLAG" Comment="BLE_CFG_HTS_TIME_STAMP_FLAG" DefaultValue="0" Min="0" Max="1" Type="integer" Group="Health Thermometer Service" TabName="BLE Applications and Services" Visible="false">
        <Description>Time Stamp Info Flag</Description>
	</RefParameter>

	<RefParameter Name="BLE_CFG_HTS_TEMPERATURE_INTERVAL_MIN_VALUE" Comment="BLE_CFG_HTS_TEMPERATURE_INTERVAL_MIN_VALUE" DefaultValue="1" Min="1" Max="65535" Type="integer" Group="Health Thermometer Service" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="(Semaphore_BT_SIG_HEALTH_THERMOMETER_SENSOR) &amp; S_BLE_HOST"/>
        <Description>Min Interval Value supported</Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_HTS_TEMPERATURE_INTERVAL_MIN_VALUE" Comment="BLE_CFG_HTS_TEMPERATURE_INTERVAL_MIN_VALUE" DefaultValue="0" Type="String" Group="Health Thermometer Service" TabName="BLE Applications and Services" Visible="false">
        <Description>Min Interval Value supported</Description>
	</RefParameter>

	<RefParameter Name="BLE_CFG_HTS_TEMPERATURE_INTERVAL_MAX_VALUE" Comment="BLE_CFG_HTS_TEMPERATURE_INTERVAL_MAX_VALUE" DefaultValue="1" Min="1" Max="65535" Type="integer" Group="Health Thermometer Service" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="(Semaphore_BT_SIG_HEALTH_THERMOMETER_SENSOR) &amp; S_BLE_HOST"/>
        <Description>Max Interval Value supported</Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_HTS_TEMPERATURE_INTERVAL_MAX_VALUE" Comment="BLE_CFG_HTS_TEMPERATURE_INTERVAL_MAX_VALUE" DefaultValue="1" Min="1" Max="65535" Type="integer" Group="Health Thermometer Service" TabName="BLE Applications and Services" Visible="false">
        <Description>Max Interval Value supported</Description>
	</RefParameter>

    <!-- RefParameter for Blood Pressure Service(BLS)-->
	<RefParameter Name="BLE_CFG_BLS_MEASUREMENT_STATUS_FLAG" Comment="BLE_CFG_BLS_MEASUREMENT_STATUS_FLAG" DefaultValue="1" Min="0" Max="1" Type="integer" Group="Blood Pressure Service" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="(Semaphore_BT_SIG_BLOOD_PRESSURE_SENSOR) &amp; S_BLE_HOST"/>
        <Description>Measurement Status info flag</Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_BLS_MEASUREMENT_STATUS_FLAG" Comment="BLE_CFG_BLS_MEASUREMENT_STATUS_FLAG" DefaultValue="0" Min="0" Max="1" Type="integer" Group="Blood Pressure Service" TabName="BLE Applications and Services" Visible="false">
        <Description>Measurement Status info flag</Description>
	</RefParameter>

	<RefParameter Name="BLE_CFG_BLS_PULSE_RATE_FLAG" Comment="BLE_CFG_BLS_PULSE_RATE_FLAG" DefaultValue="1" Min="0" Max="1" Type="integer" Group="Blood Pressure Service" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="(Semaphore_BT_SIG_BLOOD_PRESSURE_SENSOR) &amp; S_BLE_HOST"/>
        <Description>Pulse Rate info flag</Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_BLS_PULSE_RATE_FLAG" Comment="BLE_CFG_BLS_PULSE_RATE_FLAG" DefaultValue="0" Min="0" Max="1" Type="integer" Group="Blood Pressure Service" TabName="BLE Applications and Services" Visible="false">
        <Description>Pulse Rate info flag</Description>
	</RefParameter>

	<RefParameter Name="BLE_CFG_BLS_USER_ID_FLAG" Comment="BLE_CFG_BLS_USER_ID_FLAG" DefaultValue="1" Min="0" Max="1" Type="integer" Group="Blood Pressure Service" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="(Semaphore_BT_SIG_BLOOD_PRESSURE_SENSOR) &amp; S_BLE_HOST"/>
        <Description>User ID info flag</Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_BLS_USER_ID_FLAG" Comment="BLE_CFG_BLS_USER_ID_FLAG" DefaultValue="0" Min="0" Max="1" Type="integer" Group="Blood Pressure Service" TabName="BLE Applications and Services" Visible="false">
        <Description>User ID info flag</Description>
	</RefParameter>

	<RefParameter Name="BLE_CFG_BLS_TIME_STAMP_FLAG" Comment="BLE_CFG_BLS_TIME_STAMP_FLAG" DefaultValue="1" Min="0" Max="1" Type="integer" Group="Blood Pressure Service" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="(Semaphore_BT_SIG_BLOOD_PRESSURE_SENSOR) &amp; S_BLE_HOST"/>
        <Description>Time Stamp Info Flag</Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_BLS_TIME_STAMP_FLAG" Comment="BLE_CFG_BLS_TIME_STAMP_FLAG" DefaultValue="0" Min="0" Max="1" Type="integer" Group="Blood Pressure Service" TabName="BLE Applications and Services" Visible="false">
        <Description>Time Stamp Info Flag</Description>
	</RefParameter>

	<RefParameter Name="BLE_CFG_BLS_INTERMEDIATE_CUFF_PRESSURE" Comment="BLE_CFG_BLS_INTERMEDIATE_CUFF_PRESSURE" DefaultValue="1" Min="0" Max="1" Type="integer" Group="Blood Pressure Service" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="(Semaphore_BT_SIG_BLOOD_PRESSURE_SENSOR) &amp; S_BLE_HOST"/>
        <Description>Intermediate Cuff Pressure characteristic</Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_BLS_INTERMEDIATE_CUFF_PRESSURE" Comment="BLE_CFG_BLS_INTERMEDIATE_CUFF_PRESSURE" DefaultValue="0" Min="0" Max="1" Type="integer" Group="Blood Pressure Service" TabName="BLE Applications and Services" Visible="false">
        <Description>Intermediate Cuff Pressure characteristic</Description>
	</RefParameter>

	<RefParameter Name="BLE_CFG_BLS_SUPPORTED_FEATURES" Comment="BLE_CFG_BLS_SUPPORTED_FEATURES" DefaultValue="1" Min="0" Max="1" Type="integer" Group="Blood Pressure Service" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="(Semaphore_BT_SIG_BLOOD_PRESSURE_SENSOR) &amp; S_BLE_HOST"/>
        <Description>Blood Pressure Feature characteristic</Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_BLS_SUPPORTED_FEATURES" Comment="BLE_CFG_BLS_SUPPORTED_FEATURES" DefaultValue="0" Min="0" Max="1" Type="integer" Group="Blood Pressure Service" TabName="BLE Applications and Services" Visible="false">
        <Description>Blood Pressure Feature characteristic</Description>
	</RefParameter>

	<RefParameter Name="BLE_CFG_BLS_PULSE_RATE_LOWER_LIMIT" Comment="BLE_CFG_BLS_PULSE_RATE_LOWER_LIMIT" DefaultValue="40" Type="String" Group="Blood Pressure Service" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="(Semaphore_BT_SIG_BLOOD_PRESSURE_SENSOR) &amp; S_BLE_HOST"/>
        <Description>Lower Pulse Rate supported</Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_BLS_PULSE_RATE_LOWER_LIMIT" Comment="BLE_CFG_BLS_PULSE_RATE_LOWER_LIMIT" DefaultValue="0" Type="String" Group="Blood Pressure Service" TabName="BLE Applications and Services" Visible="false">
        <Description>Lower Pulse Rate supported</Description>
	</RefParameter>

	<RefParameter Name="BLE_CFG_BLS_PULSE_RATE_UPPER_LIMIT" Comment="BLE_CFG_BLS_PULSE_RATE_UPPER_LIMIT" DefaultValue="180" Type="String" Group="Blood Pressure Service" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="(Semaphore_BT_SIG_BLOOD_PRESSURE_SENSOR) &amp; S_BLE_HOST"/>
        <Description>Upper Pulse Rate supported</Description>
	</RefParameter>
	<RefParameter Name="BLE_CFG_BLS_PULSE_RATE_UPPER_LIMIT" Comment="BLE_CFG_BLS_PULSE_RATE_UPPER_LIMIT" DefaultValue="0" Type="String" Group="Blood Pressure Service" TabName="BLE Applications and Services" Visible="false">
        <Description>Upper Pulse Rate supported</Description>
	</RefParameter>

<!--
	<RefParameter Name="BLE_CFG_OTA_REBOOT_CHAR" Comment="BLE_CFG_OTA_REBOOT_CHAR" DefaultValue="0" Min="0" Max="1" Type="integer" Group="Over The Air" TabName="BLE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="(Semaphore_BT_SIG_HEART_RATE_SENSOR | Semaphore_CUSTOM_P2P_SERVER)"/>
        <Description>Upper Pulse Rate supported</Description>
	</RefParameter>
-->
	<RefParameter Name="BLE_CFG_OTA_REBOOT_CHAR" Comment="BLE_CFG_OTA_REBOOT_CHAR" DefaultValue="0" Type="String" Group="Blood Pressure Service" TabName="BLE Applications and Services" Visible="false">
        <Description>Upper Pulse Rate supported</Description>
	</RefParameter>

	<!-- #define to be generated in ble_conf.h - End -->

	<!-- #define to be generated in ble_dbg_conf.h - Begin -->
	<RefParameter Name="BLE_DBG_APP_EN" Comment="BLE_DBG_APP_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
<!--
		<Condition Diagnostic="" Expression="S_BLE_HOST &amp; Semaphore_BT_SIG_BLOOD_PRESSURE_SENSOR"/>
-->
		<Condition Diagnostic="" Expression="S_BLE_HOST"/>
        <PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_APP_EN" Comment="BLE_DBG_APP_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

	<RefParameter Name="BLE_DBG_DIS_EN" Comment="BLE_DBG_DIS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST &amp; (Semaphore_BT_SIG_BLOOD_PRESSURE_SENSOR | Semaphore_BT_SIG_HEALTH_THERMOMETER_SENSOR | Semaphore_BT_SIG_HEART_RATE_SENSOR)"/>
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_DIS_EN" Comment="BLE_DBG_DIS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

	<RefParameter Name="BLE_DBG_HRS_EN" Comment="BLE_DBG_HRS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST &amp; Semaphore_BT_SIG_HEART_RATE_SENSOR"/>
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_HRS_EN" Comment="BLE_DBG_HRS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

	<RefParameter Name="BLE_DBG_EDS_STM_EN" Comment="BLE_DBG_EDS_STM_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST"/>
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_EDS_STM_EN" Comment="BLE_DBG_EDS_STM_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

	<RefParameter Name="BLE_DBG_LBS_STM_EN" Comment="BLE_DBG_LBS_STM_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST"/>
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_LBS_STM_EN" Comment="BLE_DBG_LBS_STM_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

	<RefParameter Name="BLE_DBG_SVCCTL_EN" Comment="BLE_DBG_SVCCTL_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST &amp; (Semaphore_BT_SIG_BEACON | Semaphore_BT_SIG_BLOOD_PRESSURE_SENSOR | Semaphore_BT_SIG_HEALTH_THERMOMETER_SENSOR | Semaphore_BT_SIG_HEART_RATE_SENSOR)"/>
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_SVCCTL_EN" Comment="BLE_DBG_SVCCTL_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

	<RefParameter Name="BLE_DBG_CTS_EN" Comment="BLE_DBG_CTS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST"/>
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_CTS_EN" Comment="BLE_DBG_CTS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

	<RefParameter Name="BLE_DBG_HIDS_EN" Comment="BLE_DBG_HIDS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST"/>
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_HIDS_EN" Comment="BLE_DBG_HIDS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

	<RefParameter Name="BLE_DBG_PASS_EN" Comment="BLE_DBG_PASS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST"/>
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_PASS_EN" Comment="BLE_DBG_PASS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

	<RefParameter Name="BLE_DBG_BLS_EN" Comment="BLE_DBG_BLS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST &amp; Semaphore_BT_SIG_BLOOD_PRESSURE_SENSOR"/>
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_BLS_EN" Comment="BLE_DBG_BLS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

	<RefParameter Name="BLE_DBG_HTS_EN" Comment="BLE_DBG_HTS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST &amp; Semaphore_BT_SIG_HEALTH_THERMOMETER_SENSOR"/>
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_HTS_EN" Comment="BLE_DBG_HTS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

	<RefParameter Name="BLE_DBG_ANS_EN" Comment="BLE_DBG_ANS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST"/>
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_ANS_EN" Comment="BLE_DBG_ANS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

	<RefParameter Name="BLE_DBG_ESS_EN" Comment="BLE_DBG_ESS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST"/>
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_ESS_EN" Comment="BLE_DBG_ESS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

	<RefParameter Name="BLE_DBG_GLS_EN" Comment="BLE_DBG_GLS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST"/>
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_GLS_EN" Comment="BLE_DBG_GLS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

	<RefParameter Name="BLE_DBG_BAS_EN" Comment="BLE_DBG_BAS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST"/>
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_BAS_EN" Comment="BLE_DBG_BAS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

	<RefParameter Name="BLE_DBG_RTUS_EN" Comment="BLE_DBG_RTUS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST"/>
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_RTUS_EN" Comment="BLE_DBG_RTUS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

	<RefParameter Name="BLE_DBG_HPS_EN" Comment="BLE_DBG_HPS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST"/>
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_HPS_EN" Comment="BLE_DBG_HPS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

	<RefParameter Name="BLE_DBG_TPS_EN" Comment="BLE_DBG_TPS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST"/>
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_TPS_EN" Comment="BLE_DBG_TPS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

	<RefParameter Name="BLE_DBG_LLS_EN" Comment="BLE_DBG_LLS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST"/>
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_LLS_EN" Comment="BLE_DBG_LLS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

	<RefParameter Name="BLE_DBG_IAS_EN" Comment="BLE_DBG_IAS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST"/>
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_IAS_EN" Comment="BLE_DBG_IAS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

	<RefParameter Name="BLE_DBG_DTS_EN" Comment="BLE_DBG_DTS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST"/>
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_DTS_EN" Comment="BLE_DBG_DTS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

	<RefParameter Name="BLE_DBG_WSS_EN" Comment="BLE_DBG_WSS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST"/>
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_WSS_EN" Comment="BLE_DBG_WSS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

	<RefParameter Name="BLE_DBG_LNS_EN" Comment="BLE_DBG_LNS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST"/>
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_LNS_EN" Comment="BLE_DBG_LNS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

	<RefParameter Name="BLE_DBG_SCPS_EN" Comment="BLE_DBG_SCPS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST"/>
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_SCPS_EN" Comment="BLE_DBG_SCPS_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

	<RefParameter Name="BLE_DBG_P2P_STM_EN" Comment="BLE_DBG_P2P_STM_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST &amp; Semaphore_CUSTOM_P2P_SERVER"/>
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_P2P_STM_EN" Comment="BLE_DBG_P2P_STM_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>

	<RefParameter Name="BLE_DBG_TEMPLATE_STM_EN" Comment="BLE_DBG_TEMPLATE_STM_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="true">
		<Condition Diagnostic="" Expression="S_BLE_HOST"/>
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
		<Description>Enable or Disable traces from BLE</Description>
	</RefParameter>
    <RefParameter Name="BLE_DBG_TEMPLATE_STM_EN" Comment="BLE_DBG_TEMPLATE_STM_EN" DefaultValue="0" Type="list" Group="Debug options" TabName="Configuration" Visible="false">
		<Description>Enable or Disable traces from BLE</Description>
        <PossibleValue Value="0" Comment="Disabled"/>
    </RefParameter>
	<!-- #define to be generated in ble_dbg_conf.h - End -->

	<!-- #define to be generated in hw_conf.h - Begin -->
	<RefParameter Name="CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER" Comment="CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER" DefaultValue="6" Min="1" Max="255" Type="integer" Group="HW Timer Server" TabName="Configuration" >
		<Description>The user may define the maximum number of virtual timers supported.&lt;br&gt;It shall not exceed 255</Description>
	</RefParameter>

	<RefParameter Name="CFG_HW_TS_NVIC_RTC_WAKEUP_IT_PREEMPTPRIO" Comment="CFG_HW_TS_NVIC_RTC_WAKEUP_IT_PREEMPTPRIO" DefaultValue="3" Type="list" Group="HW Timer Server" TabName="Configuration" >
		<PossibleValue Value="0" Comment="0"/>
		<PossibleValue Value="1"  Comment="1"/>
		<PossibleValue Value="2"  Comment="2"/>
		<PossibleValue Value="3"  Comment="3"/>
		<Description> The user may define the priority in the NVIC of the RTC_WKUP interrupt handler that is used to manage the wakeup timer.&lt;br&gt;This setting is the preemptpriority part of the NVIC.</Description>
	</RefParameter>

	<RefParameter Name="CFG_HW_TS_NVIC_RTC_WAKEUP_IT_SUBPRIO" Comment="CFG_HW_TS_NVIC_RTC_WAKEUP_IT_SUBPRIO" DefaultValue="0" Type="list" Group="HW Timer Server" TabName="Configuration" >
		<PossibleValue Value="0" Comment="0"/>
		<PossibleValue Value="1"  Comment="1"/>
		<Description> The user may define the priority in the NVIC of the RTC_WKUP interrupt handler that is used to manage the wakeup timer.&lt;br&gt;This setting is the subpriority part of the NVIC. It does not exist on all processors. When it is not supported on the CPU, the setting is ignored</Description>
	</RefParameter>

	<RefParameter Name="CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION" Comment="CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION" DefaultValue="1" Type="list" Group="HW Timer Server" TabName="Configuration" >
		<PossibleValue Value="0" Comment="0"/>
		<PossibleValue Value="1"  Comment="1"/>
		<Description>Define a critical section in the Timer server&lt;br&gt;The Timer server does not support the API to be nested&lt;br&gt;The  Application shall either:&lt;br&gt;    a) Ensure this will never happen&lt;br&gt;    b) Define the critical section&lt;br&gt;The default implementations is masking all interrupts using the PRIMASK bit&lt;br&gt;The TimerServer driver uses critical sections to avoid context corruption. This is achieved with the macro TIMER_ENTER_CRITICAL_SECTION and TIMER_EXIT_CRITICAL_SECTION. When CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION is set to 1, all STM32 interrupts are masked with the PRIMASK bit of the CortexM CPU. It is possible to use the BASEPRI register of the CortexM CPU to keep allowed some interrupts with high priority. In that case, the user shall re-implement TIMER_ENTER_CRITICAL_SECTION and TIMER_EXIT_CRITICAL_SECTION and shall make sure that no TimerServer API are called when the TIMER critical section is entered</Description>
	</RefParameter>

	<RefParameter Name="CFG_HW_TS_RTC_HANDLER_MAX_DELAY" Comment="CFG_HW_TS_RTC_HANDLER_MAX_DELAY" DefaultValue="( 10 * (LSI_VALUE/1000) )" Type="String" Group="HW Timer Server" TabName="Configuration" >
		<Description>This value shall reflect the maximum delay there could be in the application between the time the RTC interrupt is generated by the Hardware and the time when the  RTC interrupt handler is called. This time is measured in number of RTCCLK ticks.&lt;br&gt;A relaxed timing would be 10ms&lt;br&gt;When the value is too short, the timerserver will not be able to count properly and all timeout may be random.&lt;br&gt;When the value is too long, the device may wake up more often than the most optimal configuration. However, the impact on power consumption would be marginal (unless the value selected is extremely too long). It is strongly recommended to select a value large enough to make sure it is not too short to ensure reliability of the system as this will have marginal impact on low power mode</Description>
	</RefParameter>

	<RefParameter Name="CFG_HW_TS_RTC_WAKEUP_HANDLER_ID" Comment="CFG_HW_TS_RTC_WAKEUP_HANDLER_ID" DefaultValue="RTC_WKUP_IRQn" Type="String" Group="HW Timer Server" TabName="Configuration" >
		<Description>Interrupt ID in the NVIC of the RTC Wakeup interrupt handler&lt;br&gt;It shall be type of IRQn_Type</Description>
	</RefParameter> 

	<RefParameter Name="CFG_HW_LPUART1_ENABLED" Comment="CFG_HW_LPUART1_ENABLED" DefaultValue="0" Type="list" Group="HW UART" TabName="Configuration" Visible="true">
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled" Semaphore="Semaphore_CFG_HW_LPUART1_ENABLED"/>
        <Condition Diagnostic="" Expression="S_LPUART"/>
		<Description>Enable or Disable LPUART1  (LPUART1 Mode must be set to Asynchronous with Hardware Flow Control set to CTS only)
        &lt;br&gt;&lt;font color=&quot;red&quot;&gt; Please ensure that in ProjectManager Advanced Settings panel MX_LPUART1_UART_Init Not Generate Function call is ticked and that Vibility is unticked &lt;/font&gt;</Description>
	</RefParameter>
	<RefParameter Name="CFG_HW_LPUART1_ENABLED" Comment="CFG_HW_LPUART1_ENABLED" DefaultValue="0" Type="list" Group="HW UART" TabName="Configuration" Visible="true">
		<PossibleValue Value="0" Comment="Disabled"/>
		<Description>Enable or Disable LPUART1.&lt;br&gt;
        &lt;font color=&quot;red&quot;&gt; This specific HW configuration is available only if LPUART1 is available and configured by CubeMX user interface.
        &lt;br&gt;LPUART1 Mode must be set to Asynchronous with Hardware Flow Control set to CTS only&lt;/font&gt;</Description>
	</RefParameter>

	<RefParameter Name="CFG_HW_LPUART1_DMA_TX_SUPPORTED" Comment="CFG_HW_LPUART1_DMA_TX_SUPPORTED" DefaultValue="1" Type="list" Group="HW UART" TabName="Configuration">
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
        <Condition Diagnostic="" Expression="(LPUART1_TX_DMA1_Channel1 | LPUART1_TX_DMA1_Channel2 | LPUART1_TX_DMA1_Channel3 | LPUART1_TX_DMA1_Channel4 | LPUART1_TX_DMA1_Channel5 | LPUART1_TX_DMA1_Channel6 | LPUART1_TX_DMA1_Channel7 |
         LPUART1_TX_DMA2_Channel1 | LPUART1_TX_DMA2_Channel2 | LPUART1_TX_DMA2_Channel3 | LPUART1_TX_DMA2_Channel4 | LPUART1_TX_DMA2_Channel5 | LPUART1_TX_DMA2_Channel6 | LPUART1_TX_DMA2_Channel7 ) &amp; Semaphore_CFG_HW_LPUART1_ENABLED"/>
		<Description>Enable or Disable LPUART1 DMA TX</Description>
	</RefParameter>
	<RefParameter Name="CFG_HW_LPUART1_DMA_TX_SUPPORTED" Comment="CFG_HW_LPUART1_DMA_TX_SUPPORTED" DefaultValue="0" Type="String" Group="HW UART" TabName="Configuration">
		<Description>&lt;font color=&quot;red&quot;&gt;To enable LPUART1 DMA TX, CFG_HW_LPUART1_ENABLED shall be enabled when available &amp; you need to add relevant DMA request in LPUART1 DMA Settings panel&lt;/font&gt;</Description>
	</RefParameter>

	<RefParameter Name="CFG_HW_USART1_ENABLED" Comment="CFG_HW_USART1_ENABLED" DefaultValue="0" Type="list" Group="HW UART" TabName="Configuration">
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"  Semaphore="Semaphore_CFG_HW_USART1_ENABLED"/>
        <Condition Diagnostic="" Expression="S_USART"/>
		<Description>Enable or Disable traces USART1 (USART1 Mode must be set to Asynchronous with Hardware Flow Control set to CTS only)
        &lt;br&gt;&lt;font color=&quot;red&quot;&gt; Please ensure that in ProjectManager Advanced Settings panel MX_USART1_UART_Init Not Generate Function call is ticked and that Vibility is unticked &lt;/font&gt;</Description>
	</RefParameter>
	<RefParameter Name="CFG_HW_USART1_ENABLED" Comment="CFG_HW_USART1_ENABLED" DefaultValue="0" Type="list" Group="HW UART" TabName="Configuration">
		<PossibleValue Value="0" Comment="Disabled"/>
		<Description>Enable or Disable traces USART1.&lt;br&gt;
        &lt;font color=&quot;red&quot;&gt; This specific HW configuration is available only if USART1 is configured by CubeMX user interface.
        &lt;br&gt;USART1 Mode must be set to Asynchronous with Hardware Flow Control set to CTS only.&lt;/font&gt;</Description>
	</RefParameter>

	<RefParameter Name="CFG_HW_USART1_DMA_TX_SUPPORTED" Comment="CFG_HW_USART1_DMA_TX_SUPPORTED" DefaultValue="1" Type="list" Group="HW UART" TabName="Configuration">
		<PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1"  Comment="Enabled"/>
        <Condition Diagnostic="" Expression="(USART1_TX_DMA1_Channel1 | USART1_TX_DMA1_Channel2 | USART1_TX_DMA1_Channel3 | USART1_TX_DMA1_Channel4 | USART1_TX_DMA1_Channel5 | USART1_TX_DMA1_Channel6 | USART1_TX_DMA1_Channel7 |
         USART1_TX_DMA2_Channel1 | USART1_TX_DMA2_Channel2 | USART1_TX_DMA2_Channel3 | USART1_TX_DMA2_Channel4 | USART1_TX_DMA2_Channel5 | USART1_TX_DMA2_Channel6 | USART1_TX_DMA2_Channel7 ) &amp; Semaphore_CFG_HW_USART1_ENABLED"/>
		<Description>Enable or Disable USART1 DMA TX</Description>
	</RefParameter>
	<RefParameter Name="CFG_HW_USART1_DMA_TX_SUPPORTED" Comment="CFG_HW_USART1_DMA_TX_SUPPORTED" DefaultValue="0" Type="String" Group="HW UART" TabName="Configuration">
		<Description>&lt;font color=&quot;red&quot;&gt;To enable USART1 DMA TX, CFG_HW_USART1_ENABLED shall be enabled &amp; you need to add relevant DMA request in USART1 DMA Settings panel&lt;/font&gt;</Description>
	</RefParameter>

<!--  Advertising begin -->

    <RefParameter Name="ADV_TYPE" Comment="Advertising Type" DefaultValue="ADV_IND" Type="list" TabName="BLE Advertising" Group="Advertising configuration" Visible="true">
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
        <Description>List of advertising types, can be:&lt;br&gt; - Undirected scannable and connectable(ADV_IND 0x00)&lt;br&gt; - Directed non scannable(ADV_DIRECT_IND 0x01)&lt;br&gt; - Scannable but non connectable(ADV_SCAN_IND 0x02)&lt;br&gt; - Non connectable and no scan response (ADV_NONCONN_IND 0x03)&lt;br&gt; - Scan response(SCAN_RSP 0x03)</Description>
        <PossibleValue Value="ADV_IND" Comment="Undirected scannable and connectable(0x00)"/>
        <PossibleValue Value="ADV_DIRECT_IND" Comment="Directed non scannable(0x01)"/>
        <PossibleValue Value="ADV_SCAN_IND" Comment="Scannable but non connectable(0x02)"/>
        <PossibleValue Value="ADV_NONCONN_IND" Comment="Non connectable and no scan response (0x03)"/>
        <PossibleValue Value="SCAN_RSP" Comment="Scan response(0x04)"/>
    </RefParameter>
    <RefParameter Name="ADV_TYPE" Comment="Advertising Type" DefaultValue="" Type="String" TabName="BLE Advertising" Visible="false">
        <Description>List of application types, can be:&lt;br&gt; - Transparent mode&lt;br&gt; - Server profile&lt;br&gt; - Client profile&lt;br&gt; - Router profile</Description>
    </RefParameter>

<!--
    <RefParameter Name="CFG_ADV_INTERVAL_MIN" Comment="CFG_ADV_INTERVAL_MIN" DefaultValue="80" Type="Integer" Min="0" Max="80" TabName="BLE Advertising" Group="Advertising configuration" Visible="true">
        <Description> Shall be &amp;lt; 80ms</Description>
        <Condition Diagnostic="" Expression="S_BLE_HOST"/>
    </RefParameter>
    <RefParameter Name="CFG_ADV_INTERVAL_MIN" Comment="CFG_ADV_INTERVAL_MIN" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising configuration" Visible="false">
        <Description> Shall be &amp;lt 80ms</Description>
    </RefParameter>

    <RefParameter Name="CFG_ADV_INTERVAL_MIN_HEXA" Comment="CFG_ADV_INTERVAL_MIN_HEXA" DefaultValue="0x80" Type="hex" Min="0x00" Max="0x80" TabName="BLE Advertising" Group="Advertising configuration" Visible="false">
        <Description> Shall be &amp;lt 80ms</Description>
        <Condition Diagnostic="" Expression="S_BLE_HOST"/>
    </RefParameter>
    <RefParameter Name="CFG_ADV_INTERVAL_MIN_HEXA" Comment="CFG_ADV_INTERVAL_MIN_HEXA" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising configuration" Visible="false">
        <Description> Shall be &lt; 80ms</Description>
    </RefParameter>

    <RefParameter Name="CFG_ADV_INTERVAL_MAX" Comment="CFG_ADV_INTERVAL_MAX" DefaultValue="100" Type="Integer" Min="0" Max="100" TabName="BLE Advertising" Group="Advertising configuration" Visible="true">
        <Description> Shall be &amp;lt 100ms</Description>
        <Condition Diagnostic="" Expression="S_BLE_HOST"/>
    </RefParameter>
    <RefParameter Name="CFG_ADV_INTERVAL_MAX" Comment="CFG_ADV_INTERVAL_MAX" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising configuration" Visible="false">
        <Description> Shall be &amp;lt 100ms</Description>
    </RefParameter>

    <RefParameter Name="CFG_ADV_INTERVAL_MAX_HEXA" Comment="CFG_ADV_INTERVAL_MAX_HEXA" DefaultValue="0xA0" Type="hex" Min="0x00" Max="0xA0" TabName="BLE Advertising" Group="Advertising configuration" Visible="false">
        <Description> Shall be &amp;lt 100ms</Description>
        <Condition Diagnostic="" Expression="S_BLE_HOST"/>
    </RefParameter>
    <RefParameter Name="CFG_ADV_INTERVAL_MAX_HEXA" Comment="CFG_ADV_INTERVAL_MAX_HEXA" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising configuration" Visible="false">
        <Description> Shall be &amp;lt 100ms</Description>
    </RefParameter>
-->

    <RefParameter Name="BLE_ADDR_TYPE" Comment="Address Type" DefaultValue="ADV_IND" Type="list" TabName="BLE Advertising" Group="Advertising configuration" Visible="true">
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
        <Description>List of advertising types, can be:
        &lt;br&gt; - Public address(PUBLIC_ADDR 0)
        &lt;br&gt; - Random address (RANDOM_ADDR 1)
        &lt;br&gt; - Resolvable private address (RESOLVABLE_PRIVATE_ADDR 2)
        &lt;br&gt; - Non resolvable private address(NON_RESOLVABLE_PRIVATE_ADDR 3)</Description>
        <PossibleValue Value="PUBLIC_ADDR" Comment="Public address(0)"/>
        <PossibleValue Value="RANDOM_ADDR" Comment="Random address(1)"/>
        <PossibleValue Value="RESOLVABLE_PRIVATE_ADDR" Comment="Resolvable private address(2)"/>
        <PossibleValue Value="NON_RESOLVABLE_PRIVATE_ADDR" Comment="Non resolvable private address(3)"/>
    </RefParameter>
    <RefParameter Name="BLE_ADDR_TYPE" Comment="Address Type" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising configuration" Visible="false">
        <Description>List of application types, can be:&lt;br&gt; - Transparent mode&lt;br&gt; - Server profile&lt;br&gt; - Client profile&lt;br&gt; - Router profile</Description>
    </RefParameter>

    <RefParameter Name="ADV_FILTER" Comment="Advertising Filter" DefaultValue="ADV_IND" Type="list" TabName="BLE Advertising" Group="Advertising configuration" Visible="true">
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
        <Description>Advertising policy for filtering (white list related), can be:
        &lt;br&gt; - Process scan and connection requests from all devices, i.e. the White List is not in use.(NO_WHITE_LIST_USE 0x00)
        &lt;br&gt; - Process connection requests from all devices and only scan requests from devices that are in the White List.(WHITE_LIST_FOR_ONLY_SCAN 0x01)
        &lt;br&gt; - Process scan requests from all devices and only connection requests from devices that are in the White List (WHITE_LIST_FOR_ONLY_CONN 0x02)
        &lt;br&gt; - Process scan and connection requests only from devices in the White List.(WHITE_LIST_FOR_ALL 0x03)</Description>
        <PossibleValue Value="NO_WHITE_LIST_USE" Comment="No white list(0x00)"/>
        <PossibleValue Value="WHITE_LIST_FOR_ONLY_SCAN" Comment="Scan only White List devices(0x01)"/>
        <PossibleValue Value="WHITE_LIST_FOR_ONLY_CONN" Comment="Connect only White List devices(0x02)"/>
        <PossibleValue Value="WHITE_LIST_FOR_ALL" Comment="Scan &amp; connect only White List devices (0x03)"/>
    </RefParameter>
    <RefParameter Name="ADV_FILTER" Comment="Advertising Type" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising configuration" Visible="false">
        <Description>List of application types, can be:&lt;br&gt; - Transparent mode&lt;br&gt; - Server profile&lt;br&gt; - Client profile&lt;br&gt; - Router profile</Description>
    </RefParameter>

    <RefParameter Name="GAP_PERIPHERAL_ROLE" Comment="Peripheral: Advertise and connectable" DefaultValue="0" Type="list" TabName="BLE Advertising" Group="Advertising configuration" Visible="true">
        <Description> </Description>
        <PossibleValue Value="0" Comment="No (0x00)"/>
		<PossibleValue Value="1"  Comment="Yes (0x01)"/>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="GAP_PERIPHERAL_ROLE" Comment="Peripheral: Advertise and connectable" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising configuration" Visible="false">
        <Description></Description>
    </RefParameter>
    
    <RefParameter Name="GAP_BROADCASTER_ROLE" Comment="Broadcaster: Advertise and non-connectable" DefaultValue="0" Type="list" TabName="BLE Advertising" Group="Advertising configuration" Visible="true">
        <Description> </Description>
        <PossibleValue Value="0" Comment="No (0x00)"/>
		<PossibleValue Value="2"  Comment="Yes (0x02)"/>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="GAP_BROADCASTER_ROLE" Comment="Broadcaster: Advertise and non-connectable" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising configuration" Visible="false">
        <Description></Description>
    </RefParameter>
    
    <RefParameter Name="GAP_CENTRAL_ROLE" Comment="Central: Scan and connect" DefaultValue="0" Type="list" TabName="BLE Advertising" Group="Advertising configuration" Visible="true">
        <Description> </Description>
        <PossibleValue Value="0" Comment="No (0x00)"/>
		<PossibleValue Value="4"  Comment="Yes (0x04)"/>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="GAP_CENTRAL_ROLE" Comment="Central: Scan and connect" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising configuration" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="GAP_OBSERVER_ROLE" Comment="Observer: Scan" DefaultValue="0" Type="list" TabName="BLE Advertising" Group="Advertising configuration" Visible="true">
        <Description> </Description>
        <PossibleValue Value="0" Comment="No (0x00)"/>
		<PossibleValue Value="8"  Comment="Yes (0x08)"/>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="GAP_OBSERVER_ROLE" Comment="Observer: Scan" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising configuration" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="CFG_GAP_DEVICE_NAME" Comment="CFG_GAP_DEVICE_NAME" DefaultValue="TEMPLATE" Type="StringRW" TabName="BLE Advertising" Group="Advertising configuration" Visible="true">
        <Description>Device name; default value is TEMPLATE</Description>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="CFG_GAP_DEVICE_NAME" Comment="CFG_GAP_DEVICE_NAME" DefaultValue="TEMPLATE" Type="String" TabName="BLE Advertising" Group="Advertising configuration" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="CFG_GAP_DEVICE_NAME_LENGTH" Comment="CFG_GAP_DEVICE_NAME_LENGTH" DefaultValue="8" Type="integerReadOnly" Min = "1" Max = "48" TabName="BLE Advertising" Group="Advertising configuration" Visible="true">
        <Description>Device name lenght; max value is 48bytes, default value is 8 (TEMPLATE length)</Description>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="CFG_GAP_DEVICE_NAME_LENGTH" Comment="CFG_GAP_DEVICE_NAME_LENGTH" DefaultValue="8" Type="integerReadOnly" Min = "8" Max = "8" TabName="BLE Advertising" Group="Advertising configuration" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_DATA_LENGTH" Comment="ad_data[] length" DefaultValue="=(IF(Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL,AD_TYPE_TX_POWER_LEVEL_LENGTH + 1,0)
    + IF(Semaphore_INCLUDE_AD_TYPE_COMPLETE_LOCAL_NAME,AD_TYPE_COMPLETE_LOCAL_NAME_LENGTH + 1,0)
    + IF(Semaphore_INCLUDE_AD_TYPE_SHORTENED_LOCAL_NAME,AD_TYPE_SHORTENED_LOCAL_NAME_LENGTH + 1,0)
    + IF(Semaphore_INCLUDE_AD_TYPE_APPEARANCE,AD_TYPE_APPEARANCE_LENGTH + 1,0)
    + IF(Semaphore_INCLUDE_AD_TYPE_ADVERTISING_INTERVAL,AD_TYPE_ADVERTISING_INTERVAL_LENGTH + 1,0)
    + IF(Semaphore_INCLUDE_AD_TYPE_LE_ROLE,AD_TYPE_LE_ROLE_LENGTH + 1,0)
    + IF(Semaphore_INCLUDE_AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST,AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST_LENGTH + 1,0)
    + IF(Semaphore_INCLUDE_AD_TYPE_128_BIT_SERV_UUID_CMPLT_LIST,AD_TYPE_128_BIT_SERV_UUID_CMPLT_LIST_LENGTH + 1,0)
    + IF(Semaphore_INCLUDE_AD_TYPE_SLAVE_CONN_INTERVAL,AD_TYPE_SLAVE_CONN_INTERVAL_LENGTH + 1,0)
    + IF(Semaphore_INCLUDE_AD_TYPE_URI,AD_TYPE_URI_LENGTH + 1,0)
    + IF(Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA,AD_TYPE_MANUFACTURER_SPECIFIC_DATA_LENGTH + 1,0))" Type="integerReadOnly" Min="1" Max="25" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="AD_DATA_LENGTH" Comment="ad_data[] length" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>
    
    <RefParameter Name="INCLUDE_AD_TYPE_TX_POWER_LEVEL" Comment="Include AD_TYPE_TX_POWER_LEVEL element" DefaultValue="0" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description></Description>
        <PossibleValue Value="0" Comment="No"/>
		<PossibleValue Value="1" Comment="Yes" Semaphore="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL"/>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="INCLUDE_AD_TYPE_TX_POWER_LEVEL" Comment="Include AD_TYPE_TX_POWER_LEVEL element" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="CFG_TX_POWER" Comment="CFG_TX_POWER" DefaultValue="(0x18) /* -0.15dBm */" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
        <Description> </Description>
        <PossibleValue Value="(0x00) /* -40dBm */" Comment="-40dBm (0x00)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x00"/>
        <PossibleValue Value="(0x01) /* -20.85dBm */" Comment="-20.85dBm (0x01)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x01"/>
        <PossibleValue Value="(0x02) /* -19.75dBm  */" Comment="-19.75dBm (0x02)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x02"/>
        <PossibleValue Value="(0x03) /* -18.85dBm */" Comment="-18.85dBm (0x03)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x03"/>
        <PossibleValue Value="(0x04) /* -17.6dBm */" Comment="-17.6dBm (0x04)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x04"/>
        <PossibleValue Value="(0x05) /* -19.5dBm */" Comment="-19.5dBm (0x05)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x05"/>
        <PossibleValue Value="(0x06) /* -15.25dBm */" Comment="-15.25dBm (0x06)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x06"/>
        <PossibleValue Value="(0x07) /* -14.1dBm */" Comment="-14.1dBm (0x07)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x07"/>
        <PossibleValue Value="(0x08) /* -13.15dBm */" Comment="-13.15dBm (0x08)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x08"/>
        <PossibleValue Value="(0x09) /* -12.05dBm */" Comment="-12.05dBm (0x09)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x09"/>
        <PossibleValue Value="(0x0A) /* -10.9dBm */" Comment="-10.9dBm (0x0A)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x0A"/>
        <PossibleValue Value="(0x0B) /* -9.9dBm */" Comment="-9.9dBm (0x0B)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x0B"/>
        <PossibleValue Value="(0x0C) /* -8.85dBm */" Comment="-8.85dBm (0x0C)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x0C"/>
        <PossibleValue Value="(0x0D) /* -7.8dBm */" Comment="-7.8dBm (0x0D)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x0D"/>
        <PossibleValue Value="(0x0E) /* -6.9dBm */" Comment="-6.9dBm (0x0E)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x0E"/>
        <PossibleValue Value="(0x0F) /* -5.9dBm */" Comment="-5.9dBm (0x0F)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x0F"/>
        <PossibleValue Value="(0x10) /* -4.95dBm */" Comment="-4.95dBm (0x10)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x10"/>
        <PossibleValue Value="(0x11) /* -4dBm */" Comment="-4dBm (0x11)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x11"/>
        <PossibleValue Value="(0x12) /* -3.15dBm */" Comment="-3.15dBm (0x12)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x12"/>
        <PossibleValue Value="(0x13) /* -2.45Bm */" Comment="-2.45Bm (0x13)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x13"/>
        <PossibleValue Value="(0x14) /* -1.8dBm */" Comment="-1.8dBm (0x14)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x14"/>
        <PossibleValue Value="(0x15) /* -1.8dBm */" Comment="-1.3dBm (0x15)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x15"/>
        <PossibleValue Value="(0x16) /* -0.85dBm */" Comment="-0.85dBm (0x16)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x16"/>
        <PossibleValue Value="(0x17) /* -0.5dBm */" Comment="-0.5dBm (0x17)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x17"/>
        <PossibleValue Value="(0x18) /* -0.15dBm */" Comment="-0.15dBm (0x18)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x18"/>
		<PossibleValue Value="(0x19) /* 0dBm */"  Comment="0dBm (0x19)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x19"/>
		<PossibleValue Value="(0x1A) /* 1dBm */"  Comment="1dBm (0x1A)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x1A"/>
		<PossibleValue Value="(0x1B) /* 2dBm */"  Comment="2dBm (0x1B)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x1B"/>
		<PossibleValue Value="(0x1C) /* 3dBm */"  Comment="3dBm (0x1C)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x1C"/>
		<PossibleValue Value="(0x1D) /* 4dBm */"  Comment="4dBm (0x1D)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x1D"/>
		<PossibleValue Value="(0x1E) /* 5dBm */"  Comment="5dBm (0x1E)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x1E"/>
		<PossibleValue Value="(0x1F) /* 6dBm */"  Comment="6dBm (0x1F)" Semaphore="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x1F"/>
        <Condition Diagnostic="" Expression="S_BLE_HOST &amp; !Semaphore_BLE_TRANSPARENT_MODE"/>
    </RefParameter>
    <RefParameter Name="CFG_TX_POWER" Comment="CFG_TX_POWER" DefaultValue="" Type="String" TabName="Configuration" Group="Application parameters" Visible="false">
        <Description> </Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x00) /* -40dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x00"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x01) /* -20.85dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x01"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x02) /* -19.75dBm  */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x02"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x03) /* -18.85dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x03"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x04) /* -17.6dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x04"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x05) /* -19.5dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x05"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x06) /* -15.25dBm */v" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x06"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x07) /* -14.1dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x07"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x08) /* -13.15dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x08"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x09) /* -12.05dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x09"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x0A) /* -10.9dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x0A"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x0B) /* -9.9dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x0B"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x0C) /* -8.85dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x0C"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x0D) /* -7.8dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x0D"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x0E) /* -6.9dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x0E"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x0F) /* -5.9dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x0F"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x10) /* -4.95dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x10"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x11) /* -4dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x11"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x12) /* -3.15dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x12"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x13) /* -2.45Bm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x13"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x14) /* -1.8dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x14"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x15) /* -1.8dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x15"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x16) /* -0.85dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x16"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x17) /* -0.5dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x17"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x18) /* -0.15dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x18"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x19) /* 0dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x19"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x1A) /* 1dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x1A"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x1B) /* 2dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x1B"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x1C) /* 3dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x1C"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x1D) /* 4dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x1D"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x1E) /* 5dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x1E"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x1F) /* 6dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL &amp; Semaphore_AD_TYPE_TX_POWER_LEVEL_0x1F"/>
    </RefParameter>



    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL" Comment="      AD_TYPE_TX_POWER_LEVEL" DefaultValue="(0x18) /* -0.15dBm */" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="-40 /* -40dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
		<PossibleValue Value="-40 /* -40dBm */" Comment="-40dBm (0x00)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x00"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="-21 /* -20.85dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
        <PossibleValue Value="-21 /* -20.85dBm */" Comment="-20.85dBm (0x01)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x01"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="-20 /* -19.75dBm  */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
        <PossibleValue Value="-20 /* -19.75dBm  */" Comment="-19.75dBm (0x02)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x02"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="-19 /* -18.85dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
        <PossibleValue Value="-19 /* -18.85dBm */" Comment="-18.85dBm (0x03)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x03"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="-18 /* -17.6dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
        <PossibleValue Value="-18 /* -17.6dBm */" Comment="-17.6dBm (0x04)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x04"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="-16 /* -16.5dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
        <PossibleValue Value="-16 /* -16.5dBm */" Comment="-16.5dBm (0x05)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x05"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="-15 /* -15.25dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
        <PossibleValue Value="-15 /* -15.25dBm */" Comment="-15.25dBm (0x06)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x06"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="-14 /* -14.1dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
        <PossibleValue Value="-14 /* -14.1dBm */" Comment="-14.1dBm (0x07)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x07"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="-13 /* -13.15dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
        <PossibleValue Value="-13 /* -13.15dBm */" Comment="-13.15dBm (0x08)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x08"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="-12 /* -12.05dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
        <PossibleValue Value="-12 /* -12.05dBm */" Comment="-12.05dBm (0x09)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x09"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="-11 /* -10.9dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
        <PossibleValue Value="-11 /* -10.9dBm */" Comment="-10.9dBm (0x0A)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x0A"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="-10 /* -9.9dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
        <PossibleValue Value="-10 /* -9.9dBm */" Comment="-9.9dBm (0x0B)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x0B"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="-8 /* -8.85dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
        <PossibleValue Value="-8 /* -8.85dBm */" Comment="-8.85dBm (0x0C)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x0C"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="-8 /* -7.8dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
        <PossibleValue Value="-8 /* -7.8dBm */" Comment="-7.8dBm (0x0D)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x0D"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="-7 /* -6.9dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
        <PossibleValue Value="-7 /* -6.9dBm */" Comment="-6.9dBm (0x0E)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x0E"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="-6 /* -5.9dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
        <PossibleValue Value="-6 /* -5.9dBm */" Comment="-5.9dBm (0x0F)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x0F"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="-5 /* -4.95dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
        <PossibleValue Value="-5 /* -4.95dBm */" Comment="-4.95dBm (0x10)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x10"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="-4 /* -4dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
        <PossibleValue Value="-4 /* -4dBm */" Comment="-4dBm (0x11)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x11"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="-3 /* -3.15dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
        <PossibleValue Value="-3 /* -3.15dBm */" Comment="-3.15dBm (0x12)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x12"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="-2 /* -2.45Bm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
        <PossibleValue Value="-2 /* -2.45Bm */" Comment="-2.45Bm (0x13)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x13"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="-2 /* -1.8dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
        <PossibleValue Value="-2 /* -1.8dBm */" Comment="-1.8dBm (0x14)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x14"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="-1 /* -1.3dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
        <PossibleValue Value="-1 /* -1.3dBm */" Comment="-1.3dBm (0x15)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x15"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="-1 /* -0.85dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
        <PossibleValue Value="-1 /* -0.85dBm */" Comment="-0.85dBm (0x16)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x16"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="0 /* -0.5dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
        <PossibleValue Value="0 /* -0.5dBm */" Comment="-0.5dBm (0x17)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x17"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="0 /* -0.15dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
        <PossibleValue Value="0 /* -0.15dBm */" Comment="-0.15dBm (0x18)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x18"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="0 /* 0dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
		<PossibleValue Value="0 /* 0dBm */"  Comment="0dBm (0x19)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x19"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="1 /* 1dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
		<PossibleValue Value="1 /* 1dBm */"  Comment="1dBm (0x1A)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x1A"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="2 /* 2dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
		<PossibleValue Value="2 /* 2dBm */"  Comment="2dBm (0x1B)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x1B"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="3 /* 3dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
		<PossibleValue Value="3 /* 3dBm */"  Comment="3dBm (0x1C)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x1C"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="4 /* 4dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
		<PossibleValue Value="4 /* 4dBm */"  Comment="4dBm (0x1D)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x1D"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="5 /* 5dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
		<PossibleValue Value="5 /* 5dBm */"  Comment="5dBm (0x1E)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x1E"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="6 /* 6dBm */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description> </Description>
		<PossibleValue Value="6 /* 6dBm */"  Comment="6dBm (0x1F)"/>
		<Condition Diagnostic="" Expression="Semaphore_AD_TYPE_TX_POWER_LEVEL_0x1F"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_DBM" Comment="      AD_TYPE_TX_POWER_LEVEL_DBM" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_LENGTH" Comment="      AD_TYPE_TX_POWER_LEVEL_LENGTH" DefaultValue="2" Type="integerReadOnly" Min="2" Max="2" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_TX_POWER_LEVEL"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_TX_POWER_LEVEL_LENGTH" Comment="      AD_TYPE_TX_POWER_LEVEL_LENGTH" DefaultValue="0" Type="integerReadOnly" Min="0" Max="0" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>
 
    <RefParameter Name="INCLUDE_AD_TYPE_COMPLETE_LOCAL_NAME" Comment="Include AD_TYPE_COMPLETE_LOCAL_NAME element" DefaultValue="0" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description></Description>
        <PossibleValue Value="0" Comment="No"/>
		<PossibleValue Value="1" Comment="Yes" Semaphore="Semaphore_INCLUDE_AD_TYPE_COMPLETE_LOCAL_NAME"/>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="INCLUDE_AD_TYPE_COMPLETE_LOCAL_NAME" Comment="Include AD_TYPE_COMPLETE_LOCAL_NAME element" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_COMPLETE_LOCAL_NAME" Comment="      AD_TYPE_COMPLETE_LOCAL_NAME" DefaultValue="XX-STM32" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_COMPLETE_LOCAL_NAME"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_COMPLETE_LOCAL_NAME" Comment="      AD_TYPE_COMPLETE_LOCAL_NAME" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_COMPLETE_LOCAL_NAME_LENGTH" Comment="      AD_TYPE_COMPLETE_LOCAL_NAME_LENGTH" DefaultValue="9" Min="1" Max="11" Type="integerReadOnly" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_COMPLETE_LOCAL_NAME"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_COMPLETE_LOCAL_NAME_LENGTH" Comment="      AD_TYPE_COMPLETE_LOCAL_NAME_LENGTH" DefaultValue="1" Min="1" Max="10" Type="integerReadOnly" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="INCLUDE_AD_TYPE_SHORTENED_LOCAL_NAME" Comment="Include AD_TYPE_SHORTENED_LOCAL_NAME  element" DefaultValue="0" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description></Description>
        <PossibleValue Value="0" Comment="No"/>
		<PossibleValue Value="1" Comment="Yes" Semaphore="Semaphore_INCLUDE_AD_TYPE_SHORTENED_LOCAL_NAME"/>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="INCLUDE_AD_TYPE_SHORTENED_LOCAL_NAME" Comment="Include AD_TYPE_SHORTENED_LOCAL_NAME  element" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_SHORTENED_LOCAL_NAME" Comment="      AD_TYPE_SHORTENED_LOCAL_NAME" DefaultValue="01ST" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_SHORTENED_LOCAL_NAME"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_SHORTENED_LOCAL_NAME" Comment="      AD_TYPE_SHORTENED_LOCAL_NAME" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_SHORTENED_LOCAL_NAME_LENGTH" Comment="      AD_TYPE_SHORTENED_LOCAL_NAME_LENGTH" DefaultValue="5" Min="1" Max="6" Type="integerReadOnly" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_SHORTENED_LOCAL_NAME"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_SHORTENED_LOCAL_NAME_LENGTH" Comment="      AD_TYPE_SHORTENED_LOCAL_NAME_LENGTH" DefaultValue="0" Type="integerReadOnly" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="INCLUDE_AD_TYPE_APPEARANCE" Comment="Include AD_TYPE_APPEARANCE element" DefaultValue="0" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description></Description>
        <PossibleValue Value="0" Comment="No"/>
		<PossibleValue Value="1" Comment="Yes" Semaphore="Semaphore_INCLUDE_AD_TYPE_APPEARANCE"/>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="INCLUDE_AD_TYPE_APPEARANCE" Comment="Include AD_TYPE_APPEARANCE element" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_APPEARANCE" Comment="      AD_TYPE_APPEARANCE" DefaultValue="0x03, 0x80 /* BLOOD_PRESSURE_APPEARANCE */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <PossibleValue Value="0x00, 0x00 /* UNKNOWN_APPEARANCE */" Comment="UNKNOWN_APPEARANCE (0x0000)"/>
        <PossibleValue Value="0x00, 0x40 /* GENERIC_PHONE_APPEARANCE */" Comment="GENERIC_PHONE_APPEARANCE (0x0040)"/>
        <PossibleValue Value="0x00, 0x80 /* GENERIC_COMPUTER_APPEARANCE */" Comment="GENERIC_COMPUTER_APPEARANCE (0x0080)"/>
        <PossibleValue Value="0x00, 0xC0 /* GENERIC_WATCH_APPEARANCE */" Comment="GENERIC_WATCH_APPEARANCE (0x00C0)"/>
        <PossibleValue Value="0x00, 0xC1 /* SPORTS_WATCH_APPEARANCE */" Comment="SPORTS_WATCH_APPEARANCE (0x00C1)"/>
        <PossibleValue Value="0x01, 0x00 /* GENERIC_CLOCK_APPEARANCE */" Comment="GENERIC_CLOCK_APPEARANCE (0x0100)"/>
        <PossibleValue Value="0x01, 0x40 /* GENERIC_DISPLAY_APPEARANCE */" Comment="GENERIC_CLOCK_APPEARANCE (0x0140)"/>
        <PossibleValue Value="0x01, 0x80 /* GENERIC_REMOTE_CONTOL_APPEARANCE */" Comment="GENERIC_REMOTE_CONTOL_APPEARANCE (0x0180)"/>
        <PossibleValue Value="0x01, 0xC0 /* GENERIC_EYE_GLASSES_APPEARANCE */" Comment="GENERIC_EYE_GLASSES_APPEARANCE (0x01C0)"/>
        <PossibleValue Value="0x02, 0x00 /* GENERIC_TAG_APPEARANCE */" Comment="GENERIC_TAG_APPEARANCE (0x0200)"/>
        <PossibleValue Value="0x02, 0x40 /* GENERIC_KEYRING_APPEARANCE */" Comment="GENERIC_KEYRING_APPEARANCE (0x0240)"/>
        <PossibleValue Value="0x02, 0x80 /* GENERIC_MEDIA_PLAYER_APPEARANCE */" Comment="GENERIC_MEDIA_PLAYER_APPEARANCE (0x0280)"/>
        <PossibleValue Value="0x02, 0xC0 /* GENERIC_BARCODE_SCANNER_APPEARANCE */" Comment="GENERIC_BARCODE_SCANNER_APPEARANCE (0x02C0)"/>
        <PossibleValue Value="0x03, 0x00 /* GENERIC_THERMOMETER_APPEARANCE */" Comment="GENERIC_THERMOMETER_APPEARANCE (0x0300)"/>
        <PossibleValue Value="0x03, 0x01 /* GENERIC_THERMOMETER_EAR_APPEARANCE */" Comment="GENERIC_THERMOMETER_EAR_APPEARANCE (0x0301)"/>
        <PossibleValue Value="0x03, 0x40 /* GENERIC_HEART_RATE_SENSOR_APPEARANCE */" Comment="GENERIC_HEART_RATE_SENSOR_APPEARANCE (0x0340)"/>
        <PossibleValue Value="0x03, 0x40 /* GENERIC_HEART_RATE_BELT_SENSOR_APPEARANCE */" Comment="GENERIC_HEART_RATE_BELT_SENSOR_APPEARANCE (0x0340)"/>
        

        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_APPEARANCE"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_APPEARANCE" Comment="       AD_TYPE_APPEARANCE" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_APPEARANCE_LENGTH" Comment="      AD_TYPE_APPEARANCE_LENGTH" DefaultValue="3" Type="integerReadOnly" Min="3" Max="3" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_APPEARANCE"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_APPEARANCE_LENGTH" Comment="      AD_TYPE_APPEARANCE_LENGTH" DefaultValue="0" Type="integerReadOnly" Min="0" Max="0" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="INCLUDE_AD_TYPE_ADVERTISING_INTERVAL" Comment="Include AD_TYPE_ADVERTISING_INTERVAL element" DefaultValue="0" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description></Description>
        <PossibleValue Value="0" Comment="No"/>
		<PossibleValue Value="1" Comment="Yes" Semaphore="Semaphore_INCLUDE_AD_TYPE_ADVERTISING_INTERVAL"/>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="INCLUDE_AD_TYPE_ADVERTISING_INTERVAL" Comment="Include AD_TYPE_ADVERTISING_INTERVAL element" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_ADVERTISING_INTERVAL" Comment="      AD_TYPE_ADVERTISING_INTERVAL" DefaultValue="CFG_FAST_CONN_ADV_INTERVAL_MAX" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description></Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_ADVERTISING_INTERVAL"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_ADVERTISING_INTERVAL" Comment="     AD_TYPE_ADVERTISING_INTERVAL" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_ADVERTISING_INTERVAL_VALUE" Comment="     AD_TYPE_ADVERTISING_INTERVAL_VALUE" DefaultValue="=(CFG_FAST_CONN_ADV_INTERVAL_MAX)" Type="integer" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_ADVERTISING_INTERVAL"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_ADVERTISING_INTERVAL_VALUE" Comment="     AD_TYPE_ADVERTISING_INTERVAL_VALUE" DefaultValue="0" Type="integer" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>
    
    <RefParameter Name="AD_TYPE_ADVERTISING_INTERVAL_VALUE_HEX" Comment="     AD_TYPE_ADVERTISING_INTERVAL_VALUE_HEX" DefaultValue="=(CFG_FAST_CONN_ADV_INTERVAL_MAX_HEX)" Type="hex" Min="0x0020" Max="0x4000" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_ADVERTISING_INTERVAL"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_ADVERTISING_INTERVAL_VALUE_HEX" Comment="     AD_TYPE_ADVERTISING_INTERVAL_VALUE_HEX" DefaultValue="0" Type="integer" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_ADVERTISING_INTERVAL_LENGTH" Comment="      AD_TYPE_ADVERTISING_INTERVAL_LENGTH" DefaultValue="3" Type="integerReadOnly" Min="3" Max="3" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_ADVERTISING_INTERVAL"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_ADVERTISING_INTERVAL_LENGTH" Comment="      AD_TYPE_ADVERTISING_INTERVAL_LENGTH" DefaultValue="0" Type="integerReadOnly" Min="0" Max="0" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="INCLUDE_AD_TYPE_LE_ROLE" Comment="Include AD_TYPE_LE_ROLE element" DefaultValue="0" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description></Description>
        <PossibleValue Value="0" Comment="No"/>
		<PossibleValue Value="1" Comment="Yes" Semaphore="Semaphore_INCLUDE_AD_TYPE_LE_ROLE"/>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="INCLUDE_AD_TYPE_LE_ROLE" Comment="Include INCLUDE_AD_TYPE_LE_ROLE element" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_LE_ROLE" Comment="      AD_TYPE_LE_ROLE" DefaultValue="0x00 /* Only Peripheral Role supported */" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description></Description>
        <PossibleValue Value="0x00 /* Only Peripheral Role supported */" Comment="Only Peripheral Role supported (0x00)"/>
        <PossibleValue Value="0x02 /* Only Central Role supported */" Comment="Only Central Role supported (0x02)"/>
        <PossibleValue Value="0x04 /* Peripheral and Central Role supported but Peripheral Role preferred for connection establishment */" Comment="Peripheral and Central Role supported but Peripheral Role preferred for connection establishment (0x04)"/>
        <PossibleValue Value="0x08 /* Peripheral and Central Role supported but Central Role preferred for connection establishment */" Comment="Peripheral and Central Role supported but Central Role preferred for connection establishment (0x08)"/>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_LE_ROLE"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_LE_ROLE" Comment="       AD_TYPE_LE_ROLE" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_LE_ROLE_LENGTH" Comment="      AD_TYPE_LE_ROLE_LENGTH" DefaultValue="2" Type="integerReadOnly" Min="2" Max="2" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_LE_ROLE"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_LE_ROLE_LENGTH" Comment="      AD_TYPE_LE_ROLE_LENGTH" DefaultValue="0" Type="integerReadOnly" Min="0" Max="0" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="INCLUDE_AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST" Comment="Include AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST element" DefaultValue="0" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description></Description>
        <PossibleValue Value="0" Comment="No"/>
		<PossibleValue Value="1" Comment="Yes" Semaphore="Semaphore_INCLUDE_AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST"/>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="INCLUDE_AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST" Comment="Include AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST element" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_SERVICE_CLASS_UUID_NBR" Comment="      ServiceClass UUIDs number" DefaultValue="1" Type="integer" Min="1" Max="11" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST"/>
    </RefParameter>
    <RefParameter Name="AD_SERVICE_CLASS_UUID_NBR" Comment="      ServiceClass UUIDs number" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST_LENGTH" Comment="      AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST_LENGTH" DefaultValue="=(1+2*AD_SERVICE_CLASS_UUID_NBR)" Min="1" Max="25" Type="integerReadOnly" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST_LENGTH" Comment="      AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST_LENGTH" DefaultValue="1" Type="integerReadOnly" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>
    
    <RefParameter Name="AD_SERVICE_CLASS_UUID_1" Comment="            UUID 1" DefaultValue="00 00" ArraySize="2" ArrayTypeElement="uint8_t;16" Type="Array" Separator=" " TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST &amp; (AD_SERVICE_CLASS_UUID_NBR &gt; 0)"/>
    </RefParameter>
    <RefParameter Name="AD_SERVICE_CLASS_UUID_1" Comment="            UUID 1" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_SERVICE_CLASS_UUID_2" Comment="            UUID 2" DefaultValue="00 00" ArraySize="2" ArrayTypeElement="uint8_t;16" Type="Array" Separator=" " TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST &amp; (AD_SERVICE_CLASS_UUID_NBR &gt; 1)"/>
    </RefParameter>
    <RefParameter Name="AD_SERVICE_CLASS_UUID_2" Comment="            UUID 2" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_SERVICE_CLASS_UUID_3" Comment="            UUID 3" DefaultValue="00 00" ArraySize="2" ArrayTypeElement="uint8_t;16" Type="Array" Separator=" " TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST &amp; (AD_SERVICE_CLASS_UUID_NBR &gt; 2)"/>
    </RefParameter>
    <RefParameter Name="AD_SERVICE_CLASS_UUID_3" Comment="            UUID 3" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_SERVICE_CLASS_UUID_4" Comment="            UUID 4" DefaultValue="00 00" ArraySize="2" ArrayTypeElement="uint8_t;16" Type="Array" Separator=" " TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST &amp; (AD_SERVICE_CLASS_UUID_NBR &gt; 3)"/>
    </RefParameter>
    <RefParameter Name="AD_SERVICE_CLASS_UUID_4" Comment="            UUID 4" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_SERVICE_CLASS_UUID_5" Comment="            UUID 5" DefaultValue="00 00" ArraySize="2" ArrayTypeElement="uint8_t;16" Type="Array" Separator=" " TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST &amp; (AD_SERVICE_CLASS_UUID_NBR &gt; 4)"/>
    </RefParameter>
    <RefParameter Name="AD_SERVICE_CLASS_UUID_5" Comment="            UUID 5" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_SERVICE_CLASS_UUID_6" Comment="            UUID 6" DefaultValue="00 00" ArraySize="2" ArrayTypeElement="uint8_t;16" Type="Array" Separator=" " TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST &amp; (AD_SERVICE_CLASS_UUID_NBR &gt; 5)"/>
    </RefParameter>
    <RefParameter Name="AD_SERVICE_CLASS_UUID_6" Comment="            UUID 6" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_SERVICE_CLASS_UUID_7" Comment="            UUID 7" DefaultValue="00 00" ArraySize="2" ArrayTypeElement="uint8_t;16" Type="Array" Separator=" " TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST &amp; (AD_SERVICE_CLASS_UUID_NBR &gt; 6)"/>
    </RefParameter>
    <RefParameter Name="AD_SERVICE_CLASS_UUID_7" Comment="            UUID 7" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_SERVICE_CLASS_UUID_8" Comment="            UUID 8" DefaultValue="00 00" ArraySize="2" ArrayTypeElement="uint8_t;16" Type="Array" Separator=" " TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST &amp; (AD_SERVICE_CLASS_UUID_NBR &gt; 7)"/>
    </RefParameter>
    <RefParameter Name="AD_SERVICE_CLASS_UUID_8" Comment="            UUID 8" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_SERVICE_CLASS_UUID_9" Comment="            UUID 9" DefaultValue="00 00" ArraySize="2" ArrayTypeElement="uint8_t;16" Type="Array" Separator=" " TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST &amp; (AD_SERVICE_CLASS_UUID_NBR &gt; 8)"/>
    </RefParameter>
    <RefParameter Name="AD_SERVICE_CLASS_UUID_9" Comment="            UUID 9" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_SERVICE_CLASS_UUID_10" Comment="            UUID 10" DefaultValue="00 00" ArraySize="2" ArrayTypeElement="uint8_t;16" Type="Array" Separator=" " TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST &amp; (AD_SERVICE_CLASS_UUID_NBR &gt; 9)"/>
    </RefParameter>
    <RefParameter Name="AD_SERVICE_CLASS_UUID_10" Comment="            UUID 10" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_SERVICE_CLASS_UUID_11" Comment="            UUID 11" DefaultValue="00 00" ArraySize="2" ArrayTypeElement="uint8_t;16" Type="Array" Separator=" " TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST &amp; (AD_SERVICE_CLASS_UUID_NBR &gt; 10)"/>
    </RefParameter>
    <RefParameter Name="AD_SERVICE_CLASS_UUID_11" Comment="            UUID 11" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="INCLUDE_AD_TYPE_128_BIT_SERV_UUID_CMPLT_LIST" Comment="Include AD_TYPE_128_BIT_SERV_UUID_CMPLT_LIST element" DefaultValue="0" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description></Description>
        <PossibleValue Value="0" Comment="No"/>
		<PossibleValue Value="1" Comment="Yes" Semaphore="Semaphore_INCLUDE_AD_TYPE_128_BIT_SERV_UUID_CMPLT_LIST"/>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="INCLUDE_AD_TYPE_128_BIT_SERV_UUID_CMPLT_LIST" Comment="Include AD_TYPE_128_BIT_SERV_UUID_CMPLT_LIST element" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_128_BIT_SERV_UUID_CMPLT_LIST" Comment="      AD_TYPE_128_BIT_SERV_UUID_CMPLT_LIST" DefaultValue="00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00" ArraySize="16" ArrayTypeElement="uint4_t;16" Type="Array" Separator="," TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_128_BIT_SERV_UUID_CMPLT_LIST"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_128_BIT_SERV_UUID_CMPLT_LIST" Comment="      AD_TYPE_128_BIT_SERV_UUID_CMPLT_LIST" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_128_BIT_SERV_UUID_CMPLT_LIST_LENGTH" Comment="      AD_TYPE_128_BIT_SERV_UUID_CMPLT_LIST_LENGTH" DefaultValue="17" Type="integerReadOnly" Min="17" Max="17" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_128_BIT_SERV_UUID_CMPLT_LIST"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_128_BIT_SERV_UUID_CMPLT_LIST_LENGTH" Comment="      AD_TYPE_128_BIT_SERV_UUID_CMPLT_LIST_LENGTH" DefaultValue="17" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="INCLUDE_AD_TYPE_SLAVE_CONN_INTERVAL" Comment="Include AD_TYPE_SLAVE_CONN_INTERVAL element" DefaultValue="0" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description></Description>
        <PossibleValue Value="0" Comment="No"/>
		<PossibleValue Value="1" Comment="Yes" Semaphore="Semaphore_INCLUDE_AD_TYPE_SLAVE_CONN_INTERVAL"/>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="INCLUDE_AD_TYPE_SLAVE_CONN_INTERVAL" Comment="Include AD_TYPE_SLAVE_CONN_INTERVAL element" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_SLAVE_CONN_INTERVAL_MIN_MAX" Comment="      Specific Connection Interval Min/Max values?" DefaultValue="0" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description></Description>
        <PossibleValue Value="0" Comment="No"/>
		<PossibleValue Value="1" Comment="Yes" Semaphore="Semaphore_AD_TYPE_SLAVE_CONN_INTERVAL_MIN_MAX"/>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_SLAVE_CONN_INTERVAL"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_SLAVE_CONN_INTERVAL_MIN_MAX" Comment="      Specific Connection Interval Min/Max values?" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_SLAVE_CONN_INTERVAL_MIN" Comment="      Connection Interval Min value" DefaultValue="64" Type="integer" Min="6" Max="3200" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description></Description>
        <Condition Diagnostic="" Expression="Semaphore_AD_TYPE_SLAVE_CONN_INTERVAL_MIN_MAX"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_SLAVE_CONN_INTERVAL_MIN" Comment="      Specific Connection Interval Min value" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_SLAVE_CONN_INTERVAL_MIN_HEXA" Comment="      Connection Interval Min value Hexa" DefaultValue="0x0064" Type="hex" Min="0x0006" Max="0x0C80" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
        <Condition Diagnostic="" Expression="Semaphore_AD_TYPE_SLAVE_CONN_INTERVAL_MIN_MAX"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_SLAVE_CONN_INTERVAL_MIN_HEXA" Comment="      Specific Connection Interval Min value Hexa" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_SLAVE_CONN_INTERVAL_MAX" Comment="      Connection Interval Max value" DefaultValue="125" Type="integer" Min="=AD_TYPE_SLAVE_CONN_INTERVAL_MIN" Max="3200" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description></Description>
        <Condition Diagnostic="" Expression="Semaphore_AD_TYPE_SLAVE_CONN_INTERVAL_MIN_MAX"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_SLAVE_CONN_INTERVAL_MAX" Comment="      Connection Interval Max value" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_SLAVE_CONN_INTERVAL_MAX_HEXA" Comment="      Connection Interval Max value Hexa" DefaultValue="0x0064" Type="hex" Min="0x0006" Max="0x0C80" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
        <Condition Diagnostic="" Expression="Semaphore_AD_TYPE_SLAVE_CONN_INTERVAL_MIN_MAX"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_SLAVE_CONN_INTERVAL_MAX_HEXA" Comment="      Specific Connection Interval Max value Hexa" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_SLAVE_CONN_INTERVAL_LENGTH" Comment="      AD_TYPE_SLAVE_CONN_INTERVAL_LENGTH" DefaultValue="5" Type="integerReadOnly" Min="5" Max="5" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_AD_TYPE_SLAVE_CONN_INTERVAL_MIN_MAX"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_SLAVE_CONN_INTERVAL_LENGTH" Comment="      AD_TYPE_SLAVE_CONN_INTERVAL_LENGTH" DefaultValue="5" Type="integerReadOnly" Min="5" Max="5" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="INCLUDE_AD_TYPE_URI" Comment="Include AD_TYPE_URI element" DefaultValue="0" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description></Description>
        <PossibleValue Value="0" Comment="No"/>
		<PossibleValue Value="1" Comment="Yes" Semaphore="Semaphore_INCLUDE_AD_TYPE_URI"/>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="INCLUDE_AD_TYPE_URI" Comment="Include AD_TYPE_URI element" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_URI_CODE_POINT" Comment="      Code Point" DefaultValue="00,16" ArraySize="2" ArrayTypeElement="uint8_t;16" Type="Array" Separator="," TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_URI"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_URI_CODE_POINT" Comment="       Code Point" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_URI_DATA" Comment="      Data" DefaultValue="wwww.st.com" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description></Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_URI"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_URI_DATA" Comment="      Data" DefaultValue="0" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_URI_DATA_LENGTH" Comment="      AD_TYPE_URI_DATA_LENGTH" DefaultValue="9" Type="integer" Min="1" Max="20" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_URI"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_URI_DATA_LENGTH" Comment="      AD_TYPE_URI_DATA_LENGTH" DefaultValue="0" Type="integer" Min="1" Max="20" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_URI_LENGTH" Comment="      AD_TYPE_URI_LENGTH" DefaultValue="=(5+AD_TYPE_URI_DATA_LENGTH)" Type="integerReadOnly" Min="1" Max="25" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description></Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_URI"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_URI_LENGTH" Comment="      AD_TYPE_URI_LENGTH" DefaultValue="1" Min="1" Max="25" Type="integerReadOnly" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA" Comment="Include AD_TYPE_MANUFACTURER_SPECIFIC_DATA element" DefaultValue="0" Type="list" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description></Description>
        <PossibleValue Value="0" Comment="No"/>
		<PossibleValue Value="1" Comment="Yes" Semaphore="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA"/>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
    </RefParameter>
    <RefParameter Name="INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA" Comment="Include AD_TYPE_MANUFACTURER_SPECIFIC_DATA element" DefaultValue="0" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_SPECIFIC_DATA_LENGTH" Comment="      AD_TYPE_MANUFACTURER_SPECIFIC_DATA_LENGTH" DefaultValue="=(3+AD_TYPE_MANUFACTURER_DATA_NBR)" Type="integerReadOnly" Min="1" Max="25" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description></Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_SPECIFIC_DATA_LENGTH" Comment="      AD_TYPE_MANUFACTURER_SPECIFIC_DATA_LENGTH" DefaultValue="1" Min="1" Max="25" Type="integerReadOnly" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_SPECIFIC_DATA_COMPANY_IDENTIFIER" Comment="      Company identifier" DefaultValue="30,00" ArraySize="2" ArrayTypeElement="uint8_t;16" Type="Array" Separator="," TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_SPECIFIC_DATA_COMPANY_IDENTIFIER" Comment="       Company identifier" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_NBR" Comment="      Number of user defined data item(s)" DefaultValue="1" Type="integer" Min="1" Max="21" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_NBR" Comment="      Number of user defined data item(s)" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_1" Comment="            User defined data 1" DefaultValue="00" ArraySize="1" ArrayTypeElement="uint8_t;16" Type="Array" Separator="," TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 0)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_1" Comment="            User defined data 1" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_1" Comment="            Comment data 1" DefaultValue="" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 0)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_1" Comment="            Comment data 1" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_2" Comment="            User defined data 2" DefaultValue="00" ArraySize="1" ArrayTypeElement="uint8_t;16" Type="Array" Separator="," TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 1)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_2" Comment="            User defined data 2" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_2" Comment="            Comment data 2" DefaultValue="" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 1)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_2" Comment="            Comment data 2" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_3" Comment="            User defined data 3" DefaultValue="00" ArraySize="1" ArrayTypeElement="uint8_t;16" Type="Array" Separator="," TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 2)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_3" Comment="            User defined data 3" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_3" Comment="            Comment data 3" DefaultValue="" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 2)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_3" Comment="            Comment data 3" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_4" Comment="            User defined data 4" DefaultValue="00" ArraySize="1" ArrayTypeElement="uint8_t;16" Type="Array" Separator="," TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 3)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_4" Comment="            User defined data 4" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_4" Comment="            Comment data 4" DefaultValue="" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 3)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_4" Comment="            Comment data 4" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_5" Comment="            User defined data 5" DefaultValue="00" ArraySize="1" ArrayTypeElement="uint8_t;16" Type="Array" Separator="," TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 4)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_5" Comment="            User defined data 5" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_5" Comment="            Comment data 5" DefaultValue="" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 4)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_5" Comment="            Comment data 5" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_6" Comment="            User defined data 6" DefaultValue="00" ArraySize="1" ArrayTypeElement="uint8_t;16" Type="Array" Separator="," TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 5)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_6" Comment="            User defined data 6" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_6" Comment="            Comment data 6" DefaultValue="" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 5)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_6" Comment="            Comment data 6" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_7" Comment="            User defined data 7" DefaultValue="00" ArraySize="1" ArrayTypeElement="uint8_t;16" Type="Array" Separator="," TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 6)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_7" Comment="            User defined data 7" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_7" Comment="            Comment data 7" DefaultValue="" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 6)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_7" Comment="            Comment data 7" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_8" Comment="            User defined data 8" DefaultValue="00" ArraySize="1" ArrayTypeElement="uint8_t;16" Type="Array" Separator="," TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 7)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_8" Comment="            User defined data 8" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_8" Comment="            Comment data 8" DefaultValue="" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 7)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_8" Comment="            Comment data 8" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_9" Comment="            User defined data 9" DefaultValue="00" ArraySize="1" ArrayTypeElement="uint8_t;16" Type="Array" Separator="," TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 8)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_9" Comment="            User defined data 9" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_9" Comment="            Comment data 9" DefaultValue="" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 8)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_9" Comment="            Comment data 9" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_10" Comment="            User defined data 10" DefaultValue="00" ArraySize="1" ArrayTypeElement="uint8_t;16" Type="Array" Separator="," TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 9)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_10" Comment="            User defined data 10" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_10" Comment="            Comment data 10" DefaultValue="" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 9)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_10" Comment="            Comment data 10" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_11" Comment="            User defined data 11" DefaultValue="00" ArraySize="1" ArrayTypeElement="uint8_t;16" Type="Array" Separator="," TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 10)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_11" Comment="            User defined data 11" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_11" Comment="            Comment data 11" DefaultValue="" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 10)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_11" Comment="            Comment data 11" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_12" Comment="            User defined data 12" DefaultValue="00" ArraySize="1" ArrayTypeElement="uint8_t;16" Type="Array" Separator="," TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 11)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_12" Comment="            User defined data 12" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_12" Comment="            Comment data 12" DefaultValue="" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 11)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_12" Comment="            Comment data 12" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_13" Comment="            User defined data 13" DefaultValue="00" ArraySize="1" ArrayTypeElement="uint8_t;16" Type="Array" Separator="," TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 12)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_13" Comment="            User defined data 13" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_13" Comment="            Comment data 13" DefaultValue="" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 12)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_13" Comment="            Comment data 13" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_14" Comment="            User defined data 14" DefaultValue="00" ArraySize="1" ArrayTypeElement="uint8_t;16" Type="Array" Separator="," TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 13)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_14" Comment="            User defined data 14" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_14" Comment="            Comment data 14" DefaultValue="" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 13)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_14" Comment="            Comment data 14" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_15" Comment="            User defined data 15" DefaultValue="00" ArraySize="1" ArrayTypeElement="uint8_t;16" Type="Array" Separator="," TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 14)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_15" Comment="            User defined data 15" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_15" Comment="            Comment data 15" DefaultValue="" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 14)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_15" Comment="            Comment data 15" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_16" Comment="            User defined data 16" DefaultValue="00" ArraySize="1" ArrayTypeElement="uint8_t;16" Type="Array" Separator="," TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 15)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_16" Comment="            User defined data 16" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_16" Comment="            Comment data 16" DefaultValue="" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 15)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_16" Comment="            Comment data 16" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_17" Comment="            User defined data 17" DefaultValue="00" ArraySize="1" ArrayTypeElement="uint8_t;16" Type="Array" Separator="," TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 16)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_17" Comment="            User defined data 17" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_17" Comment="            Comment data 17" DefaultValue="" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 16)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_17" Comment="            Comment data 17" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_18" Comment="            User defined data 18" DefaultValue="00" ArraySize="1" ArrayTypeElement="uint8_t;16" Type="Array" Separator="," TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 17)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_18" Comment="            User defined data 18" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_18" Comment="            Comment data 18" DefaultValue="" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 17)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_18" Comment="            Comment data 18" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_19" Comment="            User defined data 19" DefaultValue="00" ArraySize="1" ArrayTypeElement="uint8_t;16" Type="Array" Separator="," TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 18)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_19" Comment="            User defined data 19" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_19" Comment="            Comment data 20" DefaultValue="" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 18)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_19" Comment="            Comment data 20" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_20" Comment="            User defined data 20" DefaultValue="00" ArraySize="1" ArrayTypeElement="uint8_t;16" Type="Array" Separator="," TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 19)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_20" Comment="            User defined data 20" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_20" Comment="            Comment data 20" DefaultValue="" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 19)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_20" Comment="            Comment data 20" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_21" Comment="            User defined data 21" DefaultValue="00" ArraySize="1" ArrayTypeElement="uint8_t;16" Type="Array" Separator="," TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 20)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_21" Comment="            User defined data 21" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_21" Comment="            Comment data 21" DefaultValue="" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 20)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_21" Comment="            Comment data 21" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_22" Comment="            User defined data 22" DefaultValue="00" ArraySize="1" ArrayTypeElement="uint8_t;16" Type="Array" Separator="," TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 21)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_22" Comment="            User defined data 22" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_22" Comment="            Comment data 22" DefaultValue="" Type="StringRW" TabName="BLE Advertising" Group="Advertising elements" Visible="true">
        <Description> </Description>
        <Condition Diagnostic="" Expression="Semaphore_INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA &amp;(AD_TYPE_MANUFACTURER_DATA_NBR &gt; 21)"/>
    </RefParameter>
    <RefParameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_22" Comment="            Comment data 22" DefaultValue="" Type="String" TabName="BLE Advertising" Group="Advertising elements" Visible="false">
        <Description></Description>
    </RefParameter>

<!-- Advertising end -->

<!-- GATT begin -->

    <RefParameter Name="NUMBER_OF_SERVICES" Comment="Number of services" DefaultValue="0" Type="Integer" Min="1" Max="5">
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="NUMBER_OF_SERVICES" Comment="Number of services" DefaultValue="0" Type="Integer" Min="0" Max="0">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE_LONG_NAME" Comment="Service long name" DefaultValue="Please enter a Service Long Name" Type="StringRW">
        <Description>Please enter a Service Long Name&lt;br&gt;&lt;font color=&quot;red&quot;&gt;&lt;b&gt;WARNING:&lt;/b&gt; this name must : &lt;br&gt;- not start with "Please"&lt;br&gt;- not be empty&lt;br&gt;- contain only "a to z", "A to Z", "0 to 9" and "_" characters</Description>
    </RefParameter>
    <RefParameter Name="SERVICE_SHORT_NAME" Comment="Service short name" DefaultValue="Please enter a Service Short Name" Type="StringRW">
        <Description>Please enter a Service Short Name&lt;br&gt;&lt;font color=&quot;red&quot;&gt;&lt;b&gt;WARNING:&lt;/b&gt; this name must : &lt;br&gt;- not start with "Please"&lt;br&gt;- not be empty&lt;br&gt;- contain only "a to z", "A to Z", "0 to 9" and "_" characters</Description>
    </RefParameter>

    <RefParameter Name="SERVICE_CHAR_LONG_NAME" Comment="Characteristic long name" DefaultValue="Please enter a Characteristic Long Name" Type="StringRW">
        <Description>Please enter a Service Characteristic Long Name&lt;br&gt;&lt;font color=&quot;red&quot;&gt;&lt;b&gt;WARNING:&lt;/b&gt; this name must : &lt;br&gt;- not start with "Please"&lt;br&gt;- not be empty&lt;br&gt;- contain only "a to z", "A to Z", "0 to 9" and "_" characters</Description>
    </RefParameter>
    <RefParameter Name="SERVICE_CHAR_SHORT_NAME" Comment="Characteristic short name" DefaultValue="Please enter a Characteristic Short Name" Type="StringRW">
        <Description>Please enter a Service Characteristic Short Name&lt;br&gt;&lt;font color=&quot;red&quot;&gt;&lt;b&gt;WARNING:&lt;/b&gt; this name must : &lt;br&gt;- not start with "Please"&lt;br&gt;- not be empty&lt;br&gt;- contain only "a to z", "A to Z", "0 to 9" and "_" characters</Description>
    </RefParameter>

    <RefParameter Name="SERVICE1" Comment="service1" DefaultValue="1" Type="List" Visible="false">
        <PossibleValue Value="1" Comment="1" Semaphore="Semaphore_SERVICE1"/>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE &amp; (NUMBER_OF_SERVICES &gt; 0)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE1" Comment="service1" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE2" Comment="service2" DefaultValue="2" Type="List" Visible="false">
        <PossibleValue Value="2" Comment="2" Semaphore="Semaphore_SERVICE2"/>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE &amp; (NUMBER_OF_SERVICES &gt; 1)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE2" Comment="service2" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE3" Comment="service3" DefaultValue="3" Type="List" Visible="false">
        <PossibleValue Value="3" Comment="3" Semaphore="Semaphore_SERVICE3"/>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE &amp; (NUMBER_OF_SERVICES &gt; 2)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE3" Comment="service3" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE4" Comment="service4" DefaultValue="4" Type="List" Visible="false">
        <PossibleValue Value="4" Comment="4" Semaphore="Semaphore_SERVICE4"/>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE &amp; (NUMBER_OF_SERVICES &gt; 3)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE4" Comment="service4" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE5" Comment="service5" DefaultValue="5" Type="List" Visible="false">
        <PossibleValue Value="5" Comment="5" Semaphore="Semaphore_SERVICE5"/>
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE &amp; (NUMBER_OF_SERVICES &gt; 4)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE5" Comment="service5" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE_NUMBER_OF_CHARACTERISTICS" Comment="Number of characteristics" DefaultValue="1" Type="Integer" Min="1" Max="5">
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE1_CHARACTERISTICS1" Comment="service1_characteristics1" DefaultValue="1" Type="List" Visible="false">
        <PossibleValue Value="1" Comment="1" Semaphore="Semaphore_SERVICE1_CHARACTERISTICS1"/>
        <Condition Diagnostic="" Expression="Semaphore_SERVICE1 &amp; (SERVICE1_NUMBER_OF_CHARACTERISTICS &gt; 0)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE1_CHARACTERISTICS1" Comment="service1_characteristics1" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE1_CHARACTERISTICS2" Comment="service1_characteristics1" DefaultValue="2" Type="List" Visible="false">
        <PossibleValue Value="2" Comment="2" Semaphore="Semaphore_SERVICE1_CHARACTERISTICS2"/>
        <Condition Diagnostic="" Expression="Semaphore_SERVICE1 &amp; (SERVICE1_NUMBER_OF_CHARACTERISTICS &gt; 1)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE1_CHARACTERISTICS2" Comment="service1_characteristics2" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE1_CHARACTERISTICS3" Comment="service1_characteristics3" DefaultValue="3" Type="List" Visible="false">
        <PossibleValue Value="3" Comment="3" Semaphore="Semaphore_SERVICE1_CHARACTERISTICS3"/>
        <Condition Diagnostic="" Expression="Semaphore_SERVICE1 &amp; (SERVICE1_NUMBER_OF_CHARACTERISTICS &gt; 2)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE1_CHARACTERISTICS3" Comment="service1_characteristics3" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE1_CHARACTERISTICS4" Comment="service1_characteristics4" DefaultValue="4" Type="List" Visible="false">
        <PossibleValue Value="4" Comment="4" Semaphore="Semaphore_SERVICE1_CHARACTERISTICS4"/>
        <Condition Diagnostic="" Expression="Semaphore_SERVICE1 &amp; (SERVICE1_NUMBER_OF_CHARACTERISTICS &gt; 3)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE1_CHARACTERISTICS4" Comment="service1_characteristics4" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE1_CHARACTERISTICS5" Comment="service1_characteristics5" DefaultValue="5" Type="List" Visible="false">
        <PossibleValue Value="5" Comment="5" Semaphore="Semaphore_SERVICE1_CHARACTERISTICS5"/>
        <Condition Diagnostic="" Expression="Semaphore_SERVICE1 &amp; (SERVICE1_NUMBER_OF_CHARACTERISTICS &gt; 4)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE1_CHARACTERISTICS5" Comment="service1_characteristics5" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE2_CHARACTERISTICS1" Comment="service2_characteristics1" DefaultValue="1" Type="List" Visible="false">
        <PossibleValue Value="1" Comment="1" Semaphore="Semaphore_SERVICE2_CHARACTERISTICS1"/>
        <Condition Diagnostic="" Expression="Semaphore_SERVICE2 &amp; (SERVICE2_NUMBER_OF_CHARACTERISTICS &gt; 0)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE2_CHARACTERISTICS1" Comment="service2_characteristics1" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE2_CHARACTERISTICS2" Comment="service2_characteristics1" DefaultValue="2" Type="List" Visible="false">
        <PossibleValue Value="2" Comment="2" Semaphore="Semaphore_SERVICE2_CHARACTERISTICS2"/>
        <Condition Diagnostic="" Expression="Semaphore_SERVICE2 &amp; (SERVICE2_NUMBER_OF_CHARACTERISTICS &gt; 1)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE2_CHARACTERISTICS2" Comment="service2_characteristics2" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE2_CHARACTERISTICS3" Comment="service2_characteristics3" DefaultValue="3" Type="List" Visible="false">
        <PossibleValue Value="3" Comment="3" Semaphore="Semaphore_SERVICE2_CHARACTERISTICS3"/>
        <Condition Diagnostic="" Expression="Semaphore_SERVICE2 &amp; (SERVICE2_NUMBER_OF_CHARACTERISTICS &gt; 2)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE2_CHARACTERISTICS3" Comment="service2_characteristics3" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE2_CHARACTERISTICS4" Comment="service2_characteristics4" DefaultValue="4" Type="List" Visible="false">
        <PossibleValue Value="4" Comment="4" Semaphore="Semaphore_SERVICE2_CHARACTERISTICS4"/>
        <Condition Diagnostic="" Expression="Semaphore_SERVICE2 &amp; (SERVICE2_NUMBER_OF_CHARACTERISTICS &gt; 3)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE2_CHARACTERISTICS4" Comment="service2_characteristics4" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE2_CHARACTERISTICS5" Comment="service2_characteristics5" DefaultValue="5" Type="List" Visible="false">
        <PossibleValue Value="5" Comment="5" Semaphore="Semaphore_SERVICE2_CHARACTERISTICS5"/>
        <Condition Diagnostic="" Expression="Semaphore_SERVICE2 &amp; (SERVICE2_NUMBER_OF_CHARACTERISTICS &gt; 4)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE2_CHARACTERISTICS5" Comment="service2_characteristics5" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE3_CHARACTERISTICS1" Comment="service3_characteristics1" DefaultValue="1" Type="List" Visible="false">
        <PossibleValue Value="1" Comment="1" Semaphore="Semaphore_SERVICE3_CHARACTERISTICS1"/>
        <Condition Diagnostic="" Expression="Semaphore_SERVICE3 &amp; (SERVICE3_NUMBER_OF_CHARACTERISTICS &gt; 0)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE3_CHARACTERISTICS1" Comment="service3_characteristics1" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE3_CHARACTERISTICS2" Comment="service3_characteristics1" DefaultValue="2" Type="List" Visible="false">
        <PossibleValue Value="2" Comment="2" Semaphore="Semaphore_SERVICE3_CHARACTERISTICS2"/>
        <Condition Diagnostic="" Expression="Semaphore_SERVICE3 &amp; (SERVICE3_NUMBER_OF_CHARACTERISTICS &gt; 1)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE3_CHARACTERISTICS2" Comment="service3_characteristics2" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE3_CHARACTERISTICS3" Comment="service3_characteristics3" DefaultValue="3" Type="List" Visible="false">
        <PossibleValue Value="3" Comment="3" Semaphore="Semaphore_SERVICE3_CHARACTERISTICS3"/>
        <Condition Diagnostic="" Expression="Semaphore_SERVICE3 &amp; (SERVICE3_NUMBER_OF_CHARACTERISTICS &gt; 2)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE3_CHARACTERISTICS3" Comment="service3_characteristics3" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE3_CHARACTERISTICS4" Comment="service3_characteristics4" DefaultValue="4" Type="List" Visible="false">
        <PossibleValue Value="4" Comment="4" Semaphore="Semaphore_SERVICE3_CHARACTERISTICS4"/>
        <Condition Diagnostic="" Expression="Semaphore_SERVICE3 &amp; (SERVICE3_NUMBER_OF_CHARACTERISTICS &gt; 3)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE3_CHARACTERISTICS4" Comment="service3_characteristics4" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE3_CHARACTERISTICS5" Comment="service3_characteristics5" DefaultValue="5" Type="List" Visible="false">
        <PossibleValue Value="5" Comment="5" Semaphore="Semaphore_SERVICE3_CHARACTERISTICS5"/>
        <Condition Diagnostic="" Expression="Semaphore_SERVICE3 &amp; (SERVICE3_NUMBER_OF_CHARACTERISTICS &gt; 4)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE3_CHARACTERISTICS5" Comment="service3_characteristics5" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE4_CHARACTERISTICS1" Comment="service4_characteristics1" DefaultValue="1" Type="List" Visible="false">
        <PossibleValue Value="1" Comment="1" Semaphore="Semaphore_SERVICE4_CHARACTERISTICS1"/>
        <Condition Diagnostic="" Expression="Semaphore_SERVICE4 &amp; (SERVICE4_NUMBER_OF_CHARACTERISTICS &gt; 0)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE4_CHARACTERISTICS1" Comment="service4_characteristics1" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE4_CHARACTERISTICS2" Comment="service4_characteristics1" DefaultValue="2" Type="List" Visible="false">
        <PossibleValue Value="2" Comment="2" Semaphore="Semaphore_SERVICE4_CHARACTERISTICS2"/>
        <Condition Diagnostic="" Expression="Semaphore_SERVICE4 &amp; (SERVICE4_NUMBER_OF_CHARACTERISTICS &gt; 1)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE4_CHARACTERISTICS2" Comment="service4_characteristics2" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE4_CHARACTERISTICS3" Comment="service4_characteristics3" DefaultValue="3" Type="List" Visible="false">
        <PossibleValue Value="3" Comment="3" Semaphore="Semaphore_SERVICE4_CHARACTERISTICS3"/>
        <Condition Diagnostic="" Expression="Semaphore_SERVICE4 &amp; (SERVICE4_NUMBER_OF_CHARACTERISTICS &gt; 2)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE4_CHARACTERISTICS3" Comment="service4_characteristics3" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE4_CHARACTERISTICS4" Comment="service4_characteristics4" DefaultValue="4" Type="List" Visible="false">
        <PossibleValue Value="4" Comment="4" Semaphore="Semaphore_SERVICE4_CHARACTERISTICS4"/>
        <Condition Diagnostic="" Expression="Semaphore_SERVICE4 &amp; (SERVICE4_NUMBER_OF_CHARACTERISTICS &gt; 3)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE4_CHARACTERISTICS4" Comment="service4_characteristics4" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE4_CHARACTERISTICS5" Comment="service4_characteristics5" DefaultValue="5" Type="List" Visible="false">
        <PossibleValue Value="5" Comment="5" Semaphore="Semaphore_SERVICE4_CHARACTERISTICS5"/>
        <Condition Diagnostic="" Expression="Semaphore_SERVICE4 &amp; (SERVICE4_NUMBER_OF_CHARACTERISTICS &gt; 4)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE4_CHARACTERISTICS5" Comment="service4_characteristics5" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    
    <RefParameter Name="SERVICE5_CHARACTERISTICS1" Comment="service5_characteristics1" DefaultValue="1" Type="List" Visible="false">
        <PossibleValue Value="1" Comment="1" Semaphore="Semaphore_SERVICE5_CHARACTERISTICS1"/>
        <Condition Diagnostic="" Expression="Semaphore_SERVICE5 &amp; (SERVICE5_NUMBER_OF_CHARACTERISTICS &gt; 0)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE5_CHARACTERISTICS1" Comment="service5_characteristics1" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE5_CHARACTERISTICS2" Comment="service5_characteristics1" DefaultValue="2" Type="List" Visible="false">
        <PossibleValue Value="2" Comment="2" Semaphore="Semaphore_SERVICE5_CHARACTERISTICS2"/>
        <Condition Diagnostic="" Expression="Semaphore_SERVICE5 &amp; (SERVICE5_NUMBER_OF_CHARACTERISTICS &gt; 1)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE5_CHARACTERISTICS2" Comment="service5_characteristics2" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE5_CHARACTERISTICS3" Comment="service5_characteristics3" DefaultValue="3" Type="List" Visible="false">
        <PossibleValue Value="3" Comment="3" Semaphore="Semaphore_SERVICE5_CHARACTERISTICS3"/>
        <Condition Diagnostic="" Expression="Semaphore_SERVICE5 &amp; (SERVICE5_NUMBER_OF_CHARACTERISTICS &gt; 2)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE5_CHARACTERISTICS3" Comment="service5_characteristics3" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE5_CHARACTERISTICS4" Comment="service5_characteristics4" DefaultValue="4" Type="List" Visible="false">
        <PossibleValue Value="4" Comment="4" Semaphore="Semaphore_SERVICE5_CHARACTERISTICS4"/>
        <Condition Diagnostic="" Expression="Semaphore_SERVICE5 &amp; (SERVICE5_NUMBER_OF_CHARACTERISTICS &gt; 3)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE5_CHARACTERISTICS4" Comment="service5_characteristics4" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE5_CHARACTERISTICS5" Comment="service5_characteristics5" DefaultValue="5" Type="List" Visible="false">
        <PossibleValue Value="5" Comment="5" Semaphore="Semaphore_SERVICE5_CHARACTERISTICS5"/>
        <Condition Diagnostic="" Expression="Semaphore_SERVICE5 &amp; (SERVICE5_NUMBER_OF_CHARACTERISTICS &gt; 4)"/>
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>
    <RefParameter Name="SERVICE5_CHARACTERISTICS5" Comment="service5_characteristics5" DefaultValue="0" Type="List" Visible="false">
        <Description> Number of services; maximum is 5</Description>
    </RefParameter>

    <RefParameter Name="SERVICE_TYPE" Comment="Type" DefaultValue="PRIMARY_SERVICE" Type="list">
        <Description>Type of service, either Primary or Secondary</Description>
        <PossibleValue Value="PRIMARY_SERVICE" Comment="Primary Service(0x01)"/>
		<PossibleValue Value="SECONDARY_SERVICE" Comment="Secondary Service(0x02)"/>
    </RefParameter>

    <RefParameter Name="SERVICE_UUID_TYPE" Comment="UUID type" DefaultValue="0x02" Type="list">
        <Description>Type of service UUID, 0x01 = 16 bits UUID, 0x02 = 128 bits UUID</Description>
        <PossibleValue Value="0x01" Comment="16 bits UUID(0x01)"/>
		<PossibleValue Value="0x02" Comment="128 bits UUID(0x02)"/>
    </RefParameter>

    <RefParameter Name="SERVICE_UUID" Comment="UUID" DefaultValue="00 00" ArraySize="2" ArrayTypeElement="uint8_t;16" Type="Array" Separator=" ">
        <Description>Contains the UUID (only 2 bytes are defined by the user for 16 or 128 bits UUID)</Description>
    </RefParameter>

    <RefParameter Name="SERVICE_CHAR_UUID_TYPE" Comment="UUID type" DefaultValue="0x02" Type="list">
        <Description>Type of characteristic UUID, 0x01 = 16 bits UUID, 0x02 = 128 bits UUID</Description>
        <PossibleValue Value="0x01" Comment="16 bits UUID(0x01)"/>
		<PossibleValue Value="0x02" Comment="128 bits UUID(0x02)"/>
    </RefParameter>

    <RefParameter Name="SERVICE_CHAR_UUID" Comment="UUID" DefaultValue="00 00" ArraySize="2" ArrayTypeElement="uint8_t;16" Type="Array" Separator=" ">
        <Description>Contains the UUID (only 2 bytes are defined by the user for 16 or 128 bits UUID)</Description>
    </RefParameter>

    <RefParameter Name="SERVICE_CHAR_VALUE_LENGTH" Comment="Value length" DefaultValue="1" Type="integer" Min = "1" Max = "247">
        <Description>Number of bytes to be written or to notify (1 to 247)</Description>
    </RefParameter>

    <RefParameter Name="SERVICE_CHAR_PROP_NONE" Comment="CHAR_PROP_NONE" DefaultValue="CHAR_PROP_NONE" Type="list" Visible="false">
        <Description></Description>
        <PossibleValue Value="CHAR_PROP_NONE" Comment="Yes"/>
        <PossibleValue Value=" " Comment="No"/>
    </RefParameter>

    <RefParameter Name="SERVICE_CHAR_PROP_BROADCAST" Comment="CHAR_PROP_BROADCAST" DefaultValue="CHAR_PROP_BROADCAST" Type="list">
        <Description></Description>
        <PossibleValue Value="CHAR_PROP_BROADCAST" Comment="Yes"/>
        <PossibleValue Value=" " Comment="No"/>
    </RefParameter>

    <RefParameter Name="SERVICE_CHAR_PROP_READ" Comment="CHAR_PROP_READ" DefaultValue=" " Type="list">
        <Description></Description>
        <PossibleValue Value="CHAR_PROP_READ" Comment="Yes"/>
        <PossibleValue Value=" " Comment="No"/>
    </RefParameter>

    <RefParameter Name="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" Comment="CHAR_PROP_WRITE_WITHOUT_RESP" DefaultValue=" " Type="list">
        <Description></Description>
        <PossibleValue Value="CHAR_PROP_WRITE_WITHOUT_RESP" Comment="Yes"/>
        <PossibleValue Value=" " Comment="No"/>
    </RefParameter>

    <RefParameter Name="SERVICE_CHAR_PROP_WRITE" Comment="CHAR_PROP_WRITE" DefaultValue=" " Type="list">
        <Description></Description>
        <PossibleValue Value="CHAR_PROP_WRITE" Comment="Yes"/>
        <PossibleValue Value=" " Comment="No"/>
    </RefParameter>

    <RefParameter Name="SERVICE_CHAR_PROP_NOTIFY" Comment="CHAR_PROP_NOTIFY" DefaultValue=" " Type="list">
        <Description></Description>
    </RefParameter>

    <RefParameter Name="SERVICE_CHAR_PROP_INDICATE" Comment="CHAR_PROP_INDICATE" DefaultValue=" " Type="list">
        <Description></Description>
        <PossibleValue Value="CHAR_PROP_INDICATE" Comment="Yes"/>
        <PossibleValue Value=" " Comment="No"/>
    </RefParameter>

    <!-- ne pas considerer pour l instant, ne pas le proposer dans la UI, fera l objet d un CR si demande  -->
    <!-- RefParameter Name="SERVICE_CHAR_PROP_SIGNED_WRITE" Comment="CHAR_PROP_SIGNED_WRITE" DefaultValue=" " Type="list">
        <Description></Description>
        <PossibleValue Value="1" Comment="Yes"/>
        <PossibleValue Value=" " Comment="No"/>
    </RefParameter>

    <RefParameter Name="SERVICE_CHAR_PROP_EXT" Comment="CHAR_PROP_EXT" DefaultValue=" " Type="list">
        <Description></Description>
        <PossibleValue Value="1" Comment="Yes"/>
        <PossibleValue Value=" " Comment="No"/>
    </RefParameter-->

    <RefParameter Name="SERVICE1_CHAR1_VALUE_OFFSET" Comment="Update char value offset" DefaultValue="0" Type="integer" Min = "0" Max="=(SERVICE1_CHAR1_VALUE_LENGTH-1)">
        <Description>The offset from which the attribute value has to be updated. Only active when CHAR_PROP_NOTIFY or CHAR_PROP_INDICATE is selected. Used in custom_stm.c aci_gatt_update_char_value function</Description>
    </RefParameter>
    <RefParameter Name="SERVICE1_CHAR2_VALUE_OFFSET" Comment="Update char value offset" DefaultValue="0" Type="integer" Min = "0" Max="=(SERVICE1_CHAR2_VALUE_LENGTH-1)">
        <Description>The offset from which the attribute value has to be updated. Only active when CHAR_PROP_NOTIFY or CHAR_PROP_INDICATE is selected. Used in custom_stm.c aci_gatt_update_char_value function</Description>
    </RefParameter>
    <RefParameter Name="SERVICE1_CHAR3_VALUE_OFFSET" Comment="Update char value offset" DefaultValue="0" Type="integer" Min = "0" Max="=(SERVICE1_CHAR3_VALUE_LENGTH-1)">
        <Description>The offset from which the attribute value has to be updated. Only active when CHAR_PROP_NOTIFY or CHAR_PROP_INDICATE is selected. Used in custom_stm.c aci_gatt_update_char_value function</Description>
    </RefParameter>
    <RefParameter Name="SERVICE1_CHAR4_VALUE_OFFSET" Comment="Update char value offset" DefaultValue="0" Type="integer" Min = "0" Max="=(SERVICE1_CHAR4_VALUE_LENGTH-1)">
        <Description>The offset from which the attribute value has to be updated. Only active when CHAR_PROP_NOTIFY or CHAR_PROP_INDICATE is selected. Used in custom_stm.c aci_gatt_update_char_value function</Description>
    </RefParameter>
    <RefParameter Name="SERVICE1_CHAR5_VALUE_OFFSET" Comment="Update char value offset" DefaultValue="0" Type="integer" Min = "0" Max="=(SERVICE1_CHAR5_VALUE_LENGTH-1)">
        <Description>The offset from which the attribute value has to be updated. Only active when CHAR_PROP_NOTIFY or CHAR_PROP_INDICATE is selected. Used in custom_stm.c aci_gatt_update_char_value function</Description>
    </RefParameter>
    <RefParameter Name="SERVICE2_CHAR1_VALUE_OFFSET" Comment="Update char value offset" DefaultValue="0" Type="integer" Min = "0" Max="=(SERVICE2_CHAR1_VALUE_LENGTH-1)">
        <Description>The offset from which the attribute value has to be updated. Only active when CHAR_PROP_NOTIFY or CHAR_PROP_INDICATE is selected. Used in custom_stm.c aci_gatt_update_char_value function</Description>
    </RefParameter>
    <RefParameter Name="SERVICE2_CHAR2_VALUE_OFFSET" Comment="Update char value offset" DefaultValue="0" Type="integer" Min = "0" Max="=(SERVICE2_CHAR2_VALUE_LENGTH-1)">
        <Description>The offset from which the attribute value has to be updated. Only active when CHAR_PROP_NOTIFY or CHAR_PROP_INDICATE is selected. Used in custom_stm.c aci_gatt_update_char_value function</Description>
    </RefParameter>
    <RefParameter Name="SERVICE2_CHAR3_VALUE_OFFSET" Comment="Update char value offset" DefaultValue="0" Type="integer" Min = "0" Max="=(SERVICE2_CHAR3_VALUE_LENGTH-1)">
        <Description>The offset from which the attribute value has to be updated. Only active when CHAR_PROP_NOTIFY or CHAR_PROP_INDICATE is selected. Used in custom_stm.c aci_gatt_update_char_value function</Description>
    </RefParameter>
    <RefParameter Name="SERVICE2_CHAR4_VALUE_OFFSET" Comment="Update char value offset" DefaultValue="0" Type="integer" Min = "0" Max="=(SERVICE2_CHAR4_VALUE_LENGTH-1)">
        <Description>The offset from which the attribute value has to be updated. Only active when CHAR_PROP_NOTIFY or CHAR_PROP_INDICATE is selected. Used in custom_stm.c aci_gatt_update_char_value function</Description>
    </RefParameter>
    <RefParameter Name="SERVICE2_CHAR5_VALUE_OFFSET" Comment="Update char value offset" DefaultValue="0" Type="integer" Min = "0" Max="=(SERVICE2_CHAR5_VALUE_LENGTH-1)">
        <Description>The offset from which the attribute value has to be updated. Only active when CHAR_PROP_NOTIFY or CHAR_PROP_INDICATE is selected. Used in custom_stm.c aci_gatt_update_char_value function</Description>
    </RefParameter>
    <RefParameter Name="SERVICE3_CHAR1_VALUE_OFFSET" Comment="Update char value offset" DefaultValue="0" Type="integer" Min = "0" Max="=(SERVICE3_CHAR1_VALUE_LENGTH-1)">
        <Description>The offset from which the attribute value has to be updated. Only active when CHAR_PROP_NOTIFY or CHAR_PROP_INDICATE is selected. Used in custom_stm.c aci_gatt_update_char_value function</Description>
    </RefParameter>
    <RefParameter Name="SERVICE3_CHAR2_VALUE_OFFSET" Comment="Update char value offset" DefaultValue="0" Type="integer" Min = "0" Max="=(SERVICE3_CHAR2_VALUE_LENGTH-1)">
        <Description>The offset from which the attribute value has to be updated. Only active when CHAR_PROP_NOTIFY or CHAR_PROP_INDICATE is selected. Used in custom_stm.c aci_gatt_update_char_value function</Description>
    </RefParameter>
    <RefParameter Name="SERVICE3_CHAR3_VALUE_OFFSET" Comment="Update char value offset" DefaultValue="0" Type="integer" Min = "0" Max="=(SERVICE3_CHAR3_VALUE_LENGTH-1)">
        <Description>The offset from which the attribute value has to be updated. Only active when CHAR_PROP_NOTIFY or CHAR_PROP_INDICATE is selected. Used in custom_stm.c aci_gatt_update_char_value function</Description>
    </RefParameter>
    <RefParameter Name="SERVICE3_CHAR4_VALUE_OFFSET" Comment="Update char value offset" DefaultValue="0" Type="integer" Min = "0" Max="=(SERVICE3_CHAR4_VALUE_LENGTH-1)">
        <Description>The offset from which the attribute value has to be updated. Only active when CHAR_PROP_NOTIFY or CHAR_PROP_INDICATE is selected. Used in custom_stm.c aci_gatt_update_char_value function</Description>
    </RefParameter>
    <RefParameter Name="SERVICE3_CHAR5_VALUE_OFFSET" Comment="Update char value offset" DefaultValue="0" Type="integer" Min = "0" Max="=(SERVICE3_CHAR5_VALUE_LENGTH-1)">
        <Description>The offset from which the attribute value has to be updated. Only active when CHAR_PROP_NOTIFY or CHAR_PROP_INDICATE is selected. Used in custom_stm.c aci_gatt_update_char_value function</Description>
    </RefParameter>
    <RefParameter Name="SERVICE4_CHAR1_VALUE_OFFSET" Comment="Update char value offset" DefaultValue="0" Type="integer" Min = "0" Max="=(SERVICE4_CHAR1_VALUE_LENGTH-1)">
        <Description>The offset from which the attribute value has to be updated. Only active when CHAR_PROP_NOTIFY or CHAR_PROP_INDICATE is selected. Used in custom_stm.c aci_gatt_update_char_value function</Description>
    </RefParameter>
    <RefParameter Name="SERVICE4_CHAR2_VALUE_OFFSET" Comment="Update char value offset" DefaultValue="0" Type="integer" Min = "0" Max="=(SERVICE4_CHAR2_VALUE_LENGTH-1)">
        <Description>The offset from which the attribute value has to be updated. Only active when CHAR_PROP_NOTIFY or CHAR_PROP_INDICATE is selected. Used in custom_stm.c aci_gatt_update_char_value function</Description>
    </RefParameter>
    <RefParameter Name="SERVICE4_CHAR3_VALUE_OFFSET" Comment="Update char value offset" DefaultValue="0" Type="integer" Min = "0" Max="=(SERVICE4_CHAR3_VALUE_LENGTH-1)">
        <Description>The offset from which the attribute value has to be updated. Only active when CHAR_PROP_NOTIFY or CHAR_PROP_INDICATE is selected. Used in custom_stm.c aci_gatt_update_char_value function</Description>
    </RefParameter>
    <RefParameter Name="SERVICE4_CHAR4_VALUE_OFFSET" Comment="Update char value offset" DefaultValue="0" Type="integer" Min = "0" Max="=(SERVICE4_CHAR4_VALUE_LENGTH-1)">
        <Description>The offset from which the attribute value has to be updated. Only active when CHAR_PROP_NOTIFY or CHAR_PROP_INDICATE is selected. Used in custom_stm.c aci_gatt_update_char_value function</Description>
    </RefParameter>
    <RefParameter Name="SERVICE4_CHAR5_VALUE_OFFSET" Comment="Update char value offset" DefaultValue="0" Type="integer" Min = "0" Max="=(SERVICE4_CHAR5_VALUE_LENGTH-1)">
        <Description>The offset from which the attribute value has to be updated. Only active when CHAR_PROP_NOTIFY or CHAR_PROP_INDICATE is selected. Used in custom_stm.c aci_gatt_update_char_value function</Description>
    </RefParameter>
    <RefParameter Name="SERVICE5_CHAR1_VALUE_OFFSET" Comment="Update char value offset" DefaultValue="0" Type="integer" Min = "0" Max="=(SERVICE5_CHAR1_VALUE_LENGTH-1)">
        <Description>The offset from which the attribute value has to be updated. Only active when CHAR_PROP_NOTIFY or CHAR_PROP_INDICATE is selected. Used in custom_stm.c aci_gatt_update_char_value function</Description>
    </RefParameter>
    <RefParameter Name="SERVICE5_CHAR2_VALUE_OFFSET" Comment="Update char value offset" DefaultValue="0" Type="integer" Min = "0" Max="=(SERVICE5_CHAR2_VALUE_LENGTH-1)">
        <Description>The offset from which the attribute value has to be updated. Only active when CHAR_PROP_NOTIFY or CHAR_PROP_INDICATE is selected. Used in custom_stm.c aci_gatt_update_char_value function</Description>
    </RefParameter>
    <RefParameter Name="SERVICE5_CHAR3_VALUE_OFFSET" Comment="Update char value offset" DefaultValue="0" Type="integer" Min = "0" Max="=(SERVICE5_CHAR3_VALUE_LENGTH-1)">
        <Description>The offset from which the attribute value has to be updated. Only active when CHAR_PROP_NOTIFY or CHAR_PROP_INDICATE is selected. Used in custom_stm.c aci_gatt_update_char_value function</Description>
    </RefParameter>
    <RefParameter Name="SERVICE5_CHAR4_VALUE_OFFSET" Comment="Update char value offset" DefaultValue="0" Type="integer" Min = "0" Max="=(SERVICE5_CHAR4_VALUE_LENGTH-1)">
        <Description>The offset from which the attribute value has to be updated. Only active when CHAR_PROP_NOTIFY or CHAR_PROP_INDICATE is selected. Used in custom_stm.c aci_gatt_update_char_value function</Description>
    </RefParameter>
    <RefParameter Name="SERVICE5_CHAR5_VALUE_OFFSET" Comment="Update char value offset" DefaultValue="0" Type="integer" Min = "0" Max="=(SERVICE5_CHAR5_VALUE_LENGTH-1)">
        <Description>The offset from which the attribute value has to be updated. Only active when CHAR_PROP_NOTIFY or CHAR_PROP_INDICATE is selected. Used in custom_stm.c aci_gatt_update_char_value function</Description>
    </RefParameter>

    <RefParameter Name="SERVICE_CHAR_ATTR_PERMISSION_NONE" Comment="ATTR_PERMISSION_NONE" DefaultValue="ATTR_PERMISSION_NONE" Type="list" Visible="false">
        <Description>No security</Description>
        <PossibleValue Value="ATTR_PERMISSION_NONE" Comment="Yes"/>
        <PossibleValue Value=" " Comment="No"/>
    </RefParameter>

    <RefParameter Name="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" Comment="ATTR_PERMISSION_AUTHEN_READ" DefaultValue=" " Type="list">
        <Description>Need authentication to read</Description>
        <PossibleValue Value="ATTR_PERMISSION_AUTHEN_READ" Comment="Yes"/>
        <PossibleValue Value=" " Comment="No"/>
    </RefParameter>

    <RefParameter Name="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" Comment="ATTR_PERMISSION_AUTHOR_READ" DefaultValue=" " Type="list">
        <Description>Need authorization to read</Description>
        <PossibleValue Value="ATTR_PERMISSION_AUTHOR_READ" Comment="Yes"/>
        <PossibleValue Value=" " Comment="No"/>
    </RefParameter>

    <RefParameter Name="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" Comment="ATTR_PERMISSION_ENCRY_READ" DefaultValue=" " Type="list">
        <Description>Link must be encrypted to read</Description>
        <PossibleValue Value="ATTR_PERMISSION_ENCRY_READ" Comment="Yes"/>
        <PossibleValue Value=" " Comment="No"/>
    </RefParameter>

    <RefParameter Name="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" Comment="ATTR_PERMISSION_AUTHEN_WRITE" DefaultValue=" " Type="list">
        <Description>Need authentication to write</Description>
        <PossibleValue Value="ATTR_PERMISSION_AUTHEN_WRITE" Comment="Yes"/>
        <PossibleValue Value=" " Comment="No"/>
    </RefParameter>

    <RefParameter Name="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" Comment="ATTR_PERMISSION_AUTHOR_WRITE" DefaultValue=" " Type="list">
        <Description>Need authorization to write</Description>
        <PossibleValue Value="ATTR_PERMISSION_AUTHOR_WRITE" Comment="Yes"/>
        <PossibleValue Value=" " Comment="No"/>
    </RefParameter>

    <RefParameter Name="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" Comment="ATTR_PERMISSION_ENCRY_WRITE" DefaultValue=" " Type="list" >
        <Description>Link must be encrypted to write</Description>
        <PossibleValue Value="ATTR_PERMISSION_ENCRY_WRITE" Comment="Yes"/>
        <PossibleValue Value=" " Comment="No"/>
    </RefParameter>

    <RefParameter Name="SERVICE_CHAR_GATT_DONT_NOTIFY_EVENTS" Comment="GATT_DONT_NOTIFY_EVENTS" DefaultValue="GATT_DONT_NOTIFY_EVENTS" Type="list" Visible="false">
        <Description>Do not notify events</Description>
        <PossibleValue Value="GATT_DONT_NOTIFY_EVENTS" Comment="Yes"/>
        <PossibleValue Value=" " Comment="No"/>
    </RefParameter>

    <RefParameter Name="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" Comment="GATT_NOTIFY_ATTRIBUTE_WRITE" DefaultValue="GATT_NOTIFY_ATTRIBUTE_WRITE" Type="list">
        <Description>The application will be notified when a client writes to this attribute. An @ref EVT_BLUE_GATT_ATTRIBUTE_MODIFIED will be issued.</Description>
        <PossibleValue Value="GATT_NOTIFY_ATTRIBUTE_WRITE" Comment="Yes"/>
        <PossibleValue Value=" " Comment="No"/>
    </RefParameter>

    <RefParameter Name="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" Comment="GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" DefaultValue="GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" Type="list">
        <Description>The application will be notified when a write request, a write cmd or a signed write cmd is received by the server for this attribute. An @ref EVT_BLUE_GATT_WRITE_PERMIT_REQ will be issued.</Description>
        <PossibleValue Value="GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" Comment="Yes"/>
        <PossibleValue Value=" " Comment="No"/>
    </RefParameter>

    <RefParameter Name="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" Comment="GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" DefaultValue="GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" Type="list">
        <Description>The application will be notified when a read request of any type is received for this attribute. An @ref EVT_BLUE_GATT_READ_PERMIT_REQ will be issued.</Description>
        <PossibleValue Value="GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" Comment="Yes"/>
        <PossibleValue Value=" " Comment="No"/>
    </RefParameter>

    <RefParameter Name="SERVICE_CHAR_NB_DESCRIPTOR" Comment="Service number of descriptor(s)" DefaultValue="0" Type="integer">
        <Description>Value depends of the number of characteristics with the property Notify or Indicate</Description>
    </RefParameter>

    <RefParameter Name="SERVICE1_MAX_ATTRIBUTES_RECORDS" Comment="Service max attributes record(s)" DefaultValue="=(1 + 2*SERVICE1_NUMBER_OF_CHARACTERISTICS + (IF(((SERVICE1_CHAR1_PROP_NOTIFY=CHAR_PROP_NOTIFY) | (SERVICE1_CHAR1_PROP_INDICATE=CHAR_PROP_INDICATE)), 1 ,0) + IF(SERVICE1_NUMBER_OF_CHARACTERISTICS &gt; 1 &amp; ((SERVICE1_CHAR2_PROP_NOTIFY=CHAR_PROP_NOTIFY) | (SERVICE1_CHAR2_PROP_INDICATE=CHAR_PROP_INDICATE)), 1, 0) + IF(SERVICE1_NUMBER_OF_CHARACTERISTICS &gt; 2 &amp; ((SERVICE1_CHAR3_PROP_NOTIFY=CHAR_PROP_NOTIFY) | (SERVICE1_CHAR3_PROP_INDICATE=CHAR_PROP_INDICATE)), 1, 0) + IF(SERVICE1_NUMBER_OF_CHARACTERISTICS &gt; 3 &amp; ((SERVICE1_CHAR4_PROP_NOTIFY=CHAR_PROP_NOTIFY) | (SERVICE1_CHAR4_PROP_INDICATE=CHAR_PROP_INDICATE)), 1, 0) + IF(SERVICE1_NUMBER_OF_CHARACTERISTICS &gt; 4 &amp; ((SERVICE1_CHAR5_PROP_NOTIFY=CHAR_PROP_NOTIFY) | (SERVICE1_CHAR5_PROP_INDICATE=CHAR_PROP_INDICATE)), 1, 0)) + (IF((SERVICE1_CHAR1_PROP_BROADCAST=CHAR_PROP_BROADCAST), 1 ,0) + IF(SERVICE1_NUMBER_OF_CHARACTERISTICS &gt; 1 &amp; (SERVICE1_CHAR2_PROP_BROADCAST=CHAR_PROP_BROADCAST), 1 ,0) + IF(SERVICE1_NUMBER_OF_CHARACTERISTICS &gt; 2 &amp; (SERVICE1_CHAR3_PROP_BROADCAST=CHAR_PROP_BROADCAST), 1 ,0) + IF(SERVICE1_NUMBER_OF_CHARACTERISTICS &gt; 3 &amp; (SERVICE1_CHAR4_PROP_BROADCAST=CHAR_PROP_BROADCAST), 1 ,0) + IF(SERVICE1_NUMBER_OF_CHARACTERISTICS &gt; 4 &amp; (SERVICE1_CHAR5_PROP_BROADCAST=CHAR_PROP_BROADCAST), 1 ,0)))" Type="integerReadOnly" TabName="Service1" Group="Service1">
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE &amp; (NUMBER_OF_SERVICES &gt; 0)"/>
        <Description>Value depends of the number of characteristics (nbOfChar) with the property Notify or Indicate(nbOfDescriptor)&lt;br&gt;
        Max_Attributes_Records = 1 + 2*nbOfChar + nbOfDescriptor</Description>
    </RefParameter>
    <RefParameter Name="SERVICE1_MAX_ATTRIBUTES_RECORDS" Comment="Service max attributes record(s)" DefaultValue="0" Type="integer" TabName="Service1" Group="Service1" Visible ="false">
        <Description>Value depends of the number of characteristics with the property Notify or Indicate</Description>
    </RefParameter>

    <RefParameter Name="SERVICE2_MAX_ATTRIBUTES_RECORDS" Comment="Service max attributes record(s)" DefaultValue="=(1 + 2*SERVICE2_NUMBER_OF_CHARACTERISTICS + (IF(((SERVICE2_CHAR1_PROP_NOTIFY=CHAR_PROP_NOTIFY) | (SERVICE2_CHAR1_PROP_INDICATE=CHAR_PROP_INDICATE)), 1 ,0) + IF(SERVICE2_NUMBER_OF_CHARACTERISTICS &gt; 1 &amp; ((SERVICE2_CHAR2_PROP_NOTIFY=CHAR_PROP_NOTIFY) | (SERVICE2_CHAR2_PROP_INDICATE=CHAR_PROP_INDICATE)), 1, 0) + IF(SERVICE2_NUMBER_OF_CHARACTERISTICS &gt; 2 &amp; ((SERVICE2_CHAR3_PROP_NOTIFY=CHAR_PROP_NOTIFY) | (SERVICE2_CHAR3_PROP_INDICATE=CHAR_PROP_INDICATE)), 1, 0) + IF(SERVICE2_NUMBER_OF_CHARACTERISTICS &gt; 3 &amp; ((SERVICE2_CHAR4_PROP_NOTIFY=CHAR_PROP_NOTIFY) | (SERVICE2_CHAR4_PROP_INDICATE=CHAR_PROP_INDICATE)), 1, 0) + IF(SERVICE2_NUMBER_OF_CHARACTERISTICS &gt; 4 &amp; ((SERVICE2_CHAR5_PROP_NOTIFY=CHAR_PROP_NOTIFY) | (SERVICE2_CHAR5_PROP_INDICATE=CHAR_PROP_INDICATE)), 1, 0)) + (IF((SERVICE2_CHAR1_PROP_BROADCAST=CHAR_PROP_BROADCAST), 1 ,0) + IF(SERVICE2_NUMBER_OF_CHARACTERISTICS &gt; 1 &amp; (SERVICE2_CHAR2_PROP_BROADCAST=CHAR_PROP_BROADCAST), 1 ,0) + IF(SERVICE2_NUMBER_OF_CHARACTERISTICS &gt; 2 &amp; (SERVICE2_CHAR3_PROP_BROADCAST=CHAR_PROP_BROADCAST), 1 ,0) + IF(SERVICE2_NUMBER_OF_CHARACTERISTICS &gt; 3 &amp; (SERVICE2_CHAR4_PROP_BROADCAST=CHAR_PROP_BROADCAST), 1 ,0) + IF(SERVICE2_NUMBER_OF_CHARACTERISTICS &gt; 4 &amp; (SERVICE2_CHAR5_PROP_BROADCAST=CHAR_PROP_BROADCAST), 1 ,0)))" Type="integerReadOnly" TabName="Service2" Group="Service2">
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE &amp; (NUMBER_OF_SERVICES &gt; 1)"/>
        <Description>Value depends of the number of characteristics (nbOfChar) with the property Notify or Indicate(nbOfDescriptor)&lt;br&gt;
        Max_Attributes_Records = 1 + 2*nbOfChar + nbOfDescriptor</Description>
    </RefParameter>
    <RefParameter Name="SERVICE2_MAX_ATTRIBUTES_RECORDS" Comment="Service max attributes record(s)" DefaultValue="0" Type="integer" TabName="Service2" Group="Service2" Visible ="false">
        <Description>Value depends of the number of characteristics with the property Notify or Indicate</Description>
    </RefParameter>

    <RefParameter Name="SERVICE3_MAX_ATTRIBUTES_RECORDS" Comment="Service max attributes record(s)" DefaultValue="=(1 + 2*SERVICE3_NUMBER_OF_CHARACTERISTICS + (IF(((SERVICE3_CHAR1_PROP_NOTIFY=CHAR_PROP_NOTIFY) | (SERVICE3_CHAR1_PROP_INDICATE=CHAR_PROP_INDICATE)), 1 ,0) + IF(SERVICE3_NUMBER_OF_CHARACTERISTICS &gt; 1 &amp; ((SERVICE3_CHAR2_PROP_NOTIFY=CHAR_PROP_NOTIFY) | (SERVICE3_CHAR2_PROP_INDICATE=CHAR_PROP_INDICATE)), 1, 0) + IF(SERVICE3_NUMBER_OF_CHARACTERISTICS &gt; 2 &amp; ((SERVICE3_CHAR3_PROP_NOTIFY=CHAR_PROP_NOTIFY) | (SERVICE3_CHAR3_PROP_INDICATE=CHAR_PROP_INDICATE)), 1, 0) + IF(SERVICE3_NUMBER_OF_CHARACTERISTICS &gt; 3 &amp; ((SERVICE3_CHAR4_PROP_NOTIFY=CHAR_PROP_NOTIFY) | (SERVICE3_CHAR4_PROP_INDICATE=CHAR_PROP_INDICATE)), 1, 0) + IF(SERVICE3_NUMBER_OF_CHARACTERISTICS &gt; 4 &amp; ((SERVICE3_CHAR5_PROP_NOTIFY=CHAR_PROP_NOTIFY) | (SERVICE3_CHAR5_PROP_INDICATE=CHAR_PROP_INDICATE)), 1, 0)) + (IF((SERVICE3_CHAR1_PROP_BROADCAST=CHAR_PROP_BROADCAST), 1 ,0) + IF(SERVICE3_NUMBER_OF_CHARACTERISTICS &gt; 1 &amp; (SERVICE3_CHAR2_PROP_BROADCAST=CHAR_PROP_BROADCAST), 1 ,0) + IF(SERVICE3_NUMBER_OF_CHARACTERISTICS &gt; 2 &amp; (SERVICE3_CHAR3_PROP_BROADCAST=CHAR_PROP_BROADCAST), 1 ,0) + IF(SERVICE3_NUMBER_OF_CHARACTERISTICS &gt; 3 &amp; (SERVICE3_CHAR4_PROP_BROADCAST=CHAR_PROP_BROADCAST), 1 ,0) + IF(SERVICE3_NUMBER_OF_CHARACTERISTICS &gt; 4 &amp; (SERVICE3_CHAR5_PROP_BROADCAST=CHAR_PROP_BROADCAST), 1 ,0)))" Type="integerReadOnly" TabName="Service3" Group="Service3">
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE &amp; (NUMBER_OF_SERVICES &gt; 2)"/>
        <Description>Value depends of the number of characteristics (nbOfChar) with the property Notify or Indicate(nbOfDescriptor)&lt;br&gt;
        Max_Attributes_Records = 1 + 2*nbOfChar + nbOfDescriptor</Description>
    </RefParameter>
    <RefParameter Name="SERVICE3_MAX_ATTRIBUTES_RECORDS" Comment="Service max attributes record(s)" DefaultValue="0" Type="integer" TabName="Service3" Group="Service3" Visible ="false">
        <Description>Value depends of the number of characteristics with the property Notify or Indicate</Description>
    </RefParameter>

    <RefParameter Name="SERVICE4_MAX_ATTRIBUTES_RECORDS" Comment="Service max attributes record(s)" DefaultValue="=(1 + 2*SERVICE4_NUMBER_OF_CHARACTERISTICS + (IF(((SERVICE4_CHAR1_PROP_NOTIFY=CHAR_PROP_NOTIFY) | (SERVICE4_CHAR1_PROP_INDICATE=CHAR_PROP_INDICATE)), 1 ,0) + IF(SERVICE4_NUMBER_OF_CHARACTERISTICS &gt; 1 &amp; ((SERVICE4_CHAR2_PROP_NOTIFY=CHAR_PROP_NOTIFY) | (SERVICE4_CHAR2_PROP_INDICATE=CHAR_PROP_INDICATE)), 1, 0) + IF(SERVICE4_NUMBER_OF_CHARACTERISTICS &gt; 2 &amp; ((SERVICE4_CHAR3_PROP_NOTIFY=CHAR_PROP_NOTIFY) | (SERVICE4_CHAR3_PROP_INDICATE=CHAR_PROP_INDICATE)), 1, 0) + IF(SERVICE4_NUMBER_OF_CHARACTERISTICS &gt; 3 &amp; ((SERVICE4_CHAR4_PROP_NOTIFY=CHAR_PROP_NOTIFY) | (SERVICE4_CHAR4_PROP_INDICATE=CHAR_PROP_INDICATE)), 1, 0) + IF(SERVICE4_NUMBER_OF_CHARACTERISTICS &gt; 4 &amp; ((SERVICE4_CHAR5_PROP_NOTIFY=CHAR_PROP_NOTIFY) | (SERVICE4_CHAR5_PROP_INDICATE=CHAR_PROP_INDICATE)), 1, 0)) + (IF((SERVICE4_CHAR1_PROP_BROADCAST=CHAR_PROP_BROADCAST), 1 ,0) + IF(SERVICE4_NUMBER_OF_CHARACTERISTICS &gt; 1 &amp; (SERVICE4_CHAR2_PROP_BROADCAST=CHAR_PROP_BROADCAST), 1 ,0) + IF(SERVICE4_NUMBER_OF_CHARACTERISTICS &gt; 2 &amp; (SERVICE4_CHAR3_PROP_BROADCAST=CHAR_PROP_BROADCAST), 1 ,0) + IF(SERVICE4_NUMBER_OF_CHARACTERISTICS &gt; 3 &amp; (SERVICE4_CHAR4_PROP_BROADCAST=CHAR_PROP_BROADCAST), 1 ,0) + IF(SERVICE4_NUMBER_OF_CHARACTERISTICS &gt; 4 &amp; (SERVICE4_CHAR5_PROP_BROADCAST=CHAR_PROP_BROADCAST), 1 ,0)))" Type="integerReadOnly" TabName="Service4" Group="Service4">
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE &amp; (NUMBER_OF_SERVICES &gt; 3)"/>
        <Description>Value depends of the number of characteristics (nbOfChar) with the property Notify or Indicate(nbOfDescriptor)&lt;br&gt;
        Max_Attributes_Records = 1 + 2*nbOfChar + nbOfDescriptor</Description>
    </RefParameter>
    <RefParameter Name="SERVICE4_MAX_ATTRIBUTES_RECORDS" Comment="Service max attributes record(s)" DefaultValue="0" Type="integer" TabName="Service4" Group="Service4" Visible ="false">
        <Description>Value depends of the number of characteristics with the property Notify or Indicate</Description>
    </RefParameter>

    <RefParameter Name="SERVICE5_MAX_ATTRIBUTES_RECORDS" Comment="Service max attributes record(s)" DefaultValue="=(1 + 2*SERVICE5_NUMBER_OF_CHARACTERISTICS + (IF(((SERVICE5_CHAR1_PROP_NOTIFY=CHAR_PROP_NOTIFY) | (SERVICE5_CHAR1_PROP_INDICATE=CHAR_PROP_INDICATE)), 1 ,0) + IF(SERVICE5_NUMBER_OF_CHARACTERISTICS &gt; 1 &amp; ((SERVICE5_CHAR2_PROP_NOTIFY=CHAR_PROP_NOTIFY) | (SERVICE5_CHAR2_PROP_INDICATE=CHAR_PROP_INDICATE)), 1, 0) + IF(SERVICE5_NUMBER_OF_CHARACTERISTICS &gt; 2 &amp; ((SERVICE5_CHAR3_PROP_NOTIFY=CHAR_PROP_NOTIFY) | (SERVICE5_CHAR3_PROP_INDICATE=CHAR_PROP_INDICATE)), 1, 0) + IF(SERVICE5_NUMBER_OF_CHARACTERISTICS &gt; 3 &amp; ((SERVICE5_CHAR4_PROP_NOTIFY=CHAR_PROP_NOTIFY) | (SERVICE5_CHAR4_PROP_INDICATE=CHAR_PROP_INDICATE)), 1, 0) + IF(SERVICE5_NUMBER_OF_CHARACTERISTICS &gt; 4 &amp; ((SERVICE5_CHAR5_PROP_NOTIFY=CHAR_PROP_NOTIFY) | (SERVICE5_CHAR5_PROP_INDICATE=CHAR_PROP_INDICATE)), 1, 0)) + (IF((SERVICE5_CHAR1_PROP_BROADCAST=CHAR_PROP_BROADCAST), 1 ,0) + IF(SERVICE5_NUMBER_OF_CHARACTERISTICS &gt; 1 &amp; (SERVICE5_CHAR2_PROP_BROADCAST=CHAR_PROP_BROADCAST), 1 ,0) + IF(SERVICE5_NUMBER_OF_CHARACTERISTICS &gt; 2 &amp; (SERVICE5_CHAR3_PROP_BROADCAST=CHAR_PROP_BROADCAST), 1 ,0) + IF(SERVICE5_NUMBER_OF_CHARACTERISTICS &gt; 3 &amp; (SERVICE5_CHAR4_PROP_BROADCAST=CHAR_PROP_BROADCAST), 1 ,0) + IF(SERVICE5_NUMBER_OF_CHARACTERISTICS &gt; 4 &amp; (SERVICE5_CHAR5_PROP_BROADCAST=CHAR_PROP_BROADCAST), 1 ,0)))" Type="integerReadOnly" TabName="Service5" Group="Service5">
        <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE &amp; (NUMBER_OF_SERVICES &gt; 4)"/>
        <Description>Value depends of the number of characteristics (nbOfChar) with the property Notify or Indicate(nbOfDescriptor)&lt;br&gt;
        Max_Attributes_Records = 1 + 2*nbOfChar + nbOfDescriptor</Description>
    </RefParameter>
    <RefParameter Name="SERVICE5_MAX_ATTRIBUTES_RECORDS" Comment="Service max attributes record(s)" DefaultValue="0" Type="integer" TabName="Service5" Group="Service5" Visible ="false">
        <Description>Value depends of the number of characteristics with the property Notify or Indicate</Description>
    </RefParameter>

    <RefParameter Name="SERVICE_CHAR_ENC_KEY_SIZE" Comment="Encryption Key Size" DefaultValue="0x10" Type="hex" Min="0x07" Max ="0x10">
        <Description></Description>
    </RefParameter>
    
    <RefParameter Name="SERVICE_CHAR_LENGTH_CHARACTERISTIC" Comment="Length characteristic" DefaultValue="CHAR_VALUE_LEN_CONSTANT" Type="list">
        <Description>Type of characteristic length in ble_defs.h. can be either CHAR_VALUE_LEN_CONSTANT(0x00) or CHAR_VALUE_LEN_VARIABLE(0x01)</Description>
        <PossibleValue Value="CHAR_VALUE_LEN_VARIABLE" Comment="Variable"/>
        <PossibleValue Value="CHAR_VALUE_LEN_CONSTANT" Comment="Constant"/>
    </RefParameter>

    <!-- GATT end -->

    <RefParameter Name="LPUART1baudrate" DefaultValue="+LPUART1:BaudRate" Comment="" Type="string" Visible="false">
        <Condition Diagnostic="BaudRate from LPUART1" Expression="Semaphore_CFG_HW_LPUART1_ENABLED"/>
    </RefParameter>
    <RefParameter Name="LPUART1baudrate" DefaultValue="" Comment="" Type="string" Visible="false"/>
    <RefParameter Name="LPUART1wordlength" DefaultValue="+LPUART1:WordLength" Comment="" Type="string" Visible="false">
        <Condition Diagnostic="WordLength from LPUART1" Expression="Semaphore_CFG_HW_LPUART1_ENABLED"/>
    </RefParameter>
    <RefParameter Name="LPUART1wordlength" DefaultValue="" Comment="" Type="string" Visible="false"/>
    <RefParameter Name="LPUART1stopbits" DefaultValue="+LPUART1:StopBits" Comment="" Type="string" Visible="false">
        <Condition Diagnostic="StopBits from LPUART1" Expression="Semaphore_CFG_HW_LPUART1_ENABLED"/>
    </RefParameter>
    <RefParameter Name="LPUART1stopbits" DefaultValue="" Comment="" Type="string" Visible="false"/>
    <RefParameter Name="LPUART1parity" DefaultValue="+LPUART1:Parity" Comment="" Type="string" Visible="false">
        <Condition Diagnostic="Parity from LPUART1" Expression="Semaphore_CFG_HW_LPUART1_ENABLED"/>
    </RefParameter>
    <RefParameter Name="LPUART1parity" DefaultValue="" Comment="" Type="string" Visible="false"/>
    <RefParameter Name="LPUART1hwflowctl" DefaultValue="+LPUART1:HwFlowCtl" Comment="" Type="string" Visible="false">
        <Condition Diagnostic="HwFlowCtl from LPUART1" Expression="Semaphore_CFG_HW_LPUART1_ENABLED"/>
    </RefParameter>
    <RefParameter Name="LPUART1hwflowctl" DefaultValue="" Comment="" Type="string" Visible="false"/>
    <RefParameter Name="LPUART1mode" DefaultValue="+LPUART1:Mode" Comment="" Type="string" Visible="false">
        <Condition Diagnostic="Mode from LPUART1" Expression="Semaphore_CFG_HW_LPUART1_ENABLED"/>
    </RefParameter>
    <RefParameter Name="LPUART1mode" DefaultValue="" Comment="" Type="string" Visible="false"/>
    <RefParameter Name="LPUART1advfeatureinit" DefaultValue="+LPUART1:AdvFeatureInit" Comment="" Type="string" Visible="false">
        <Condition Diagnostic="AdvFeatureInit from LPUART1" Expression="Semaphore_CFG_HW_LPUART1_ENABLED"/>
    </RefParameter>
    <RefParameter Name="LPUART1advfeatureinit" DefaultValue="" Comment="" Type="string" Visible="false"/>

    <RefParameter Name="LPUART1_TX_PIN" DefaultValue="P_A_2_AF_8" Type="string" Comment="TX for LPUART1 on PA2,AF8" Visible="false">
        <Condition Diagnostic="TX for LPUART1 on PA2" Expression="PA2_LPUART1_TX"/>
    </RefParameter>
    <RefParameter Name="LPUART1_TX_PIN" DefaultValue="P_B_5_AF_8" Type="string" Comment="TX for LPUART1 on PB5,AF8" Visible="false">
        <Condition Diagnostic="TX for LPUART1 on PB5" Expression="PB5_LPUART1_TX"/>
    </RefParameter>
    <RefParameter Name="LPUART1_TX_PIN" DefaultValue="P_B_11_AF_8" Type="string" Comment="TX for LPUART1 on PB11,AF8" Visible="false">
        <Condition Diagnostic="TX for LPUART1 on PB11" Expression="PB11_LPUART1_TX"/>
    </RefParameter>
    <RefParameter Name="LPUART1_TX_PIN" DefaultValue="P_C_1_AF_8" Type="string" Comment="TX for LPUART1 on PC1,AF8" Visible="false">
        <Condition Diagnostic="TX for LPUART1 on PC1" Expression="PC1_LPUART1_TX"/>
    </RefParameter>
    <RefParameter Name="LPUART1_TX_PIN" DefaultValue="" Type="string" Comment="No TX for LPUART1" Visible="false"/>

    <RefParameter Name="LPUART1_RX_PIN" DefaultValue="P_A_3_AF_8" Type="string" Comment="RX for LPUART1 on PA3,AF8" Visible="false">
        <Condition Diagnostic="RX for LPUART1 on PA3" Expression="PA3_LPUART1_RX"/>
    </RefParameter>
    <RefParameter Name="LPUART1_RX_PIN" DefaultValue="P_A_12_AF_8" Type="string" Comment="RX for LPUART1 on PA12,AF8" Visible="false">
        <Condition Diagnostic="RX for LPUART1 on PA12" Expression="PA12_LPUART1_RX"/>
    </RefParameter>
    <RefParameter Name="LPUART1_RX_PIN" DefaultValue="P_B_10_AF_8" Type="string" Comment="RX for LPUART1 on PB10,AF8" Visible="false">
        <Condition Diagnostic="RX for LPUART1 on PB10" Expression="PB10_LPUART1_RX"/>
    </RefParameter>
    <RefParameter Name="LPUART1_RX_PIN" DefaultValue="P_C_0_AF_8" Type="string" Comment="RX for LPUART1 on PC0,AF8" Visible="false">
        <Condition Diagnostic="RX for LPUART1 on PC0" Expression="PC0_LPUART1_RX"/>
    </RefParameter>
    <RefParameter Name="LPUART1_RX_PIN" DefaultValue="" Type="string" Comment="No RX for LPUART1" Visible="false"/>

    <RefParameter Name="LPUART1_CTS_PIN" DefaultValue="P_A_6_AF_8" Type="string" Comment="CTS for LPUART1 on PA6,AF8" Visible="false">
        <Condition Diagnostic="CTS for LPUART1 on PA6" Expression="PA6_LPUART1_CTS"/>
    </RefParameter>
    <RefParameter Name="LPUART1_CTS_PIN" DefaultValue="P_B_13_AF_8" Type="string" Comment="CTS for LPUART1 on PB13,AF8" Visible="false">
        <Condition Diagnostic="CTS for LPUART1 on PB13" Expression="PB13_LPUART1_CTS"/>
    </RefParameter>
    <RefParameter Name="LPUART1_CTS_PIN" DefaultValue="" Type="string" Comment="No CTS for LPUART1" Visible="false"/>

    <RefParameter Name="LPUART1_TX_DMA_CHANNEL" DefaultValue="LPUART1_TX_DMA1_Channel_1" Type="string" Comment="DMA Request for LPUART1_TX" Visible="false">
        <Condition Diagnostic="DMA1_Channel1 used by LPUART1_TX" Expression="LPUART1_TX_DMA1_Channel1"/>
    </RefParameter>
    <RefParameter Name="LPUART1_TX_DMA_CHANNEL" DefaultValue="LPUART1_TX_DMA1_Channel_2" Type="string" Comment="DMA Request for LPUART1_TX" Visible="false">
        <Condition Diagnostic="DMA1_Channel2 used by LPUART1_TX" Expression="LPUART1_TX_DMA1_Channel2"/>
    </RefParameter>
    <RefParameter Name="LPUART1_TX_DMA_CHANNEL" DefaultValue="LPUART1_TX_DMA1_Channel_3" Type="string" Comment="DMA Request for LPUART1_TX" Visible="false">
        <Condition Diagnostic="DMA1_Channel3 used by LPUART1_TX" Expression="LPUART1_TX_DMA1_Channel3"/>
    </RefParameter>
    <RefParameter Name="LPUART1_TX_DMA_CHANNEL" DefaultValue="LPUART1_TX_DMA1_Channel_4" Type="string" Comment="DMA Request for LPUART1_TX" Visible="false">
        <Condition Diagnostic="DMA1_Channel4 used by LPUART1_TX" Expression="LPUART1_TX_DMA1_Channel4"/>
    </RefParameter>
    <RefParameter Name="LPUART1_TX_DMA_CHANNEL" DefaultValue="LPUART1_TX_DMA1_Channel_5" Type="string" Comment="DMA Request for LPUART1_TX" Visible="false">
        <Condition Diagnostic="DMA1_Channel5 used by LPUART1_TX" Expression="LPUART1_TX_DMA1_Channel5"/>
    </RefParameter>
    <RefParameter Name="LPUART1_TX_DMA_CHANNEL" DefaultValue="LPUART1_TX_DMA1_Channel_6" Type="string" Comment="DMA Request for LPUART1_TX" Visible="false">
        <Condition Diagnostic="DMA1_Channel6 used by LPUART1_TX" Expression="LPUART1_TX_DMA1_Channel6"/>
    </RefParameter>
    <RefParameter Name="LPUART1_TX_DMA_CHANNEL" DefaultValue="LPUART1_TX_DMA1_Channel_7" Type="string" Comment="DMA Request for LPUART1_TX" Visible="false">
        <Condition Diagnostic="DMA1_Channel7 used by LPUART1_TX" Expression="LPUART1_TX_DMA1_Channel7"/>
    </RefParameter>
    <RefParameter Name="LPUART1_TX_DMA_CHANNEL" DefaultValue="LPUART1_TX_DMA2_Channel_1" Type="string" Comment="DMA Request for LPUART1_TX" Visible="false">
        <Condition Diagnostic="DMA2_Channel1 used by LPUART1_TX" Expression="LPUART1_TX_DMA2_Channel1"/>
    </RefParameter>
    <RefParameter Name="LPUART1_TX_DMA_CHANNEL" DefaultValue="LPUART1_TX_DMA2_Channel_2" Type="string" Comment="DMA Request for LPUART1_TX" Visible="false">
        <Condition Diagnostic="DMA2_Channel2 used by LPUART1_TX" Expression="LPUART1_TX_DMA2_Channel2"/>
    </RefParameter>
    <RefParameter Name="LPUART1_TX_DMA_CHANNEL" DefaultValue="LPUART1_TX_DMA2_Channel_3" Type="string" Comment="DMA Request for LPUART1_TX" Visible="false">
        <Condition Diagnostic="DMA2_Channel3 used by LPUART1_TX" Expression="LPUART1_TX_DMA2_Channel3"/>
    </RefParameter>
    <RefParameter Name="LPUART1_TX_DMA_CHANNEL" DefaultValue="LPUART1_TX_DMA2_Channel_4" Type="string" Comment="DMA Request for LPUART1_TX" Visible="false">
        <Condition Diagnostic="DMA2_Channel4 used by LPUART1_TX" Expression="LPUART1_TX_DMA2_Channel4"/>
    </RefParameter>
    <RefParameter Name="LPUART1_TX_DMA_CHANNEL" DefaultValue="LPUART1_TX_DMA2_Channel_5" Type="string" Comment="DMA Request for LPUART1_TX" Visible="false">
        <Condition Diagnostic="DMA2_Channel5 used by LPUART1_TX" Expression="LPUART1_TX_DMA2_Channel5"/>
    </RefParameter>
    <RefParameter Name="LPUART1_TX_DMA_CHANNEL" DefaultValue="LPUART1_TX_DMA2_Channel_6" Type="string" Comment="DMA Request for LPUART1_TX" Visible="false">
        <Condition Diagnostic="DMA2_Channel6 used by LPUART1_TX" Expression="LPUART1_TX_DMA2_Channel6"/>
    </RefParameter>
    <RefParameter Name="LPUART1_TX_DMA_CHANNEL" DefaultValue="LPUART1_TX_DMA2_Channel_7" Type="string" Comment="DMA Request for LPUART1_TX" Visible="false">
        <Condition Diagnostic="DMA2_Channel7 used by LPUART1_TX" Expression="LPUART1_TX_DMA2_Channel7"/>
    </RefParameter>
    <RefParameter Name="LPUART1_TX_DMA_CHANNEL" DefaultValue="" Type="string" Comment="No DMA Request for LPUART1_TX" Visible="false"/>


    <RefParameter Name="USART1baudrate" DefaultValue="+USART1:BaudRate" Comment="" Type="string" Visible="false">
        <Condition Diagnostic="BaudRate from USART1" Expression="Semaphore_CFG_HW_USART1_ENABLED"/>
    </RefParameter>
    <RefParameter Name="USART1baudrate" DefaultValue="" Comment="" Type="string" Visible="false"/>
    
    <RefParameter Name="USART1wordlength" DefaultValue="+USART1:WordLength" Comment="" Type="string" Visible="false">
        <Condition Diagnostic="WordLength from USART1" Expression="Semaphore_CFG_HW_USART1_ENABLED"/>
    </RefParameter>
    <RefParameter Name="USART1wordlength" DefaultValue="" Comment="" Type="string" Visible="false"/>
    
    <RefParameter Name="USART1stopbits" DefaultValue="+USART1:StopBits" Comment="" Type="string" Visible="false">
        <Condition Diagnostic="StopBits from USART1" Expression="Semaphore_CFG_HW_USART1_ENABLED"/>
    </RefParameter>
    <RefParameter Name="USART1stopbits" DefaultValue="" Comment="" Type="string" Visible="false"/>
    
    <RefParameter Name="USART1parity" DefaultValue="+USART1:Parity" Comment="" Type="string" Visible="false">
        <Condition Diagnostic="Parity from USART1" Expression="Semaphore_CFG_HW_USART1_ENABLED"/>
    </RefParameter>
    <RefParameter Name="USART1parity" DefaultValue="" Comment="" Type="string" Visible="false"/>
    
    <RefParameter Name="USART1hwflowctl" DefaultValue="+USART1:HwFlowCtl" Comment="" Type="string" Visible="false">
        <Condition Diagnostic="HwFlowCtl from USART1" Expression="Semaphore_CFG_HW_USART1_ENABLED"/>
    </RefParameter>
    <RefParameter Name="USART1hwflowctl" DefaultValue="" Comment="" Type="string" Visible="false"/>
    
    <RefParameter Name="USART1mode" DefaultValue="+USART1:Mode" Comment="" Type="string" Visible="false">
        <Condition Diagnostic="Mode from USART1" Expression="Semaphore_CFG_HW_USART1_ENABLED"/>
    </RefParameter>
    <RefParameter Name="USART1mode" DefaultValue="" Comment="" Type="string" Visible="false"/>
    
    <RefParameter Name="USART1advfeatureinit" DefaultValue="+USART1:AdvFeatureInit" Comment="" Type="string" Visible="false">
        <Condition Diagnostic="AdvFeatureInit from USART1" Expression="Semaphore_CFG_HW_USART1_ENABLED"/>
    </RefParameter>
    <RefParameter Name="USART1advfeatureinit" DefaultValue="" Comment="" Type="string" Visible="false"/>
    
    <RefParameter Name="USART1oversampling" DefaultValue="+USART1:OverSampling" Comment="" Type="string" Visible="false">
        <Condition Diagnostic="OverSampling from USART1" Expression="Semaphore_CFG_HW_USART1_ENABLED"/>
    </RefParameter>
    <RefParameter Name="USART1oversampling" DefaultValue="" Comment="" Type="string" Visible="false"/>

    <RefParameter Name="USART1_TX_PIN" DefaultValue="P_A_9_AF_7" Type="string" Comment="TX for USART1 on PA9,AF7" Visible="false">
        <Condition Diagnostic="TX for USART1 on PA9" Expression="PA9_USART1_TX"/>
    </RefParameter>
    <RefParameter Name="USART1_TX_PIN" DefaultValue="P_B_6_AF_7" Type="string" Comment="TX for USART1 on PB6,AF7" Visible="false">
        <Condition Diagnostic="TX for USART1 on PB6" Expression="PB6_USART1_TX"/>
    </RefParameter>
    <RefParameter Name="USART1_TX_PIN" DefaultValue="" Type="string" Comment="No TX for USART1" Visible="false"/>

    <RefParameter Name="USART1_RX_PIN" DefaultValue="P_A_10_AF_7" Type="string" Comment="RX for USART1 on PA10,AF7" Visible="false">
        <Condition Diagnostic="RX for USART1 on PA10" Expression="PA10_USART1_RX"/>
    </RefParameter>
    <RefParameter Name="USART1_RX_PIN" DefaultValue="P_B_7_AF_7" Type="string" Comment="RX for USART1 on PB7,AF7" Visible="false">
        <Condition Diagnostic="RX for USART1 on PB7" Expression="PB7_USART1_RX"/>
    </RefParameter>
    <RefParameter Name="USART1_RX_PIN" DefaultValue="" Type="string" Comment="No RX for USART1" Visible="false"/>

    <RefParameter Name="USART1_CTS_PIN" DefaultValue="P_A_11_AF_7" Type="string" Comment="CTS for USART1 on PA11,AF7" Visible="false">
        <Condition Diagnostic="CTS for USART1 on PA11" Expression="PA11_USART1_CTS"/>
    </RefParameter>
    <RefParameter Name="USART1_CTS_PIN" DefaultValue="P_B_4_AF_7" Type="string" Comment="CTS for USART1 on PB4,AF7" Visible="false">
        <Condition Diagnostic="CTS for USART1 on PB4" Expression="PB4_USART1_CTS"/>
    </RefParameter>
    <RefParameter Name="USART1_CTS_PIN" DefaultValue="" Type="string" Comment="No CTS for USART1" Visible="false" />

    <RefParameter Name="USART1_TX_DMA_CHANNEL" DefaultValue="USART1_TX_DMA1_Channel_1" Type="string" Comment="DMA Request for USART1_TX" Visible="false">
        <Condition Diagnostic="DMA1_Channel1 used by USART1_TX" Expression="USART1_TX_DMA1_Channel1"/>
    </RefParameter>
    <RefParameter Name="USART1_TX_DMA_CHANNEL" DefaultValue="USART1_TX_DMA1_Channel_2" Type="string" Comment="DMA Request for USART1_TX" Visible="false">
        <Condition Diagnostic="DMA1_Channel2 used by USART1_TX" Expression="USART1_TX_DMA1_Channel2"/>
    </RefParameter>
    <RefParameter Name="USART1_TX_DMA_CHANNEL" DefaultValue="USART1_TX_DMA1_Channel_3" Type="string" Comment="DMA Request for USART1_TX" Visible="false">
        <Condition Diagnostic="DMA1_Channel3 used by USART1_TX" Expression="USART1_TX_DMA1_Channel3"/>
    </RefParameter>
    <RefParameter Name="USART1_TX_DMA_CHANNEL" DefaultValue="USART1_TX_DMA1_Channel_4" Type="string" Comment="DMA Request for USART1_TX" Visible="false">
        <Condition Diagnostic="DMA1_Channel4 used by USART1_TX" Expression="USART1_TX_DMA1_Channel4"/>
    </RefParameter>
    <RefParameter Name="USART1_TX_DMA_CHANNEL" DefaultValue="USART1_TX_DMA1_Channel_5" Type="string" Comment="DMA Request for USART1_TX" Visible="false">
        <Condition Diagnostic="DMA1_Channel5 used by USART1_TX" Expression="USART1_TX_DMA1_Channel5"/>
    </RefParameter>
    <RefParameter Name="USART1_TX_DMA_CHANNEL" DefaultValue="USART1_TX_DMA1_Channel_6" Type="string" Comment="DMA Request for USART1_TX" Visible="false">
        <Condition Diagnostic="DMA1_Channel6 used by USART1_TX" Expression="USART1_TX_DMA1_Channel6"/>
    </RefParameter>
    <RefParameter Name="USART1_TX_DMA_CHANNEL" DefaultValue="USART1_TX_DMA1_Channel_7" Type="string" Comment="DMA Request for USART1_TX" Visible="false">
        <Condition Diagnostic="DMA1_Channel7 used by USART1_TX" Expression="USART1_TX_DMA1_Channel7"/>
    </RefParameter>
    <RefParameter Name="USART1_TX_DMA_CHANNEL" DefaultValue="USART1_TX_DMA2_Channel_1" Type="string" Comment="DMA Request for USART1_TX" Visible="false">
        <Condition Diagnostic="DMA2_Channel1 used by USART1_TX" Expression="USART1_TX_DMA2_Channel1"/>
    </RefParameter>
    <RefParameter Name="USART1_TX_DMA_CHANNEL" DefaultValue="USART1_TX_DMA2_Channel_2" Type="string" Comment="DMA Request for USART1_TX" Visible="false">
        <Condition Diagnostic="DMA2_Channel2 used by USART1_TX" Expression="USART1_TX_DMA2_Channel2"/>
    </RefParameter>
    <RefParameter Name="USART1_TX_DMA_CHANNEL" DefaultValue="USART1_TX_DMA2_Channel_3" Type="string" Comment="DMA Request for USART1_TX" Visible="false">
        <Condition Diagnostic="DMA2_Channel3 used by USART1_TX" Expression="USART1_TX_DMA2_Channel3"/>
    </RefParameter>
    <RefParameter Name="USART1_TX_DMA_CHANNEL" DefaultValue="USART1_TX_DMA2_Channel_4" Type="string" Comment="DMA Request for USART1_TX" Visible="false">
        <Condition Diagnostic="DMA2_Channel4 used by USART1_TX" Expression="USART1_TX_DMA2_Channel4"/>
    </RefParameter>
    <RefParameter Name="USART1_TX_DMA_CHANNEL" DefaultValue="USART1_TX_DMA2_Channel_5" Type="string" Comment="DMA Request for USART1_TX" Visible="false">
        <Condition Diagnostic="DMA2_Channel5 used by USART1_TX" Expression="USART1_TX_DMA2_Channel5"/>
    </RefParameter>
    <RefParameter Name="USART1_TX_DMA_CHANNEL" DefaultValue="USART1_TX_DMA2_Channel_6" Type="string" Comment="DMA Request for USART1_TX" Visible="false">
        <Condition Diagnostic="DMA2_Channel6 used by USART1_TX" Expression="USART1_TX_DMA2_Channel6"/>
    </RefParameter>
    <RefParameter Name="USART1_TX_DMA_CHANNEL" DefaultValue="USART1_TX_DMA2_Channel_7" Type="string" Comment="DMA Request for USART1_TX" Visible="false">
        <Condition Diagnostic="DMA2_Channel7 used by USART1_TX" Expression="USART1_TX_DMA2_Channel7"/>
    </RefParameter>
    <RefParameter Name="USART1_TX_DMA_CHANNEL" DefaultValue="" Type="string" Comment="No DMA Request for USART1_TX" Visible="false"/>
	<!-- #define to be generated in hw_conf.h - End -->

    <!-- THREAD Application and Services - Begin -->
    <RefParameter Name="THREAD" Comment="THREAD" DefaultValue="Enabled" Type="list" Group="THREAD application type" TabName="THREAD Applications and Services" Visible="false">
        <Description></Description>
        <Condition Diagnostic="" Expression="S_THREAD"/>
		<PossibleValue Value="Enabled" Comment="Enabled" Semaphore="Semaphore_THREAD"/>
    </RefParameter>
    <RefParameter Name="THREAD" Comment="THREAD " DefaultValue="Disabled" Type="list" Group="THREAD application type" TabName="THREAD Applications and Services" Visible="false">
        <Description></Description>
        <Condition Diagnostic="" Expression="!S_THREAD"/>
		<PossibleValue Value="Disabled" Comment="Disabled"/>
    </RefParameter>

    <RefParameter Name="THREAD_APPLICATION" Comment="Thread Application" DefaultValue="FTD_CLI" Type="list" Group="THREAD application type" TabName="THREAD Applications and Services" Visible="true">
        <Condition Diagnostic="" Expression="S_THREAD"/>
        <Description>List of applications types, can be:&lt;br&gt; - Full Thread Device with Command Line Interface(FTD_CLI)&lt;br&gt; - Thread_Coap_GenericFull Thread Device with network configuration(FTD)&lt;br&gt; - Minimal Thread Device with network configuration(MTD)</Description>
        <PossibleValue Value="FTD_CLI" Comment="Full Thread Device with Command Line Interface" Semaphore="Semaphore_FTD_CLI"/>
        <PossibleValue Value="FTD" Comment="Full Thread Device with network configuration" Semaphore="Semaphore_FTD"/>
        <PossibleValue Value="MTD" Comment="Minimal Thread Device with network configuration" Semaphore="Semaphore_MTD"/>
<!--
        <PossibleValue Value="Thread_Cli_Cmd" Comment="Thread_Cli_Cmd" Semaphore="Semaphore_Thread_Cli_Cmd"/>
        <PossibleValue Value="Thread_Coap_Generic" Comment="Thread_Coap_Generic" Semaphore="Semaphore_Thread_Coap_Generic"/>
-->
    </RefParameter>
    <RefParameter Name="THREAD_APPLICATION" Comment="Thread Application" DefaultValue="" Type="String" Group="THREAD application type" TabName="THREAD Applications and Services" Visible="false">
    </RefParameter>

    <RefParameter Name="PANID" Comment="PANID" ArraySize="1" ArrayTypeElement="uint16_t;16" DefaultValue="0000" Type="Array" TabName="THREAD Applications and Services" Group="Parameters" Visible="true">
		<Condition Diagnostic="" Expression="S_THREAD &amp; (Semaphore_FTD | Semaphore_MTD)"/>
		<Description>Personal Area Network Identifier (PAN ID): an unsigned 16-bit value that specifies the PAN ID.&lt;br&gt;&lt;br&gt;
&lt;font color=&quot;red&quot;&gt;&lt;b&gt;WARNING!: &lt;/b&gt;&lt;/font&gt;The PAN ID MUST be different from 0xFFFF value which is reserved for broadcast PAN ID&lt;br&gt;&lt;br&gt;
&lt;b&gt;Value range : &lt;/b&gt;0x0 to 0xFFFE</Description>
	</RefParameter>
	<RefParameter Name="PANID" Comment="PANID" DefaultValue="0" Type="list" TabName="THREAD Applications and Services" Group="Parameters" Visible="false">
		<Description></Description>
	</RefParameter>

    <RefParameter Name="CHANNEL" Comment="CHANNEL" DefaultValue="11" Min="11" Max="26" Type="Integer" TabName="THREAD Applications and Services" Group="Parameters" Visible="true">
		<Condition Diagnostic="" Expression="S_THREAD &amp; (Semaphore_FTD | Semaphore_MTD)"/>
		<Description>2.4 GHz channel as defined in Section 6.1.2.1 of [IEEE802154]</Description>
	</RefParameter>
	<RefParameter Name="CHANNEL" Comment="CHANNEL" DefaultValue="0" Type="list" TabName="THREAD Applications and Services" Group="Parameters" Visible="false">
		<Description></Description>
	</RefParameter>

<!--
    <RefParameter Name="APP_DBG_EN" Comment="APP_DBG_EN" DefaultValue="0" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
		<Condition Diagnostic="" Expression="S_THREAD"/>
        <PossibleValue Value="0" Comment="Disabled"/>
		<PossibleValue Value="1" Comment="Enabled"/>
		<Description>Enable or Disable traces in application</Description>
	</RefParameter>
	<RefParameter Name="APP_DBG_EN" Comment="APP_DBG_EN" DefaultValue="0" Type="list" Group="Utilities configuration" TabName="Settings" Visible="false">
		<Description>Enable or Disable traces in application</Description>
	</RefParameter>
-->

    <RefParameter Name="APPLI_CONFIG_LOG_LEVEL" Comment="APPLI_CONFIG_LOG_LEVEL" DefaultValue="LOG_LEVEL_INFO" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
		<Condition Diagnostic="" Expression="S_THREAD | S_ZIGBEE"/>
        <PossibleValue Value="LOG_LEVEL_NONE" Comment="LOG_LEVEL_NONE" Semaphore="Semaphore_LOG_LEVEL_NONE"/>
        <PossibleValue Value="LOG_LEVEL_CRIT" Comment="LOG_LEVEL_CRIT" Semaphore="Semaphore_LOG_LEVEL_CRIT"/>
        <PossibleValue Value="LOG_LEVEL_WARN" Comment="LOG_LEVEL_WARN" Semaphore="Semaphore_LOG_LEVEL_WARN"/>
        <PossibleValue Value="LOG_LEVEL_INFO" Comment="LOG_LEVEL_INFO" Semaphore="Semaphore_LOG_LEVEL_INFO"/>
        <PossibleValue Value="LOG_LEVEL_DEBG" Comment="LOG_LEVEL_DEBG" Semaphore="Semaphore_LOG_LEVEL_DEBG"/>
        <Description>List of Log level for Application, can be:&lt;br&gt; - LOG_LEVEL_NONE (None)&lt;br&gt; - LOG_LEVEL_CRIT (Critical)&lt;br&gt; - LOG_LEVEL_WARN (Warning)&lt;br&gt; - LOG_LEVEL_INFO (Info)&lt;br&gt; - LOG_LEVEL_DEBG (Debug) </Description>
    </RefParameter>
	<RefParameter Name="APPLI_CONFIG_LOG_LEVEL" Comment="APPLI_CONFIG_LOG_LEVEL" DefaultValue="" Type="String" Group="Utilities configuration" TabName="Settings" Visible="false">
        <Description>List of Log level for Application, can be:&lt;br&gt; - LOG_LEVEL_NONE (None)&lt;br&gt; - LOG_LEVEL_CRIT (Critical)&lt;br&gt; - LOG_LEVEL_WARN (Warning)&lt;br&gt; - LOG_LEVEL_INFO (Info)&lt;br&gt; - LOG_LEVEL_DEBG (Debug) </Description>
	</RefParameter>
    
	<RefParameter Name="APPLI_PRINT_FILE_FUNC_LINE" Comment="APPLI_PRINT_FILE_FUNC_LINEs" DefaultValue="0" Type="list" TabName="Configuration" Group="Application parameters" Visible="true">
		<Condition Diagnostic="" Expression="S_THREAD | S_ZIGBEE"/>
		<PossibleValue Value="0" Comment="0"/>
		<PossibleValue Value="1" Comment="1"/>
		<Description></Description>
	</RefParameter>
	<RefParameter Name="APPLI_PRINT_FILE_FUNC_LINE" Comment="APPLI_PRINT_FILE_FUNC_LINE" DefaultValue="0" Type="list" Group="Utilities configuration" TabName="Settings" Visible="false">
	</RefParameter>

	<RefParameter Name="CFG_TL_EVT_QUEUE_LENGTH" Comment="CFG_TL_EVT_QUEUE_LENGTH" DefaultValue="5" Type="integer" TabName="Configuration" Group="Application parameters" Visible="true">
		<Condition Diagnostic="" Expression="S_THREAD | S_ZIGBEE"/>
		<Description>Queue length of BLE Event&lt;br&gt;This parameter defines the number of asynchronous events that can be stored in the HCI layer before&lt;br&gt;being reported to the application. When a command is sent to the BLE core coprocessor, the HCI layer&lt;br&gt;is waiting for the event with the Num_HCI_Command_Packets set to 1. The receive queue shall be large&lt;br&gt;enough to store all asynchronous events received in between.&lt;br&gt;When CFG_TL_MOST_EVENT_PAYLOAD_SIZE is set to 27, this allow to store three 255 bytes long asynchronous events&lt;br&gt;between the HCI command and its event.&lt;br&gt;This parameter depends on the value given to CFG_TL_MOST_EVENT_PAYLOAD_SIZE. When the queue size is to small,&lt;br&gt;the system may hang if the queue is full with asynchronous events and the HCI layer is still waiting&lt;br&gt;for a CC/CS event, In that case, the notification TL_BLE_HCI_ToNot() is called to indicate&lt;br&gt;to the application a HCI command did not receive its command event within 30s (Default HCI Timeout).&lt;br&gt;</Description>
	</RefParameter>
	<RefParameter Name="CFG_TL_EVT_QUEUE_LENGTH" Comment="CFG_TL_EVT_QUEUE_LENGTH" DefaultValue="" Type="String" Group="Utilities configuration" TabName="Settings" Visible="false">
		<Description>Queue length of BLE Event&lt;br&gt;This parameter defines the number of asynchronous events that can be stored in the HCI layer before&lt;br&gt;being reported to the application. When a command is sent to the BLE core coprocessor, the HCI layer&lt;br&gt;is waiting for the event with the Num_HCI_Command_Packets set to 1. The receive queue shall be large&lt;br&gt;enough to store all asynchronous events received in between.&lt;br&gt;When CFG_TL_MOST_EVENT_PAYLOAD_SIZE is set to 27, this allow to store three 255 bytes long asynchronous events&lt;br&gt;between the HCI command and its event.&lt;br&gt;This parameter depends on the value given to CFG_TL_MOST_EVENT_PAYLOAD_SIZE. When the queue size is to small,&lt;br&gt;the system may hang if the queue is full with asynchronous events and the HCI layer is still waiting&lt;br&gt;for a CC/CS event, In that case, the notification TL_BLE_HCI_ToNot() is called to indicate&lt;br&gt;to the application a HCI command did not receive its command event within 30s (Default HCI Timeout).&lt;br&gt;</Description>
	</RefParameter>

	<RefParameter Name="CFG_TL_MOST_EVENT_PAYLOAD_SIZE" Comment="CFG_TL_MOST_EVENT_PAYLOAD_SIZE" DefaultValue="27" Min="4" Max = "255" Type="integer" TabName="Configuration" Group="Application parameters" Visible="true">
		<Condition Diagnostic="" Expression="S_THREAD | S_ZIGBEE"/>
		<Description>This parameter should be set to fit most events received by the HCI layer. It defines the buffer size of each element&lt;br&gt;allocated in the queue of received events and can be used to optimize the amount of RAM allocated by the Memory Manager.&lt;br&gt;It should not exceed 255 which is the maximum HCI packet payload size (a greater value is a lost of memory as it will&lt;br&gt;never be used)&lt;br&gt;It shall be at least 4 to receive the command status event in one frame.&lt;br&gt;The default value is set to 27 to allow receiving an event of MTU size in a single buffer. This value maybe reduced&lt;br&gt; * further depending on the application.</Description>
	</RefParameter>
	<RefParameter Name="CFG_TL_MOST_EVENT_PAYLOAD_SIZE" Comment="CFG_TL_MOST_EVENT_PAYLOAD_SIZE" DefaultValue="" Type="String" Group="Utilities configuration" TabName="Settings" Visible="false">
		<Description>This parameter should be set to fit most events received by the HCI layer. It defines the buffer size of each element&lt;br&gt;allocated in the queue of received events and can be used to optimize the amount of RAM allocated by the Memory Manager.&lt;br&gt;It should not exceed 255 which is the maximum HCI packet payload size (a greater value is a lost of memory as it will&lt;br&gt;never be used)&lt;br&gt;It shall be at least 4 to receive the command status event in one frame.&lt;br&gt;The default value is set to 27 to allow receiving an event of MTU size in a single buffer. This value maybe reduced&lt;br&gt; * further depending on the application.</Description>
	</RefParameter>

    <!-- Zigbee Applications and Services - Begin-->
    <RefParameter Name="ZIGBEE" Comment="ZIGBEE" DefaultValue="Enabled" Type="list" Group="ZIGBEE application type" TabName="ZIGBEE Applications and Services" Visible="false">
        <Description></Description>
        <Condition Diagnostic="" Expression="S_ZIGBEE"/>
        <PossibleValue Value="Enabled" Comment="Enabled" Semaphore="Semaphore_ZIGBEE"/>
    </RefParameter>

    <RefParameter Name="ZIGBEE" Comment="ZIGBEE " DefaultValue="Disabled" Type="list" Group="ZIGBEE application type" TabName="ZIGBEE Applications and Services" Visible="false">
        <Description></Description>
        <Condition Diagnostic="" Expression="!S_ZIGBEE"/>
        <PossibleValue Value="Disabled" Comment="Disabled"/>
    </RefParameter>

    <RefParameter Name="ZGB_APPLICATION" Comment="Zigbee Application" DefaultValue="FFD" Type="List" Group="ZIGBEE application type" TabName="ZIGBEE Applications and Services" Visible="true">
        <Condition Diagnostic="" Expression="S_ZIGBEE"/>
        <PossibleValue Value="FFD" Comment="Full Function Device" Semaphore="S_ZGB_APP_FFD"/>
        <PossibleValue Value="RFD" Comment="Reduced Function Device" Semaphore="S_ZGB_APP_RFD"/>
        <Description>List of Zigbee application type, can be:&lt;br&gt; - Full Function Device (FFD)&lt;br&gt; - Reduced Function Device with only End Device and Sleepy End Device available for lower energy consumption(RFD)</Description>
    </RefParameter>
    <RefParameter Name="ZGB_APPLICATION" Comment="Zigbee Application" DefaultValue="FFD" Type="List" Group="ZIGBEE application type" TabName="ZIGBEE Applications and Services" Visible="false">
        <Description>List of Zigbee application type, can be:&lt;br&gt; - Full Function Device (FFD)&lt;br&gt; - Reduced Function Device with only End Device and Sleepy End Device available for lower energy consumption(RFD)</Description>
    </RefParameter>

    <RefParameter Name="ZGB_NW_MODE" Comment="Zigbee Network Mode" DefaultValue="CENTRALIZED" Type="List" Group="ZIGBEE application type" TabName="ZIGBEE Applications and Services" Visible="true">
        <Condition Diagnostic="" Expression="S_ZIGBEE"/>
        <PossibleValue Value="CENTRALIZED" Comment="Centralized" Semaphore="S_ZGB_NW_CENTRALIZED"/>
        <PossibleValue Value="DISTRIBUTED" Comment="Distributed" Semaphore="S_ZGB_NW_DISTRIBUTED"/>
        <PossibleValue Value="TOUCHLINK" Comment="Touchlink" Semaphore="S_ZGB_NW_TOUCHLINK"/>
        <Description>Network configuration, can be:&lt;br&gt; - Centralized&lt;br&gt; - Distributed&lt;br&gt; - Touchlink</Description>
    </RefParameter>
    <RefParameter Name="ZGB_NW_MODE" Comment="Zigbee Network Mode" DefaultValue="CENTRALIZED" Type="List" Group="ZIGBEE application type" TabName="ZIGBEE Applications and Services" Visible="false">
        <Description>Network configuration, can be:&lt;br&gt; - Centralized&lt;br&gt; - Distributed&lt;br&gt; - Touchlink</Description>
    </RefParameter>

    <RefParameter Name="ZGB_DEVICE_ROLE" Comment="Zigbee Device Role" DefaultValue="COORDINATOR" Type="List" Group="ZIGBEE application type" TabName="ZIGBEE Applications and Services" Visible="true">
        <Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_NW_CENTRALIZED"/>
        <PossibleValue Value="COORDINATOR" Comment="Coordinator" Condition="S_ZGB_APP_RFD" Diagnostic="Available only with FFD application"/>
        <PossibleValue Value="ROUTER" Comment="Router" Condition="S_ZGB_APP_RFD" Diagnostic="Available only with FFD application"/>
        <PossibleValue Value="END_DEVICE" Comment="End Device" Semaphore="S_ZGB_ZED"/>
        <Description>List of application type, can be:&lt;br&gt; - Coordinator (for FFD application only)&lt;br&gt; - Router (for FFD application only)&lt;br&gt; - End Device&lt;br&gt; - Sleepy End Device</Description>
    </RefParameter>
    <RefParameter Name="ZGB_DEVICE_ROLE" Comment="Zigbee Device Role" DefaultValue="COORDINATOR" Type="List" Group="ZIGBEE application type" TabName="ZIGBEE Applications and Services" Visible="false">
        <Description>List of application type, can be:&lt;br&gt; - Coordinator (for FFD application only)&lt;br&gt; - Router (for FFD application only)&lt;br&gt; - End Device&lt;br&gt; - Sleepy End Device</Description>
    </RefParameter>
    
    <RefParameter Name="ZGB_TOUCHLINK_CAPABILITY" Comment="Touchlink capability" DefaultValue="END_DEVICE" Type="List" Group="ZIGBEE application type" TabName="ZIGBEE Applications and Services" Visible="true">
    	<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_NW_TOUCHLINK"/>
    	<PossibleValue Value="ROUTER" Comment="Router" Semaphore="S_ZGB_TOUCHLINK_ROUTER"/>
    	<PossibleValue Value="END_DEVICE" Comment="End Device" Condition="S_ZGB_APP_FFD" Diagnostic="End Device capability is only available with RFD application"/>
    	<Description>Touchlink device can handle 2 capabilities in RFD application:&lt;br&gt; - Router&lt;br&gt; - End device, which allows Sleepy mode</Description>
    </RefParameter>
	<RefParameter Name="ZGB_TOUCHLINK_CAPABILITY" Comment="Touchlink capability" DefaultValue="END_DEVICE" Type="List" Group="ZIGBEE application type" TabName="ZIGBEE Applications and Services" Visible="false">
    	<Description>Touchlink device can handle 2 capabilities in RFD application:&lt;br&gt; - Router&lt;br&gt; - End device, which allows Sleepy mode</Description>
    </RefParameter>

    <RefParameter Name="ZGB_SLEEPY_MODE" Comment="Sleepy mode" DefaultValue="OFF" Type="List" Group="ZIGBEE application type" TabName="ZIGBEE Applications and Services" Visible="true">
        <Condition Diagnostic="" Expression="S_ZIGBEE"/>
        <PossibleValue Value="OFF" Comment="Off"/>
        <PossibleValue Value="ON" Comment="On" Condition="S_ZGB_APP_FFD | S_ZGB_TOUCHLINK_ROUTER" Semaphore="S_ZGB_SED" Diagnostic="Sleepy mode is available only with RFD application. In case of Touchlink network, Sleepy mode is not available for router capability."/>
        <Description>Sleepy mode is available in RFD applications, except in Touchlink mode for router capability. It turns on the low power mode parameters.</Description>
    </RefParameter>
    <RefParameter Name="ZGB_SLEEPY_MODE" Comment="Sleepy mode" DefaultValue="OFF" Type="List" Group="ZIGBEE application type" TabName="ZIGBEE Applications and Services" Visible="false">
        <Description>Sleepy mode is available in RFD applications, except in Touchlink mode for router capability. It turns on the low power mode parameters.</Description>
    </RefParameter>

	<RefParameter Name="ZGB_NB_ENDPOINTS" Comment="Number of End Points" DefaultValue="1" Min="1" Max="10" Type="Integer" Group="End Points" TabName="ZIGBEE Applications and Services" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE"/>
		<Description>Number of endpoints used on one device. At least one endpoint is mandatory for a Zigbee application, and it should not exceed 10.</Description>
	</RefParameter>
	<RefParameter Name="ZGB_NB_ENDPOINTS" Comment="Number of End Points" DefaultValue="1" Min="1" Max="10" Type="Integer" Group="End Points" TabName="ZIGBEE Applications and Services" Visible="false">
		<Description>Number of endpoints used on one device. At least one endpoint is mandatory for a Zigbee application, and it should not exceed 10.</Description>
	</RefParameter>

	<RefParameter Name="ZGB_CHANNEL" Comment="Channel" DefaultValue="11" Type="Integer" Min="0" Max="26" Group="Network Parameters" TabName="ZIGBEE Applications and Services" Visible="true">
	    <Condition Diagnostic="" Expression="S_ZIGBEE"/>
	    <Description>Network channel should be set between 0 and 26.</Description>
	</RefParameter>
	<RefParameter Name="ZGB_CHANNEL" Comment="Channel" DefaultValue="11" Type="Integer" Min="0" Max="26" Group="Network Parameters" TabName="ZIGBEE Applications and Services" Visible="false">
	    <Description>Network channel should be set between 0 and 26.</Description>
	</RefParameter>
	<!-- Zigbee Applications and Services - End-->

	<!-- Zigbee EndPoint1 tab - Begin-->
	<RefParameter Name="ENDPOINT1_ID" Comment="Endpoint ID" DefaultValue="-1" Min="1" Max="240" Type="Integer" Group="Endpoint" TabName="ENDPOINT1">
		<Condition Diagnostic="" Expression="S_ZIGBEE"/>
		<Description>Endpoint &lt;b&gt;242&lt;/b&gt; shall be reserved for the &lt;b&gt;Green Power cluster&lt;/b&gt;, used in proxy mode with FFD application and not used with RFD application.&lt;br&gt;&lt;font color=&quot;E6007E&quot;&gt;&lt;b&gt;WARNING:&lt;/b&gt;&lt;br&gt;Endpoint IDs shall be &lt;b&gt;unique&lt;/b&gt; in one same device.</Description>
	</RefParameter>
	<RefParameter Name="ENDPOINT1_ID" Comment="Endpoint ID" DefaultValue="-1" Min="1" Max="240" Type="Integer" Group="Endpoint" TabName="ENDPOINT1" Visible="false">
		<Description>Endpoint &lt;b&gt;242&lt;/b&gt; shall be reserved for the &lt;b&gt;Green Power cluster&lt;/b&gt;, used in proxy mode with FFD application and not used with RFD application.&lt;br&gt;&lt;font color=&quot;E6007E&quot;&gt;&lt;b&gt;WARNING:&lt;/b&gt;&lt;br&gt;Endpoint IDs shall be &lt;b&gt;unique&lt;/b&gt; in one same device.</Description>
	</RefParameter>
	
	<RefParameter Name="ZGB_ENDPOINT1_PROFILE_ID" Comment="Profile ID" DefaultValue="" Type="List" Group="Endpoint" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE"/>
		<PossibleValue Value="ZCL_PROFILE_HOME_AUTOMATION" Comment="Home Automation (HA)" Semaphore="S_ZGB_PRF_HA_ENDPOINT1"/>
		<PossibleValue Value="ZCL_PROFILE_SMART_ENERGY" Comment="Smart Energy (SE)" Semaphore="S_ZGB_PRF_SE_ENDPOINT1"/>
		<PossibleValue Value="ZCL_PROFILE_ZLL" Comment="Zigbee Light Link (ZLL)" Semaphore="S_ZGB_PRF_ZLL_ENDPOINT1"/>
		<Description>Profile of the endpoint, can be:&lt;br&gt; - Home Automation (HA)&lt;br&gt; - Smart Energy (SE)&lt;br&gt; - Zigbee Light Link (ZLL)</Description>
	</RefParameter>
	<RefParameter Name="ZGB_ENDPOINT1_PROFILE_ID" Comment="Profile ID" DefaultValue="" Type="List" Group="Endpoint" TabName="ENDPOINT1" Visible="false">
		<Description>Profile of the endpoint, can be:&lt;br&gt; - Home Automation (HA)&lt;br&gt; - Smart Energy (SE)&lt;br&gt; - Zigbee Light Link (ZLL)</Description>
	</RefParameter>
	
	<RefParameter Name="ENDPOINT1_DEVICE_ID_HA" Comment="Device ID" DefaultValue="" Type="List" Group="Endpoint" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_HA_ENDPOINT1"/>
		<PossibleValue Value="ZCL_DEVICE_ONOFF_SWITCH" Comment="OnOff switch"/>
		<PossibleValue Value="ZCL_DEVICE_LEVEL_SWITCH" Comment="Level control switch"/>
		<PossibleValue Value="ZCL_DEVICE_ONOFF_OUTPUT" Comment="OnOff output"/>
		<PossibleValue Value="ZCL_DEVICE_LEVEL_OUTPUT" Comment="Level controllable output"/>
		<PossibleValue Value="ZCL_DEVICE_SCENE_SELECTOR" Comment="Scene selector"/>
		<PossibleValue Value="ZCL_DEVICE_CONFIG_TOOL" Comment="Configuration tool"/>
		<PossibleValue Value="ZCL_DEVICE_REMOTE_CONTROL" Comment="Remote control"/>
		<PossibleValue Value="ZCL_DEVICE_COMBINED_INTERFACE" Comment="Combined interface"/>
		<PossibleValue Value="ZCL_DEVICE_RANGE_EXTENDER" Comment="Range extender"/>
		<PossibleValue Value="ZCL_DEVICE_MAINS_POWER_OUTLET" Comment="Mains power outlet"/>
		<PossibleValue Value="ZCL_DEVICE_DOOR_LOCK" Comment="Door lock"/>
		<PossibleValue Value="ZCL_DEVICE_DOOR_LOCK_CONTROLLER" Comment="Door lock controller"/>
		<PossibleValue Value="ZCL_DEVICE_SIMPLE_SENSOR" Comment="Simple sensor"/>
		<PossibleValue Value="ZCL_DEVICE_HOME_GATEWAY" Comment="Home gateway"/>
		<PossibleValue Value="ZCL_DEVICE_SMART_PLUG" Comment="Smart plug"/>
		<PossibleValue Value="ZCL_DEVICE_WHITE_GOODS" Comment="White goods"/>
		<PossibleValue Value="ZCL_DEVICE_METER_INTERFACE" Comment="Meter interface"/>
		<PossibleValue Value="ZCL_DEVICE_RANGE_EXTENDER" Comment="Range extender"/>

		<PossibleValue Value="ZCL_DEVICE_ONOFF_LIGHT" Comment="OnOff light"/>
		<PossibleValue Value="ZCL_DEVICE_DIMMABLE_LIGHT" Comment="Dimmable light"/>
		<PossibleValue Value="ZCL_DEVICE_COLOR_DIMMABLE_LIGHT" Comment="Color dimmable light"/>
		<PossibleValue Value="ZCL_DEVICE_ONOFF_LIGHT_SWITCH" Comment="OnOff light switch"/>
		<PossibleValue Value="ZCL_DEVICE_ONOFF_DIMMER_SWITCH" Comment="Dimmer switch"/>
		<PossibleValue Value="ZCL_DEVICE_ONOFF_COLOR_DIMMER_SWITCH" Comment="Color dimmer switch"/>
		<PossibleValue Value="ZCL_DEVICE_ONOFF_LIGHT_SENSOR" Comment="Light sensor"/>
		<PossibleValue Value="ZCL_DEVICE_ONOFF_OCCUPANCY_SENSOR" Comment="Occupancy sensor"/>

		<PossibleValue Value="ZCL_DEVICE_IAS_CONTROL_AND_INDICATING_EQUIPMENT" Comment="IAS Control and Indicating Equipment"/>
		<PossibleValue Value="ZCL_DEVICE_IAS_ANCILLARY_CONTROL_EQUIPMENT" Comment="IAS Ancillary Control Equipment"/>
		<PossibleValue Value="ZCL_DEVICE_IAS_ZONE" Comment="IAS zone"/>
		<PossibleValue Value="ZCL_DEVICE_IAS_WARNING_DEVICE" Comment="IAS warning device"/>
		<Description>Device description gives a readable information about the application of the device</Description>
	</RefParameter>
	<RefParameter Name="ENDPOINT1_DEVICE_ID_HA" Comment="Device ID" DefaultValue="" Type="List" Group="Endpoint" TabName="ENDPOINT1" Visible="false">
		<Description>Device description gives a readable information about the application of the device</Description>
	</RefParameter>

	<RefParameter Name="ENDPOINT1_DEVICE_ID_SE" Comment="Device ID" DefaultValue="" Type="List" Group="Endpoint" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_SE_ENDPOINT1"/>

		<PossibleValue Value="ZCL_DEVICE_ESP" Comment="ESP"/>
		<PossibleValue Value="ZCL_DEVICE_METER" Comment="Metering device"/>
		<PossibleValue Value="ZCL_DEVICE_IN_HOME_DISPLAY" Comment="In-home display"/>
		<PossibleValue Value="ZCL_DEVICE_PCT" Comment="Programmble Communicating Thermostat (PCT)"/>
		<PossibleValue Value="ZCL_DEVICE_LOAD_CONTROL" Comment="Load control device"/>
		<PossibleValue Value="ZCL_DEVICE_SMART_APPLIANCE" Comment="Smart appliance"/>
		<PossibleValue Value="ZCL_DEVICE_PREPAYMENT_TERMINAL" Comment="Prepayment terminal"/>
		<PossibleValue Value="ZCL_DEVICE_PHYSICAL_DEVICE" Comment="Physical device"/>
		<PossibleValue Value="ZCL_DEVICE_REMOTE_COMMUNICATIONS_DEVICE" Comment="Remote communications device"/>
		<PossibleValue Value="ZCL_DEVICE_ERL_INTERFACE" Comment="ERL interface"/>
		<Description>Device description gives a readable information about the application of the device</Description>
	</RefParameter>
	<RefParameter Name="ENDPOINT1_DEVICE_ID_SE" Comment="Device ID" DefaultValue="" Type="List" Group="Endpoint" TabName="ENDPOINT1" Visible="false">
		<Description>Device description gives a readable information about the application of the device</Description>
	</RefParameter>

	<RefParameter Name="ENDPOINT1_DEVICE_ID_ZLL" Comment="Device ID" DefaultValue="" Type="List" Group="Endpoint" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_ZLL_ENDPOINT1"/>
		<PossibleValue Value="ZCL_DEVICE_ONOFF_LIGHT" Comment="OnOff light"/>
		<PossibleValue Value="ZCL_DEVICE_DIMMABLE_LIGHT" Comment="Dimmable light"/>

		<PossibleValue Value="ZCL_DEVICE_COLOR_CONTROLLER" Comment="Color controller"/>
		<PossibleValue Value="ZCL_DEVICE_COLOR_SCENE_CONTROLLER" Comment="Color scene controller"/>
		<PossibleValue Value="ZCL_DEVICE_NON_COLOR_CONTROLLER" Comment="Non color controller"/>
		<PossibleValue Value="ZCL_DEVICE_NON_COLOR_SCENE_CONTROLLER" Comment="Non color scene controller"/>
		<PossibleValue Value="ZCL_DEVICE_CONTROL_BRIDGE" Comment="Control bridge"/>
		<PossibleValue Value="ZCL_DEVICE_ONOFF_SENSOR" Comment="OnOff sensor"/>
		<Description>Device description gives a readable information about the application of the device</Description>
	</RefParameter>
	<RefParameter Name="ENDPOINT1_DEVICE_ID_ZLL" Comment="Device ID" DefaultValue="" Type="List" Group="Endpoint" TabName="ENDPOINT1" Visible="false">
		<Description>Device description gives a readable information about the application of the device</Description>
	</RefParameter>

	<!-- Begin ZGB Clusters -->
	<RefParameter Name="ZCL_BASIC_ENDPOINT1" Comment="Basic" DefaultValue="SERVER" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<Description>Basic cluster: server mode mandatory for all Zigbee endpoint.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_BASIC_ENDPOINT1" Comment="Basic" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Basic cluster: server mode mandatory for all Zigbee endpoint.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_IDENTIFY_ENDPOINT1" Comment="Identify" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description> Identify cluster allows to be in identification mode.&lt;br&gt; - Server receives commands to start and stop identification mode.&lt;br&gt; - Client sends start and stop commands to the server.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_IDENTIFY_ENDPOINT1" Comment="Identify" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description> Identify cluster allows to be in identification mode.&lt;br&gt; - Server receives commands to start and stop identification mode.&lt;br&gt; - Client sends start and stop commands to the server.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_ALARMS_ENDPOINT1" Comment="Alarms" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; (S_ZGB_PRF_HA_ENDPOINT1 | S_ZGB_PRF_SE_ENDPOINT1)"/>
		<PossibleValue Value="SERVER" Comment="Server" Semaphore="S_ZGB_ZCL_ALARMS_SERVER_ENDPOINT1"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client" Semaphore="S_ZGB_ZCL_ALARMS_SERVER_ENDPOINT1"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Alarm cluster configure alarm functionality and send alarm notifications.&lt;br&gt; - Server resides with other clusters which can generate alarm conditions and it sends them to a cluster client. Time server cluster SHALL be set when Alarms server is used.&lt;br&gt; - Client can send user instructions to the server.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_ALARMS_ENDPOINT1" Comment="Alarms" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Alarm cluster configure alarm functionality and send alarm notifications.&lt;br&gt; - Server resides with other clusters which can generate alarm conditions and it sends them to a cluster client. Time server cluster SHALL be set when Alarms server is used.&lt;br&gt; - Client can send user instructions to the server.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_TIME_ENDPOINT1" Comment="Time" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client" Condition="S_ZGB_ZCL_ALARMS_SERVER_ENDPOINT1 | S_ZGB_ZCL_DRLC_CLIENT_ENDPOINT1" Diagnostic="Server mode is mandoatory if using Alarm in server mode or DRLC in client mode"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used" Condition="S_ZGB_ZCL_ALARMS_SERVER_ENDPOINT1 | S_ZGB_ZCL_DRLC_CLIENT_ENDPOINT1" Diagnostic="Server mode is mandoatory if using Alarm in server mode or DRLC in client mode"/>
		<Description>Time cluster provides a base for real-time application.&lt;br&gt; - Server acts as a time master for the network. It SHALL be set when Alarm server or DRLC client are used.&lt;br&gt; - Client synchronizes itself with the server.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_TIME_ENDPOINT1" Comment="Time" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Time cluster provides a base for real-time application.&lt;br&gt; - Server acts as a time master for the network. It SHALL be set when Alarm server or DRLC client are used.&lt;br&gt; - Client synchronizes itself with the server.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_COMMISSIONING_ENDPOINT1" Comment="Commissioning" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Commissioning cluster allows a commissioning process.&lt;br&gt; - Server responds to a commissioning process and commissions itself into a network.&lt;br&gt; - Client initiates the commissioning of a commissioning server.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_COMMISSIONING_ENDPOINT1" Comment="Commissioning" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Commissioning cluster allows a commissioning process.&lt;br&gt; - Server responds to a commissioning process and commissions itself into a network.&lt;br&gt; - Client initiates the commissioning of a commissioning server.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_GROUPS_ENDPOINT1" Comment="Groups" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Groups cluster manages group addressing.&lt;br&gt; - Server receives configuration commands regarding to the local group table.&lt;br&gt; - Client sends commands to configure the group table.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_GROUPS_ENDPOINT1" Comment="Groups" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Groups cluster manages group addressing.&lt;br&gt; - Server receives configuration commands regarding to the local group table.&lt;br&gt; - Client sends commands to configure the group table.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_SCENES_ENDPOINT1" Comment="Scenes" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Scenes cluster allows to configure a set of stored values to create recalling scenes.&lt;br&gt; - Server receives commands to configure scenes.&lt;br&gt; - Client controls the configuration of the scenes.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_SCENES_ENDPOINT1" Comment="Scenes" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Scenes cluster allows to configure a set of stored values to create recalling scenes.&lt;br&gt; - Server receives commands to configure scenes.&lt;br&gt; - Client controls the configuration of the scenes.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_OCCUPANCY_SENSING_ENDPOINT1" Comment="Occupancy Sensing" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_HA_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Occupancy Sensing cluster provides an interface to an occupancy sensor.&lt;br&gt; - Server receives commands to configure the sensor and reports to the client.&lt;br&gt; - Client sends commands to configure the sensor and receives report from the sensor.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_OCCUPANCY_SENSING_ENDPOINT1" Comment="Occupancy Sensing" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Occupancy Sensing cluster provides an interface to an occupancy sensor.&lt;br&gt; - Server receives commands to configure the sensor and reports to the client.&lt;br&gt; - Client sends commands to configure the sensor and receives report from the sensor.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_DIAGNOSTICS_ENDPOINT1" Comment="Diagnostics" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_HA_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Diagnostic cluster informs about the operation of the stack over time and will be used by multiple profiles. As a result it should not be set alone.&lt;br&gt; - Server provides diagnostic data. Attributes are strongly recommended to be stored in persistent memory.&lt;br&gt; - Client sends requests to access diagnostic data.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_DIAGNOSTICS_ENDPOINT1" Comment="Diagnostics" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Diagnostic cluster informs about the operation of the stack over time and will be used by multiple profiles. As a result it should not be set alone.&lt;br&gt; - Server provides diagnostic data. Attributes are strongly recommended to be stored in persistent memory.&lt;br&gt; - Client sends requests to access diagnostic data.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_POLL_CONTROL_ENDPOINT1" Comment="Poll Control" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_HA_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Poll Control cluster provides a mechanism for the management of a Zigbee End Device's polling mode.It defines the poll interval between (normal or fast) two MAC Data Requests from the ZED to its parent router.&lt;br&gt; - Server sets the polling mode to Normal (long poll interval) or Fast (short poll interval) after periodically checking the client.&lt;br&gt; - Client decides the polling mode to be selected.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_POLL_CONTROL_ENDPOINT1" Comment="Poll Control" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Poll Control cluster provides a mechanism for the management of a Zigbee End Device's polling mode.It defines the poll interval between (normal or fast) two MAC Data Requests from the ZED to its parent router.&lt;br&gt; - Server sets the polling mode to Normal (long poll interval) or Fast (short poll interval) after periodically checking the client.&lt;br&gt; - Client decides the polling mode to be selected.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_POWER_CONFIGURATION_ENDPOINT1" Comment="Power Configuration" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; (S_ZGB_PRF_HA_ENDPOINT1 | S_ZGB_PRF_SE_ENDPOINT1)"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Power Configuration cluster provides information about the power source and voltage alarms to be configured.&lt;br&gt; - Server receives commands to set its power configuration.&lt;br&gt; - Client sends commands to set the power configuration on a remote device.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_POWER_CONFIGURATION_ENDPOINT1" Comment="Power Configuration" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Power Configuration cluster provides information about the power source and voltage alarms to be configured.&lt;br&gt; - Server receives commands to set its power configuration.&lt;br&gt; - Client sends commands to set the power configuration on a remote device.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_POWER_PROFILE_ENDPOINT1" Comment="Power Profile" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_HA_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Power Profile cluster indicates the expected power profile to a controller.&lt;br&gt; - Server provides the local power profile.&lt;br&gt; - Client receives the power profile.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_POWER_PROFILE_ENDPOINT1" Comment="Power Profile" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Power Profile cluster indicates the expected power profile to a controller.&lt;br&gt; - Server provides the local power profile.&lt;br&gt; - Client receives the power profile.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_RSSI_LOCATION_ENDPOINT1" Comment="RSSI Location" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_HA_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>RSSI Location cluster allows exchanges of Received Signal Strength Indication information.&lt;br&gt; - Server requests RSSI information and report RSSI measurement.&lt;br&gt; - Client answers to the server requests and reports.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_RSSI_LOCATION_ENDPOINT1" Comment="RSSI Location" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>RSSI Location cluster allows exchanges of Received Signal Strength Indication information.&lt;br&gt; - Server requests RSSI information and report RSSI measurement.&lt;br&gt; - Client answers to the server requests and reports.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_PRESSURE_MEASUREMENT_ENDPOINT1" Comment="Pressure Measurement" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_HA_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Pressure Measurement cluster provides an interface to configure and control pressure measurement.&lt;br&gt; - Server measures the pressure.&lt;br&gt; - Client configures the server and receives measurements from it.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_PRESSURE_MEASUREMENT_ENDPOINT1" Comment="Pressure Measurement" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Pressure Measurement cluster provides an interface to configure and control pressure measurement.&lt;br&gt; - Server measures the pressure.&lt;br&gt; - Client configures the server and receives measurements from it.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_DEVICE_TEMPERATURE_CONFIGURATION_ENDPOINT1" Comment="Device Temperature Configuration" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_HA_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Device Temperature Configuration cluster measures internal temperature and configures temperature alarms.&lt;br&gt; - Server receives commands to access internal temperature data.&lt;br&gt; - Client sends commands to access the internal temperature.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_DEVICE_TEMPERATURE_CONFIGURATION_ENDPOINT1" Comment="Device Temperature Configuration" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Device Temperature Configuration cluster measures internal temperature and configures temperature alarms.&lt;br&gt; - Server receives commands to access internal temperature data.&lt;br&gt; - Client sends commands to access the internal temperature.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_TEMPERATURE_MEASUREMENT_ENDPOINT1" Comment="Temperature Measurement" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_HA_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Temperature Measurement cluster provides an interface to configure and control temperature measurements.&lt;br&gt; - Server measures the temperature.&lt;br&gt; - Client configures the server and receives measurements from it.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_TEMPERATURE_MEASUREMENT_ENDPOINT1" Comment="Temperature Measurement" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Temperature Measurement cluster provides an interface to configure and control temperature measurements.&lt;br&gt; - Server measures the temperature.&lt;br&gt; - Client configures the server and receives measurements from it.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_THERMOSTAT_ENDPOINT1" Comment="Thermostat Configuration" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_HA_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Thermostat cluster provides an interface to configure and control a thermostat.&lt;br&gt; - Server configures the thermostat.&lt;br&gt; - Client controls the functionalities of the thermostat.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_THERMOSTAT_ENDPOINT1" Comment="Thermostat Configuration" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Thermostat cluster provides an interface to configure and control a thermostat.&lt;br&gt; - Server configures the thermostat.&lt;br&gt; - Client controls the functionalities of the thermostat.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_THERMOSTAT_UI_CONFIGURATION_ENDPOINT1" Comment="Thermostat User Interface Configuration" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; (S_ZGB_PRF_HA_ENDPOINT1 | S_ZGB_PRF_CUSTOM_ENDPOINT1 | S_ZGB_PRF_CUSTOM_ENDPOINT1)"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Thermostat UI Configuration cluster provides an interface to configure the user interface of a thermostat.&lt;br&gt; - Server configures the thermostat UI.&lt;br&gt; - Client controls the functionalities of the thermostat UI.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_THERMOSTAT_UI_CONFIGURATION_ENDPOINT1" Comment="Thermostat User Interface Configuration" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Thermostat UI Configuration cluster provides an interface to configure the user interface of a thermostat.&lt;br&gt; - Server configures the thermostat UI.&lt;br&gt; - Client controls the functionalities of the thermostat UI.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_METER_IDENTIFICATION_ENDPOINT1" Comment="Meter Identification" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_HA_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Meter Identification cluster determines advanced information about utility metering device.&lt;br&gt; - Server provides information.&lt;br&gt; - Client sends requests to the server for information.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_METER_IDENTIFICATION_ENDPOINT1" Comment="Meter Identification" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Meter Identification cluster determines advanced information about utility metering device.&lt;br&gt; - Server provides information.&lt;br&gt; - Client sends requests to the server for information.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_ELECTRICAL_MEASUREMENT_ENDPOINT1" Comment="Electrical Measurement" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_HA_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Electrical Measurement cluster provides an interface to configure and control electrical measurements.&lt;br&gt; - Server makes the electrical measurements.&lt;br&gt; - Client configures the server and receives measurements from it.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_ELECTRICAL_MEASUREMENT_ENDPOINT1" Comment="Electrical Measurement" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Electrical Measurement cluster provides an interface to configure and control electrical measurements.&lt;br&gt; - Server makes the electrical measurements.&lt;br&gt; - Client configures the server and receives measurements from it.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_FAN_CONTROL_ENDPOINT1" Comment="Fan Control" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_HA_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Fan Control cluster controls the speed and state of a fan.&lt;br&gt; - Server configures the speed or state of the fan.&lt;br&gt; - Client commands the server to set the speed or state of the fan.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_FAN_CONTROL_ENDPOINT1" Comment="Fan Control" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Fan Control cluster controls the speed and state of a fan.&lt;br&gt; - Server configures the speed or state of the fan.&lt;br&gt; - Client commands the server to set the speed or state of the fan.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_PUMP_CONFIGURATION_CONTROL_ENDPOINT1" Comment="Pump Configuration and Control" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_HA_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Pump Configuration and Control cluster provides an interface to configure and control pump devices (control of speed not included).&lt;br&gt; - Server configures the pump.&lt;br&gt; - Client controls the functionalities of the pump.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_PUMP_CONFIGURATION_CONTROL_ENDPOINT1" Comment="Pump Configuration and Control" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Pump Configuration and Control cluster provides an interface to configure and control pump devices (control of speed not included).&lt;br&gt; - Server configures the pump.&lt;br&gt; - Client controls the functionalities of the pump.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_RELATIVE_HUMIDITY_MEASUREMENT_ENDPOINT1" Comment="Relative Humidity Measurement" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_HA_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Relative Humidity Measurement cluster provides an interface to configure and control humidity measurements.&lt;br&gt; - Server measures the humidity.&lt;br&gt; - Client configures the server and receives measurements from it.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_RELATIVE_HUMIDITY_MEASUREMENT_ENDPOINT1" Comment="Relative Humidity Measurement" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Relative Humidity Measurement cluster provides an interface to configure and control humidity measurements.&lt;br&gt; - Server measures the humidity.&lt;br&gt; - Client configures the server and receives measurements from it.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_ON_OFF_ENDPOINT1" Comment="On/Off" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; (S_ZGB_PRF_HA_ENDPOINT1 | S_ZGB_PRF_ZLL_ENDPOINT1)"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client" Condition="S_ZGB_ZCL_COLOR_SERVER_ENDPOINT1 | S_ZGB_ZCL_LEVEL_SERVER_ENDPOINT1" Diagnostic="When using Color or Level Control clusters in server mode, server mode of OnOff cluster has to be enabled"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used" Condition="S_ZGB_ZCL_COLOR_SERVER_ENDPOINT1 | S_ZGB_ZCL_LEVEL_SERVER_ENDPOINT1" Diagnostic="When using Color or Level Control clusters in server mode, server mode of OnOff cluster has to be enabled"/>
		<Description>On/Off cluster provides functionality to switch a device between On and Off states.&lt;br&gt; - Server receives commands to change the state. Server mode SHALL be set if Level Control cluster OR if Color Control are in server mode.&lt;br&gt; - Client sends commands to request a change of state.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_ON_OFF_ENDPOINT1" Comment="On/Off" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>On/Off cluster provides functionality to switch a device between On and Off states.&lt;br&gt; - Server receives commands to change the state. Server mode SHALL be set if Level Control cluster OR if Color Control are in server mode.&lt;br&gt; - Client sends commands to request a change of state.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_COLOR_CONTROL_ENDPOINT1" Comment="Color Control" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; (S_ZGB_PRF_HA_ENDPOINT1 | S_ZGB_PRF_ZLL_ENDPOINT1)"/>
		<PossibleValue Value="SERVER" Comment="Server" Semaphore="S_ZGB_ZCL_COLOR_SERVER_ENDPOINT1"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client" Semaphore="S_ZGB_ZCL_COLOR_SERVER_ENDPOINT1"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Color Control cluster controls the color of a light.&lt;br&gt; - Server receives commands to change the color of the light.&lt;br&gt; - Client sends commands to change the color of the remote light.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_COLOR_CONTROL_ENDPOINT1" Comment="Color Control" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Color Control cluster controls the color of a light.&lt;br&gt; - Server receives commands to change the color of the light.&lt;br&gt; - Client sends commands to change the color of the remote light.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_ILLUMINANCE_LEVEL_SENSING_ENDPOINT1" Comment="Illuminance Level Sensing" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_HA_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Illuminance Level Sensing cluster provides an interface to configure and control level of illumination watch.&lt;br&gt; - Server senses the level of illumination.&lt;br&gt; - Client configures and gets the notifications from the server.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_ILLUMINANCE_LEVEL_SENSING_ENDPOINT1" Comment="Illuminance Level Sensing" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Illuminance Level Sensing cluster provides an interface to configure and control level of illumination watch.&lt;br&gt; - Server senses the level of illumination.&lt;br&gt; - Client configures and gets the notifications from the server.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_ILLUMINANCE_MEASUREMENT_ENDPOINT1" Comment="Illuminance Measurement" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_HA_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Illuminance Measurement cluster provides an interface to configure and control illuminance measurements.&lt;br&gt; - Server measures the illuminance and report to the client.&lt;br&gt; - Client configures the server and control receives measurements from it.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_ILLUMINANCE_MEASUREMENT_ENDPOINT1" Comment="Illuminance Measurement" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Illuminance Measurement cluster provides an interface to configure and control illuminance measurements.&lt;br&gt; - Server measures the illuminance and report to the client.&lt;br&gt; - Client configures the server and control receives measurements from it.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_LEVEL_CONTROL_ENDPOINT1" Comment="Level Control" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; (S_ZGB_PRF_HA_ENDPOINT1 | S_ZGB_PRF_ZLL_ENDPOINT1)"/>
		<PossibleValue Value="SERVER" Comment="Server" Semaphore="S_ZGB_ZCL_LEVEL_SERVER_ENDPOINT1"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client" Semaphore="S_ZGB_ZCL_LEVEL_SERVER_ENDPOINT1"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Level Control cluster controls the level of a characteristic value of a device.&lt;br&gt; - Server receives commands to change the level of characteristic values. OnOff server SHALL be set when Level Control server is used.&lt;br&gt; - Client sends commands to change the level of characteristic values.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_LEVEL_CONTROL_ENDPOINT1" Comment="Level Control" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Level Control cluster controls the level of a characteristic value of a device.&lt;br&gt; - Server receives commands to change the level of characteristic values. OnOff server SHALL be set when Level Control server is used.&lt;br&gt; - Client sends commands to change the level of characteristic values.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_ON_OFF_SWITCH_CONFIGURATION_ENDPOINT1" Comment="On/Off Switch Configuration" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_HA_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>On/Off Switch Configuration cluster provides the switch type on a device.&lt;br&gt; - Server receives commands to define a switch configuration.&lt;br&gt; - Client sends commands to define a switch configuration.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_ON_OFF_SWITCH_CONFIGURATION_ENDPOINT1" Comment="On/Off Switch Configuration" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>On/Off Switch Configuration cluster provides the switch type on a device.&lt;br&gt; - Server receives commands to define a switch configuration.&lt;br&gt; - Client sends commands to define a switch configuration.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_DOOR_LOCK_ENDPOINT1" Comment="Door Lock" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; (S_ZGB_PRF_HA_ENDPOINT1 | S_ZGB_PRF_CUSTOM_ENDPOINT1)"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Door Lock cluster provides an interface to configure and control generic values of door locks and doors.&lt;br&gt; - Server sets the values representing door security.&lt;br&gt; - Client controls the door lock and the door.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_DOOR_LOCK_ENDPOINT1" Comment="Door Lock" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Door Lock cluster provides an interface to configure and control generic values of door locks and doors.&lt;br&gt; - Server sets the values representing door security.&lt;br&gt; - Client controls the door lock and the door.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_WINDOW_COVERING_ENDPOINT1" Comment="Window Covering" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_HA_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Window Covering cluster provides an interface to configure and control window coverings.&lt;br&gt; - Server sets the values of the window covering.&lt;br&gt; - Client controls the window covering.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_WINDOW_COVERING_ENDPOINT1" Comment="Window Covering" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Window Covering cluster provides an interface to configure and control window coverings.&lt;br&gt; - Server sets the values of the window covering.&lt;br&gt; - Client controls the window covering.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_IAS_ACE_ENDPOINT1" Comment="IAS Ancillary Control Equipment (ACE)" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_HA_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>IAS ACE cluster provides an interface to configure and control a Control and Indicating Equipment (CIE) in an Intruder Alarm System (IAS).&lt;br&gt; - Server receives commands to configure the CIE.&lt;br&gt; - Client sends commands to configure and control the CIE.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_IAS_ACE_ENDPOINT1" Comment="IAS Ancillary Control Equipment (ACE)" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>IAS ACE cluster provides an interface to configure and control a Control and Indicating Equipment (CIE) in an Intruder Alarm System (IAS).&lt;br&gt; - Server receives commands to configure the CIE.&lt;br&gt; - Client sends commands to configure and control the CIE.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_IAS_WD_ENDPOINT1" Comment="IAS Warning Device (WD)" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_HA_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>IAS WD cluster provides an interface to configure and control a Warning Device (WD) in an Intruder Alarm System (IAS).&lt;br&gt; - Server receives commands to configure the WD and report to the client.&lt;br&gt; - Client sends commands to configure and control the WD and receives reports.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_IAS_WD_ENDPOINT1" Comment="IAS Warning Device (WD)" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>IAS WD cluster provides an interface to configure and control a Warning Device (WD) in an Intruder Alarm System (IAS).&lt;br&gt; - Server receives commands to configure the WD and report to the client.&lt;br&gt; - Client sends commands to configure and control the WD and receives reports.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_IAS_ZONE_ENDPOINT1" Comment="IAS Zone" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_HA_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>IAS Zone cluster provides an interface to configure and control an IAS security zone device.&lt;br&gt; - Server receives commands to configure the IAS Zone device and report to the client.&lt;br&gt; - Client sends commands to configure and control the IAS Zone device and receives reports.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_IAS_ZONE_ENDPOINT1" Comment="IAS Zone" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>IAS Zone cluster provides an interface to configure and control an IAS security zone device.&lt;br&gt; - Server receives commands to configure the IAS Zone device and report to the client.&lt;br&gt; - Client sends commands to configure and control the IAS Zone device and receives reports.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_MESSAGING_ENDPOINT1" Comment="Messaging" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_SE_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Messaging cluster an interface to pass text messages from one device to another.&lt;br&gt; - Server sends the text message.&lt;br&gt; - Client receives the text message.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_MESSAGING_ENDPOINT1" Comment="Messaging" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Messaging cluster an interface to pass text messages from one device to another.&lt;br&gt; - Server sends the text message.&lt;br&gt; - Client receives the text message.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_DRLC_ENDPOINT1" Comment="Demand Response and Load Control" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_SE_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client" Semaphore="S_ZGB_ZCL_DRLC_CLIENT_ENDPOINT1"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client" Semaphore="S_ZGB_ZCL_DRLC_CLIENT_ENDPOINT1"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>DRLC cluster provides an interface to the functionality of Demand Response and Load Control.&lt;br&gt; - Server sends the Load Control Events to the devices.&lt;br&gt; - Client receives the Load Control Events. It is time-dependent, therefore a Time server cluster SHALL be set when DRLC client is used.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_DRLC_ENDPOINT1" Comment="Demand Response and Load Control" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>DRLC cluster provides an interface to the functionality of Demand Response and Load Control.&lt;br&gt; - Server sends the Load Control Events to the devices.&lt;br&gt; - Client receives the Load Control Events. It is time-dependent, therefore a Time server cluster SHALL be set when DRLC client is used.</Description>
	</RefParameter>
	
	<RefParameter Name="ZCL_METERING_ENDPOINT1" Comment="Metering" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; (S_ZGB_PRF_HA_ENDPOINT1 | S_ZGB_PRF_SE_ENDPOINT1)"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Metering cluster provides an interface to obtain usage information from metering devices.&lt;br&gt; - Server gives information.&lt;br&gt; - Client asks for usage information to the server.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_METERING_ENDPOINT1" Comment="Metering" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Metering cluster provides an interface to obtain usage information from metering devices.&lt;br&gt; - Server gives information.&lt;br&gt; - Client asks for usage information to the server.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_PRICE_ENDPOINT1" Comment="Price" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_SE_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Price cluster provides an interface to communicates pricing information.&lt;br&gt; - Server gives price information.&lt;br&gt; - Client asks for price information to the server.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_PRICE_ENDPOINT1" Comment="Price" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Price cluster provides an interface to communicates pricing information.&lt;br&gt; - Server gives price information.&lt;br&gt; - Client asks for price information to the server.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_TUNNELING_ENDPOINT1_ENDPOINT1" Comment="Smart Energy Tunneling" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_SE_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Smart Energy Tunneling cluster provides an interface for tunneling protocols.&lt;br&gt; - Server provides and manages tunnels.&lt;br&gt; - Client requests a tunnel and close it.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_TUNNELING_ENDPOINT1_ENDPOINT1" Comment="Smart Energy Tunneling" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Smart Energy Tunneling cluster provides an interface for tunneling protocols.&lt;br&gt; - Server provides and manages tunnels.&lt;br&gt; - Client requests a tunnel and close it.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_KEY_ESTABLISHMENT_ENDPOINT1" Comment="Key Establishment" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_SE_ENDPOINT1"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Key Establishment cluster is to be used for communication between devices if original network security can not be trusted.&lt;br&gt; - Server initiates the secure communication transaction.&lt;br&gt; - Client responds the secure communication transation.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_KEY_ESTABLISHMENT_ENDPOINT1" Comment="Key Establishment" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Key Establishment cluster is to be used for communication between devices if original network security can not be trusted.&lt;br&gt; - Server initiates the secure communication transaction.&lt;br&gt; - Client responds the secure communication transation.</Description>
	</RefParameter>

    <RefParameter Name="ZCL_DEHUMIDIFICATION_CONTROL_ENDPOINT1" Comment="Dehumidification Control" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
        <Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_HA_ENDPOINT1"/>
        <PossibleValue Value="SERVER" Comment="Server"/>
        <PossibleValue Value="CLIENT" Comment="Client"/>
        <PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
        <PossibleValue Value="NONE" Comment="Not used"/>
        <Description>Dehumidification Control cluster provides an interface to configure an control dehumidification devices.&lt;br&gt; - Server configures the dehumidification device.&lt;br&gt; - Client controls the functionalities of the dehumidification device.</Description>
    </RefParameter>
    <RefParameter Name="ZCL_DEHUMIDIFICATION_CONTROL_ENDPOINT1" Comment="Dehumidification Control" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
        <PossibleValue Value="NONE" Comment="Not used"/>
        <Description>Dehumidification Control cluster provides an interface to configure an control dehumidification devices.&lt;br&gt; - Server configures the dehumidification device.&lt;br&gt; - Client controls the functionalities of the dehumidification device.</Description>
    </RefParameter>

    <RefParameter Name="ZCL_BALLAST_CONFIGURATION_ENDPOINT1" Comment="Ballast Configuration" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
        <Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_HA_ENDPOINT1"/>
        <PossibleValue Value="SERVER" Comment="Server"/>
        <PossibleValue Value="CLIENT" Comment="Client"/>
        <PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
        <PossibleValue Value="NONE" Comment="Not used"/>
        <Description>Ballast Configuration cluster provides an interface to configure an control lighting ballasts.&lt;br&gt; - Server receives command to configure the lighting ballasts.&lt;br&gt; - Client sends commands to configure and control lighting ballasts.</Description>
    </RefParameter>
    <RefParameter Name="ZCL_BALLAST_CONFIGURATION_ENDPOINT1" Comment="Ballast Configuration" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
        <PossibleValue Value="NONE" Comment="Not used"/>
        <Description>Ballast Configuration cluster provides an interface to configure an control lighting ballasts.&lt;br&gt; - Server receives command to configure the lighting ballasts.&lt;br&gt; - Client sends commands to configure and control lighting ballasts.</Description>
    </RefParameter>

    <RefParameter Name="ZCL_NEAREST_GATEWAY_ENDPOINT1" Comment="Nearest Gateway" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="true">
        <Condition Diagnostic="" Expression="S_ZIGBEE &amp; S_ZGB_PRF_HA_ENDPOINT1"/>
        <PossibleValue Value="SERVER" Comment="Server"/>
        <PossibleValue Value="CLIENT" Comment="Client"/>
        <PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
        <PossibleValue Value="NONE" Comment="Not used"/>
        <Description>Nearest Gateway cluster provides an interface to send nearest gateway information.&lt;br&gt; - Server gives the information of nearest gateway.&lt;br&gt; - Client asks for the nearest gateway.</Description>
    </RefParameter>
    <RefParameter Name="ZCL_NEAREST_GATEWAY_ENDPOINT1" Comment="Nearest Gateway" DefaultValue="NONE" Type="List" Group="Clusters" TabName="ENDPOINT1" Visible="false">
        <PossibleValue Value="NONE" Comment="Not used"/>
        <Description>Nearest Gateway cluster provides an interface to send nearest gateway information.&lt;br&gt; - Server gives the information of nearest gateway.&lt;br&gt; - Client asks for the nearest gateway.</Description>
    </RefParameter>

	<!-- Specific clusters-->
	<RefParameter Name="ZCL_OTA_UPGRADE_ENDPOINT1" Comment="OTA Upgrade" DefaultValue="NONE" Type="List" Group="Specific Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>OTA Upgrade cluster allows to upgrade application software over the air.&lt;br&gt; - Server distributes the software to upgrade.&lt;br&gt; - Client receives the software to update.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_OTA_UPGRADE_ENDPOINT1" Comment="OTA Upgrade" DefaultValue="NONE" Type="List" Group="Specific Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>OTA Upgrade cluster allows to upgrade application software over the air.&lt;br&gt; - Server distributes the software to upgrade.&lt;br&gt; - Client receives the software to update.</Description>
	</RefParameter>

	<RefParameter Name="ZCL_VOICE_OVER_ZGB_ENDPOINT1" Comment="Voice Over Zigbee" DefaultValue="NONE" Type="List" Group="Specific Clusters" TabName="ENDPOINT1" Visible="true">
		<Condition Diagnostic="" Expression="S_ZIGBEE"/>
		<PossibleValue Value="SERVER" Comment="Server"/>
		<PossibleValue Value="CLIENT" Comment="Client"/>
		<PossibleValue Value="SERVER_CLIENT" Comment="Server/Client"/>
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Voice Over Zigbee cluster allows voice transmition between Zigbee devices.&lt;br&gt; - Server receives the voice message.&lt;br&gt; - Client sends the voice message.</Description>
	</RefParameter>
	<RefParameter Name="ZCL_VOICE_OVER_ZGB_ENDPOINT1" Comment="Voice Over Zigbee" DefaultValue="NONE" Type="List" Group="Specific Clusters" TabName="ENDPOINT1" Visible="false">
		<PossibleValue Value="NONE" Comment="Not used"/>
		<Description>Voice Over Zigbee cluster allows voice transmition between Zigbee devices.&lt;br&gt; - Server receives the voice message.&lt;br&gt; - Client sends the voice message.</Description>
	</RefParameter>
	<!-- Zigbee EndPoint1 tab - End-->

	<!-- RefMode for ZGB ENDPOINTS -->
	<RefMode Name="STM32_WPAN_ZGB_ENDPOINT" BaseMode="STM32_WPAN_Enabled">
		<ConfigForMode>STM32_WPAN_Init</ConfigForMode>
		<Parameter Name="ENDPOINT1_ID"/>
		<Parameter Name="ZGB_ENDPOINT1_PROFILE_ID"/>
		<Parameter Name="ENDPOINT1_DEVICE_ID_HA"/>
		<Parameter Name="ENDPOINT1_DEVICE_ID_SE"/>
		<Parameter Name="ENDPOINT1_DEVICE_ID_ZLL"/>

		<!-- General clusters list-->
		<Parameter Name="ZCL_BASIC_ENDPOINT1"/>
		<Parameter Name="ZCL_IDENTIFY_ENDPOINT1"/>
		<Parameter Name="ZCL_ALARMS_ENDPOINT1"/>
		<Parameter Name="ZCL_TIME_ENDPOINT1"/>
		<Parameter Name="ZCL_COMMISSIONING_ENDPOINT1"/>
		<Parameter Name="ZCL_GROUPS_ENDPOINT1"/>
		<Parameter Name="ZCL_SCENES_ENDPOINT1"/>
		<Parameter Name="ZCL_OCCUPANCY_SENSING_ENDPOINT1"/>

		<Parameter Name="ZCL_DIAGNOSTICS_ENDPOINT1"/>

		<Parameter Name="ZCL_POLL_CONTROL_ENDPOINT1"/>
		<Parameter Name="ZCL_POWER_CONFIGURATION_ENDPOINT1"/>
		<Parameter Name="ZCL_POWER_PROFILE_ENDPOINT1"/>
		<Parameter Name="ZCL_RSSI_LOCATION_ENDPOINT1"/>
		
		<Parameter Name="ZCL_PRESSURE_MEASUREMENT_ENDPOINT1"/>
		<Parameter Name="ZCL_DEVICE_TEMPERATURE_CONFIGURATION_ENDPOINT1"/>
		<Parameter Name="ZCL_TEMPERATURE_MEASUREMENT_ENDPOINT1"/>
		<Parameter Name="ZCL_THERMOSTAT_ENDPOINT1"/>
		<Parameter Name="ZCL_THERMOSTAT_UI_CONFIGURATION_ENDPOINT1"/>
		<Parameter Name="ZCL_METER_IDENTIFICATION_ENDPOINT1"/>
		<Parameter Name="ZCL_ELECTRICAL_MEASUREMENT_ENDPOINT1"/>
		<Parameter Name="ZCL_FAN_CONTROL_ENDPOINT1"/>
		<Parameter Name="ZCL_PUMP_CONFIGURATION_CONTROL_ENDPOINT1"/>
		<Parameter Name="ZCL_RELATIVE_HUMIDITY_MEASUREMENT_ENDPOINT1"/>
		
		<Parameter Name="ZCL_ON_OFF_ENDPOINT1"/>
		<Parameter Name="ZCL_COLOR_CONTROL_ENDPOINT1"/>
		<Parameter Name="ZCL_ILLUMINANCE_LEVEL_SENSING_ENDPOINT1"/>
		<Parameter Name="ZCL_ILLUMINANCE_MEASUREMENT_ENDPOINT1"/>
		<Parameter Name="ZCL_LEVEL_CONTROL_ENDPOINT1"/>
		<Parameter Name="ZCL_ON_OFF_SWITCH_CONFIGURATION_ENDPOINT1"/>
		
		<Parameter Name="ZCL_DOOR_LOCK_ENDPOINT1"/>
		<Parameter Name="ZCL_WINDOW_COVERING_ENDPOINT1"/>
		
		<Parameter Name="ZCL_IAS_ACE_ENDPOINT1"/>
		<Parameter Name="ZCL_IAS_WD_ENDPOINT1"/>
		<Parameter Name="ZCL_IAS_ZONE_ENDPOINT1"/>
		<!-- SE -->
		<Parameter Name="ZCL_MESSAGING_ENDPOINT1"/>
		<Parameter Name="ZCL_DRLC_ENDPOINT1"/>
		<Parameter Name="ZCL_METERING_ENDPOINT1"/>
		<Parameter Name="ZCL_PRICE_ENDPOINT1"/>
		<Parameter Name="ZCL_TUNNELING_ENDPOINT1_ENDPOINT1"/>
		<!-- Key Establishment -->
		<Parameter Name="ZCL_KEY_ESTABLISHMENT_ENDPOINT1"/>
		<!-- Specific Clusters -->
		<Parameter Name="ZCL_NEAREST_GATEWAY_ENDPOINT1"/>
		<Parameter Name="ZCL_OTA_UPGRADE_ENDPOINT1"/>
		<Parameter Name="ZCL_DEHUMIDIFICATION_CONTROL_ENDPOINT1"/>
		<Parameter Name="ZCL_BALLAST_CONFIGURATION_ENDPOINT1"/>
		<Parameter Name="ZCL_VOICE_OVER_ZGB_ENDPOINT1"/>
	</RefMode>

	<!-- RefMode for STM32_WPAN -->	
    <RefMode Name="STM32_WPAN_Enabled">
        <ConfigForMode>STM32_WPAN_Init</ConfigForMode>
		<Parameter Name="FREERTOS_STATUS"/>
		<Parameter Name="BLE"/>
		<Parameter Name="THREAD"/>
		<Parameter Name="ZIGBEE"/>

    <!-- ZIGBEE -->
		<Parameter Name="ZGB_APPLICATION"/>
		<Parameter Name="ZGB_NW_MODE"/>
		<Parameter Name="ZGB_DEVICE_ROLE"/>
		<Parameter Name="ZGB_TOUCHLINK_CAPABILITY"/>
		<Parameter Name="ZGB_SLEEPY_MODE"/>
		<Parameter Name="ZGB_NB_ENDPOINTS"/>
		<Parameter Name="ZGB_CHANNEL"/>
	
    <!-- BLE -->
        <Parameter Name="BLE_APPLICATION_TYPE"/>
		<Parameter Name="BLE_TRANSPARENT_MODE_UART"/>
		<Parameter Name="BLE_TRANSPARENT_MODE_VCP"/>
        <Parameter Name="BT_SIG_BEACON"/>
        <Parameter Name="BT_SIG_BEACON_ENABLED"/>
        <Parameter Name="BT_SIG_BLOOD_PRESSURE_SENSOR"/>
        <Parameter Name="BT_SIG_HEALTH_THERMOMETER_SENSOR"/>
		<Parameter Name="BT_SIG_HEART_RATE_SENSOR"/>
        <Parameter Name="CUSTOM_OTA"/>
        <Parameter Name="CUSTOM_P2P_CLIENT"/>
        <Parameter Name="CUSTOM_P2P_ROUTER"/>
        <Parameter Name="CUSTOM_P2P_SERVER"/>
        <Parameter Name="CUSTOM_TEMPLATE"/>

    <!-- File ble_conf.h -->
    <!-- Parameter for BLE Stack Configuration -->
		<Parameter Name="BLE_CFG_PERIPHERAL"/>
		<Parameter Name="BLE_CFG_CENTRAL"/>
		<Parameter Name="BLE_CFG_SVC_MAX_NBR_CB"/>
		<Parameter Name="BLE_CFG_CLT_MAX_NBR_CB"/>
    <!-- Parameter for BLE Device Information Device Information ServiceOption-->
		<Parameter Name="BLE_CFG_DIS_MANUFACTURER_NAME_STRING"/>
		<Parameter Name="BLE_CFG_DIS_MODEL_NUMBER_STRING"/>
		<Parameter Name="BLE_CFG_DIS_SERIAL_NUMBER_STRING"/>
		<Parameter Name="BLE_CFG_DIS_HARDWARE_REVISION_STRING"/>
		<Parameter Name="BLE_CFG_DIS_FIRMWARE_REVISION_STRING"/>
		<Parameter Name="BLE_CFG_DIS_SOFTWARE_REVISION_STRING"/>
		<Parameter Name="BLE_CFG_DIS_SYSTEM_ID"/>
		<Parameter Name="BLE_CFG_DIS_IEEE_CERTIFICATION"/>
		<Parameter Name="BLE_CFG_DIS_PNP_ID"/>
    <!-- Parameter for Over The Air Feature (OTA)-->
        <Parameter Name="BLE_CFG_OTA_REBOOT_CHAR"/>
    <!-- Parameter for Heart Rate Service(HRS)-->
		<Parameter Name="BLE_CFG_HRS_BODY_SENSOR_LOCATION_CHAR"/>
		<Parameter Name="BLE_CFG_HRS_ENERGY_EXPENDED_INFO_FLAG"/>
		<Parameter Name="BLE_CFG_HRS_ENERGY_RR_INTERVAL_FLAG"/>
    <!-- Parameter for Health Thermometer Service(HTS)-->
		<Parameter Name="BLE_CFG_HTS_TEMPERATURE_TYPE_VALUE_STATIC"/>
		<Parameter Name="BLE_CFG_HTS_INTERMEDIATE_TEMPERATURE"/>
		<Parameter Name="BLE_CFG_HTS_MEASUREMENT_INTERVAL"/>
		<Parameter Name="BLE_CFG_HTS_MEASUREMENT_INTERVAL_IND_PROP"/>
		<Parameter Name="BLE_CFG_HTS_MEASUREMENT_INTERVAL_WR_PROP"/>
		<Parameter Name="BLE_CFG_HTS_TIME_STAMP_FLAG"/>
		<Parameter Name="BLE_CFG_HTS_TEMPERATURE_INTERVAL_MIN_VALUE"/>
		<Parameter Name="BLE_CFG_HTS_TEMPERATURE_INTERVAL_MAX_VALUE"/>
    <!-- Parameter for Blood Pressure Service(BLS)-->
		<Parameter Name="BLE_CFG_BLS_MEASUREMENT_STATUS_FLAG"/>
		<Parameter Name="BLE_CFG_BLS_PULSE_RATE_FLAG"/>
		<Parameter Name="BLE_CFG_BLS_USER_ID_FLAG"/>
		<Parameter Name="BLE_CFG_BLS_TIME_STAMP_FLAG"/>
		<Parameter Name="BLE_CFG_BLS_INTERMEDIATE_CUFF_PRESSURE"/>
		<Parameter Name="BLE_CFG_BLS_SUPPORTED_FEATURES"/>

    <!-- THREAD-->
        <Parameter Name="THREAD_APPLICATION"/>

    <!-- File hw_conf.h-->
		<!-- Parameters for hardware interface configuration-->
		<Parameter Name="CFG_HW_TS_MAX_NBR_CONCURRENT_TIMER"/>
		<Parameter Name="CFG_HW_TS_NVIC_RTC_WAKEUP_IT_PREEMPTPRIO"/>
		<Parameter Name="CFG_HW_TS_NVIC_RTC_WAKEUP_IT_SUBPRIO"/>
		<Parameter Name="CFG_HW_TS_USE_PRIMASK_AS_CRITICAL_SECTION"/>
		<Parameter Name="CFG_HW_TS_RTC_HANDLER_MAX_DELAY"/>
		<Parameter Name="CFG_HW_TS_RTC_WAKEUP_HANDLER_ID"/>
		<Parameter Name="CFG_HW_LPUART1_ENABLED"/>
		<Parameter Name="CFG_HW_LPUART1_DMA_TX_SUPPORTED"/>
		<Parameter Name="CFG_HW_USART1_ENABLED"/>
		<Parameter Name="CFG_HW_USART1_DMA_TX_SUPPORTED"/>
        <Parameter Name="LPUART1baudrate"/>
        <Parameter Name="LPUART1wordlength"/>
        <Parameter Name="LPUART1stopbits"/>
        <Parameter Name="LPUART1parity"/>
        <Parameter Name="LPUART1hwflowctl"/>
        <Parameter Name="LPUART1mode"/>
        <Parameter Name="LPUART1advfeatureinit"/>
        <Parameter Name="LPUART1_TX_PIN"/>
        <Parameter Name="LPUART1_RX_PIN"/>
        <Parameter Name="LPUART1_CTS_PIN"/>
        <Parameter Name="LPUART1_TX_DMA_CHANNEL"/>
        <Parameter Name="USART1baudrate"/>
        <Parameter Name="USART1wordlength"/>
        <Parameter Name="USART1stopbits"/>
        <Parameter Name="USART1parity"/>
        <Parameter Name="USART1hwflowctl"/>
        <Parameter Name="USART1mode"/>
        <Parameter Name="USART1advfeatureinit"/>
        <Parameter Name="USART1oversampling"/>
        <Parameter Name="USART1_TX_PIN"/>
        <Parameter Name="USART1_RX_PIN"/>
        <Parameter Name="USART1_CTS_PIN"/>
        <Parameter Name="USART1_TX_DMA_CHANNEL"/>

    <!-- File app_conf.h -->
        <!-- Ble Thread Zigbee Common -->
        <Parameter Name="CFG_HW_RESET_BY_FW"/>
        <Parameter Name="CFG_LPM_SUPPORTED"/>
        <Parameter Name="CFG_DEBUGGER_SUPPORTED"/>
        <!-- BLE specific -->
        <Parameter Name="CFG_TX_POWER"/>
        <!-- Ble Thread Common -->
        <Parameter Name="CFG_DEBUG_TRACE_UART"/>
        <!-- BLE specific -->
        <Parameter Name="CFG_CONSOLE_MENU"/>
        <Parameter Name="CFG_ADV_BD_ADDRESS"/>
        <Parameter Name="CFG_FAST_CONN_ADV_INTERVAL_MIN"/>
        <Parameter Name="CFG_FAST_CONN_ADV_INTERVAL_MIN_HEXA"/>
        <Parameter Name="CFG_FAST_CONN_ADV_INTERVAL_MAX"/>
        <Parameter Name="CFG_FAST_CONN_ADV_INTERVAL_MAX_HEXA"/>
        <Parameter Name="CFG_LP_CONN_ADV_INTERVAL_MIN"/>
        <Parameter Name="CFG_LP_CONN_ADV_INTERVAL_MIN_HEXA"/>
        <Parameter Name="CFG_LP_CONN_ADV_INTERVAL_MAX"/>
        <Parameter Name="CFG_LP_CONN_ADV_INTERVAL_MAX_HEXA"/>
        <!-- Pairing begin -->
        <Parameter Name="PAIRING_PARAMETERS"/>
        <Parameter Name="CFG_IO_CAPABILITY"/>
        <Parameter Name="CFG_BONDING_MODE"/>
        <Parameter Name="CFG_USED_FIXED_PIN"/>
        <Parameter Name="CFG_FIXED_PIN"/>
        <Parameter Name="CFG_ENCRYPTION_KEY_SIZE_MAX"/>
        <Parameter Name="CFG_ENCRYPTION_KEY_SIZE_MIN"/>
        <Parameter Name="CFG_MITM_PROTECTION"/>
        <Parameter Name="CFG_SC_SUPPORT"/>
        <Parameter Name="CFG_KEYPRESS_NOTIFICATION_SUPPORT"/>
<!--
        <Parameter Name="CFG_IDENTITY_ADDRESS_TYPE"/>
-->
        <!-- Pairing end-->
        <!-- Advertising begin -->
        <Parameter Name="ADV_TYPE"/>
        <Parameter Name="BLE_ADDR_TYPE"/>
        <Parameter Name="ADV_FILTER"/>
        <Parameter Name="GAP_PERIPHERAL_ROLE"/>
        <Parameter Name="GAP_BROADCASTER_ROLE"/>
        <Parameter Name="GAP_CENTRAL_ROLE"/>
        <Parameter Name="GAP_OBSERVER_ROLE"/>
        <Parameter Name="CFG_GAP_DEVICE_NAME"/>
        <Parameter Name="CFG_GAP_DEVICE_NAME_LENGTH"/>
        <Parameter Name="AD_DATA_LENGTH"/>
        <Parameter Name="INCLUDE_AD_TYPE_TX_POWER_LEVEL"/>
        <Parameter Name="AD_TYPE_TX_POWER_LEVEL_LENGTH"/>
        <Parameter Name="AD_TYPE_TX_POWER_LEVEL"/>
        <Parameter Name="AD_TYPE_TX_POWER_LEVEL_DBM"/>
        <Parameter Name="INCLUDE_AD_TYPE_COMPLETE_LOCAL_NAME"/>
        <Parameter Name="AD_TYPE_COMPLETE_LOCAL_NAME_LENGTH"/>
        <Parameter Name="AD_TYPE_COMPLETE_LOCAL_NAME"/>
        <Parameter Name="INCLUDE_AD_TYPE_SHORTENED_LOCAL_NAME"/>
        <Parameter Name="AD_TYPE_SHORTENED_LOCAL_NAME_LENGTH"/>
        <Parameter Name="AD_TYPE_SHORTENED_LOCAL_NAME"/>
        <Parameter Name="INCLUDE_AD_TYPE_APPEARANCE"/>
        <Parameter Name="AD_TYPE_APPEARANCE_LENGTH"/>
        <Parameter Name="AD_TYPE_APPEARANCE"/>
        <Parameter Name="INCLUDE_AD_TYPE_ADVERTISING_INTERVAL"/>
        <Parameter Name="AD_TYPE_ADVERTISING_INTERVAL_LENGTH"/>
        <Parameter Name="AD_TYPE_ADVERTISING_INTERVAL"/>
        <Parameter Name="AD_TYPE_ADVERTISING_INTERVAL_VALUE"/>
        <Parameter Name="AD_TYPE_ADVERTISING_INTERVAL_VALUE_HEX"/>
        <Parameter Name="INCLUDE_AD_TYPE_LE_ROLE"/>
        <Parameter Name="AD_TYPE_LE_ROLE_LENGTH"/>
        <Parameter Name="AD_TYPE_LE_ROLE"/>
        <Parameter Name="INCLUDE_AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST"/>
        <Parameter Name="AD_TYPE_16_BIT_SERV_UUID_CMPLT_LIST_LENGTH"/>
        <Parameter Name="AD_SERVICE_CLASS_UUID_NBR"/>
        <Parameter Name="AD_SERVICE_CLASS_UUID_1"/>
        <Parameter Name="AD_SERVICE_CLASS_UUID_2"/>
        <Parameter Name="AD_SERVICE_CLASS_UUID_3"/>
        <Parameter Name="AD_SERVICE_CLASS_UUID_4"/>
        <Parameter Name="AD_SERVICE_CLASS_UUID_5"/>
        <Parameter Name="AD_SERVICE_CLASS_UUID_6"/>
        <Parameter Name="AD_SERVICE_CLASS_UUID_7"/>
        <Parameter Name="AD_SERVICE_CLASS_UUID_8"/>
        <Parameter Name="AD_SERVICE_CLASS_UUID_9"/>
        <Parameter Name="AD_SERVICE_CLASS_UUID_10"/>
        <Parameter Name="AD_SERVICE_CLASS_UUID_11"/>
        <Parameter Name="INCLUDE_AD_TYPE_128_BIT_SERV_UUID_CMPLT_LIST"/>
        <Parameter Name="AD_TYPE_128_BIT_SERV_UUID_CMPLT_LIST_LENGTH"/>
        <Parameter Name="AD_TYPE_128_BIT_SERV_UUID_CMPLT_LIST"/>
        <Parameter Name="INCLUDE_AD_TYPE_SLAVE_CONN_INTERVAL"/>
        <Parameter Name="AD_TYPE_SLAVE_CONN_INTERVAL_LENGTH"/>
        <Parameter Name="AD_TYPE_SLAVE_CONN_INTERVAL_MIN_MAX"/>
        <Parameter Name="AD_TYPE_SLAVE_CONN_INTERVAL_MIN"/>
        <Parameter Name="AD_TYPE_SLAVE_CONN_INTERVAL_MIN_HEXA"/>
        <Parameter Name="AD_TYPE_SLAVE_CONN_INTERVAL_MAX"/>
        <Parameter Name="AD_TYPE_SLAVE_CONN_INTERVAL_MAX_HEXA"/>
        <Parameter Name="INCLUDE_AD_TYPE_URI"/>
        <Parameter Name="AD_TYPE_URI_LENGTH"/>
        <Parameter Name="AD_TYPE_URI_CODE_POINT"/>
        <Parameter Name="AD_TYPE_URI_DATA"/>
        <Parameter Name="AD_TYPE_URI_DATA_LENGTH"/>
        <Parameter Name="INCLUDE_AD_TYPE_MANUFACTURER_SPECIFIC_DATA"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_SPECIFIC_DATA_LENGTH"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_SPECIFIC_DATA_COMPANY_IDENTIFIER"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_NBR"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_1"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_1"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_2"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_2"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_3"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_3"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_4"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_4"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_5"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_5"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_6"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_6"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_7"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_7"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_8"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_8"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_9"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_9"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_10"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_10"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_11"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_11"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_12"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_12"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_13"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_13"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_14"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_14"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_15"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_15"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_16"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_16"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_17"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_17"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_18"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_18"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_19"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_19"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_20"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_20"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_21"/>
        <Parameter Name="AD_TYPE_MANUFACTURER_DATA_COMMENT_21"/>
        <!-- Advertising end -->

        <!-- GATT begin -->

        <Parameter Name="NUMBER_OF_SERVICES" TabName="BLE GATT" Group="Services configuration">
            <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
        </Parameter>

        <Parameter Name="SERVICE1_LONG_NAME" RefParameter="SERVICE_LONG_NAME" TabName="BLE GATT" Group="Service1">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE1"/>
        </Parameter>
        <Parameter Name="SERVICE1_SHORT_NAME" RefParameter="SERVICE_SHORT_NAME" TabName="BLE GATT" Group="Service1">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE1"/>
        </Parameter>

        <Parameter Name="SERVICE2_LONG_NAME" RefParameter="SERVICE_LONG_NAME" TabName="BLE GATT" Group="Service2">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE2"/>
        </Parameter>
        <Parameter Name="SERVICE2_SHORT_NAME" RefParameter="SERVICE_SHORT_NAME" TabName="BLE GATT" Group="Service2">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE2"/>
        </Parameter>

        <Parameter Name="SERVICE3_LONG_NAME" RefParameter="SERVICE_LONG_NAME" TabName="BLE GATT" Group="Service3">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE3"/>
        </Parameter>
        <Parameter Name="SERVICE3_SHORT_NAME" RefParameter="SERVICE_SHORT_NAME" TabName="BLE GATT" Group="Service3">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE3"/>
        </Parameter>

        <Parameter Name="SERVICE4_LONG_NAME" RefParameter="SERVICE_LONG_NAME" TabName="BLE GATT" Group="Service4">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE4"/>
        </Parameter>
        <Parameter Name="SERVICE4_SHORT_NAME" RefParameter="SERVICE_SHORT_NAME" TabName="BLE GATT" Group="Service4">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE4"/>
        </Parameter>

        <Parameter Name="SERVICE5_LONG_NAME" RefParameter="SERVICE_LONG_NAME" TabName="BLE GATT" Group="Service5">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE5"/>
        </Parameter>
        <Parameter Name="SERVICE5_SHORT_NAME" RefParameter="SERVICE_SHORT_NAME" TabName="BLE GATT" Group="Service5">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE5"/>
        </Parameter>

        <Parameter Name="SERVICE_CHAR_PROP_NONE" TabName="BLE GATT" Group="Services configuration">
            <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
        </Parameter>

        <Parameter Name="SERVICE_CHAR_ATTR_PERMISSION_NONE" TabName="BLE GATT" Group="Services configuration">
            <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
        </Parameter>

        <Parameter Name="SERVICE_CHAR_GATT_DONT_NOTIFY_EVENTS" TabName="BLE GATT" Group="Services configuration">
            <Condition Diagnostic="" Expression="Semaphore_CUSTOM_TEMPLATE"/>
        </Parameter>

        <!-- GATT SERVICE1 begin -->

        <Parameter Name="SERVICE1_NUMBER_OF_CHARACTERISTICS" RefParameter="SERVICE_NUMBER_OF_CHARACTERISTICS" TabName="Service1" Group="Service1">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE1"/>
        </Parameter>

        <Parameter Name="SERVICE1_UUID_TYPE" RefParameter="SERVICE_UUID_TYPE" TabName="Service1" Group="Service1">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE1"/>
        </Parameter>

        <Parameter Name="SERVICE1_UUID" RefParameter="SERVICE_UUID" TabName="Service1" Group="Service1">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE1"/>
        </Parameter>

        <Parameter Name="SERVICE1_TYPE" RefParameter="SERVICE_TYPE" TabName="Service1" Group="Service1">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE1"/>
        </Parameter>

        <Parameter Name="SERVICE1_MAX_ATTRIBUTES_RECORDS"/>

        <!-- GATT SERVICE1 characteristic1 begin -->

        <Parameter Name="SERVICE1_CHAR1_LONG_NAME" RefParameter="SERVICE_CHAR_LONG_NAME" TabName="Service1" Group="Characteristic1 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS1"/>
        </Parameter>
        <Parameter Name="SERVICE1_CHAR1_SHORT_NAME" RefParameter="SERVICE_CHAR_SHORT_NAME" TabName="Service1" Group="Characteristic1 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR1_UUID_TYPE" RefParameter ="SERVICE_CHAR_UUID_TYPE" TabName="Service1" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR1_UUID" RefParameter ="SERVICE_CHAR_UUID" TabName="Service1" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR1_VALUE_LENGTH" RefParameter ="SERVICE_CHAR_VALUE_LENGTH" TabName="Service1" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR1_LENGTH_CHARACTERISTIC" RefParameter="SERVICE_CHAR_LENGTH_CHARACTERISTIC" TabName="Service1" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR1_ENC_KEY_SIZE" RefParameter="SERVICE_CHAR_ENC_KEY_SIZE" TabName="Service1" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR1_VALUE_OFFSET" TabName="Service1" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS1 &amp; (Semaphore_SERVICE1_CHAR1_PROP_NOTIFY | Semaphore_SERVICE1_CHAR1_PROP_INDICATE)"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR1_PROP_BROADCAST" RefParameter="SERVICE_CHAR_PROP_BROADCAST" TabName="Service1" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR1_PROP_READ" RefParameter="SERVICE_CHAR_PROP_READ" TabName="Service1" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR1_PROP_WRITE_WITHOUT_RESP" RefParameter="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" TabName="Service1" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS1"/>
                <PossibleValue Condition="SERVICE1_CHAR1_PROP_WRITE=CHAR_PROP_WRITE" Diagnostic="not available when SERVICE1_CHAR1_PROP_WRITE=Yes" Comment="Yes">CHAR_PROP_WRITE_WITHOUT_RESP</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR1_PROP_WRITE" RefParameter="SERVICE_CHAR_PROP_WRITE" TabName="Service1" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS1"/>
                <PossibleValue Condition="SERVICE1_CHAR1_PROP_WRITE_WITHOUT_RESP=CHAR_PROP_WRITE_WITHOUT_RESP" Diagnostic="not available when SERVICE1_CHAR1_PROP_WRITE_WITHOUT_RESP=Yes" Comment="Yes">CHAR_PROP_WRITE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR1_PROP_NOTIFY" RefParameter="SERVICE_CHAR_PROP_NOTIFY" TabName="Service1" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS1"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE1_CHAR1_PROP_NOTIFY">CHAR_PROP_NOTIFY</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR1_PROP_INDICATE" RefParameter="SERVICE_CHAR_PROP_INDICATE" TabName="Service1" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS1"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE1_CHAR1_PROP_INDICATE">CHAR_PROP_INDICATE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <!-- Parameter Name="SERVICE1_CHAR1_PROP_SIGNED_WRITE" RefParameter="SERVICE_CHAR_PROP_SIGNED_WRITE" TabName="Service1" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR1_PROP_EXT" RefParameter="SERVICE_CHAR_PROP_EXT" TabName="Service1" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS1"/>
        </Parameter-->

        <Parameter Name="SERVICE1_CHAR1_ATTR_PERMISSION_AUTHEN_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" TabName="Service1" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR1_ATTR_PERMISSION_AUTHOR_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" TabName="Service1" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR1_ATTR_PERMISSION_ENCRY_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" TabName="Service1" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR1_ATTR_PERMISSION_AUTHEN_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" TabName="Service1" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR1_ATTR_PERMISSION_AUTHOR_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" TabName="Service1" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR1_ATTR_PERMISSION_ENCRY_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" TabName="Service1" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR1_GATT_NOTIFY_ATTRIBUTE_WRITE" RefParameter="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" TabName="Service1" Group="Characteristic1 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR1_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service1" Group="Characteristic1 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR1_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service1" Group="Characteristic1 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS1"/>
        </Parameter>

        <!-- GATT SERVICE1 characteristic1 end -->

        <!-- GATT SERVICE1 characteristic2 begin -->

        <Parameter Name="SERVICE1_CHAR2_LONG_NAME" RefParameter="SERVICE_CHAR_LONG_NAME" TabName="Service1" Group="Characteristic2 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS2"/>
        </Parameter>
        <Parameter Name="SERVICE1_CHAR2_SHORT_NAME" RefParameter="SERVICE_CHAR_SHORT_NAME" TabName="Service1" Group="Characteristic2 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR2_UUID_TYPE" RefParameter ="SERVICE_CHAR_UUID_TYPE" TabName="Service1" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR2_UUID" RefParameter ="SERVICE_CHAR_UUID" TabName="Service1" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR2_VALUE_LENGTH" RefParameter ="SERVICE_CHAR_VALUE_LENGTH" TabName="Service1" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR2_LENGTH_CHARACTERISTIC" RefParameter="SERVICE_CHAR_LENGTH_CHARACTERISTIC" TabName="Service1" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR2_ENC_KEY_SIZE" RefParameter="SERVICE_CHAR_ENC_KEY_SIZE" TabName="Service1" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR2_VALUE_OFFSET" TabName="Service1" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS2 &amp; (Semaphore_SERVICE1_CHAR2_PROP_NOTIFY | Semaphore_SERVICE1_CHAR2_PROP_INDICATE)"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR2_PROP_BROADCAST" RefParameter="SERVICE_CHAR_PROP_BROADCAST" TabName="Service1" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR2_PROP_READ" RefParameter="SERVICE_CHAR_PROP_READ" TabName="Service1" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR2_PROP_WRITE_WITHOUT_RESP" RefParameter="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" TabName="Service1" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS2"/>
                <PossibleValue Condition="SERVICE1_CHAR2_PROP_WRITE=CHAR_PROP_WRITE" Diagnostic="not available when SERVICE1_CHAR2_PROP_WRITE=Yes" Comment="Yes">CHAR_PROP_WRITE_WITHOUT_RESP</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR2_PROP_WRITE" RefParameter="SERVICE_CHAR_PROP_WRITE" TabName="Service1" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS2"/>
                <PossibleValue Condition="SERVICE1_CHAR2_PROP_WRITE_WITHOUT_RESP=CHAR_PROP_WRITE_WITHOUT_RESP" Diagnostic="not available when SERVICE1_CHAR2_PROP_WRITE_WITHOUT_RESP=Yes" Comment="Yes">CHAR_PROP_WRITE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR2_PROP_NOTIFY" RefParameter="SERVICE_CHAR_PROP_NOTIFY" TabName="Service1" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS2"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE1_CHAR2_PROP_NOTIFY">CHAR_PROP_NOTIFY</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR2_PROP_INDICATE" RefParameter="SERVICE_CHAR_PROP_INDICATE" TabName="Service1" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS2"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE1_CHAR2_PROP_INDICATE">CHAR_PROP_INDICATE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <!-- Parameter Name="SERVICE1_CHAR2_PROP_SIGNED_WRITE" RefParameter="SERVICE_CHAR_PROP_SIGNED_WRITE" TabName="Service1" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR2_PROP_EXT" RefParameter="SERVICE_CHAR_PROP_EXT" TabName="Service1" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS2"/>
        </Parameter-->

        <Parameter Name="SERVICE1_CHAR2_ATTR_PERMISSION_AUTHEN_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" TabName="Service1" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR2_ATTR_PERMISSION_AUTHOR_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" TabName="Service1" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR2_ATTR_PERMISSION_ENCRY_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" TabName="Service1" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR2_ATTR_PERMISSION_AUTHEN_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" TabName="Service1" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR2_ATTR_PERMISSION_AUTHOR_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" TabName="Service1" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR2_ATTR_PERMISSION_ENCRY_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" TabName="Service1" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS2"/>
        </Parameter>        

        <Parameter Name="SERVICE1_CHAR2_GATT_NOTIFY_ATTRIBUTE_WRITE" RefParameter="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" TabName="Service1" Group="Characteristic2 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR2_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service1" Group="Characteristic2 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR2_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service1" Group="Characteristic2 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS2"/>
        </Parameter>

        <!-- GATT SERVICE1 characteristic2 end -->

        <!-- GATT SERVICE1 characteristic3 begin -->

        <Parameter Name="SERVICE1_CHAR3_LONG_NAME" RefParameter="SERVICE_CHAR_LONG_NAME" TabName="Service1" Group="Characteristic3 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS3"/>
        </Parameter>
        <Parameter Name="SERVICE1_CHAR3_SHORT_NAME" RefParameter="SERVICE_CHAR_SHORT_NAME" TabName="Service1" Group="Characteristic3 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR3_UUID_TYPE" RefParameter ="SERVICE_CHAR_UUID_TYPE" TabName="Service1" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR3_UUID" RefParameter ="SERVICE_CHAR_UUID" TabName="Service1" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR3_VALUE_LENGTH" RefParameter ="SERVICE_CHAR_VALUE_LENGTH" TabName="Service1" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR3_LENGTH_CHARACTERISTIC" RefParameter="SERVICE_CHAR_LENGTH_CHARACTERISTIC" TabName="Service1" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR3_ENC_KEY_SIZE" RefParameter="SERVICE_CHAR_ENC_KEY_SIZE" TabName="Service1" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR3_VALUE_OFFSET" TabName="Service1" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS3 &amp; (Semaphore_SERVICE1_CHAR3_PROP_NOTIFY | Semaphore_SERVICE1_CHAR3_PROP_INDICATE)"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR3_PROP_BROADCAST" RefParameter="SERVICE_CHAR_PROP_BROADCAST" TabName="Service1" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR3_PROP_READ" RefParameter="SERVICE_CHAR_PROP_READ" TabName="Service1" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR3_PROP_WRITE_WITHOUT_RESP" RefParameter="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" TabName="Service1" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS3"/>
                <PossibleValue Condition="SERVICE1_CHAR3_PROP_WRITE=CHAR_PROP_WRITE" Diagnostic="not available when SERVICE1_CHAR3_PROP_WRITE=Yes" Comment="Yes">CHAR_PROP_WRITE_WITHOUT_RESP</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR3_PROP_WRITE" RefParameter="SERVICE_CHAR_PROP_WRITE" TabName="Service1" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS3"/>
                <PossibleValue Condition="SERVICE1_CHAR3_PROP_WRITE_WITHOUT_RESP=CHAR_PROP_WRITE_WITHOUT_RESP" Diagnostic="not available when SERVICE1_CHAR3_PROP_WRITE_WITHOUT_RESP=Yes" Comment="Yes">CHAR_PROP_WRITE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR3_PROP_NOTIFY" RefParameter="SERVICE_CHAR_PROP_NOTIFY" TabName="Service1" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS3"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE1_CHAR3_PROP_NOTIFY">CHAR_PROP_NOTIFY</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR3_PROP_INDICATE" RefParameter="SERVICE_CHAR_PROP_INDICATE" TabName="Service1" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS3"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE1_CHAR3_PROP_INDICATE">CHAR_PROP_INDICATE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <!-- Parameter Name="SERVICE1_CHAR3_PROP_SIGNED_WRITE" RefParameter="SERVICE_CHAR_PROP_SIGNED_WRITE" TabName="Service1" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR3_PROP_EXT" RefParameter="SERVICE_CHAR_PROP_EXT" TabName="Service1" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS3"/>
        </Parameter-->

        <Parameter Name="SERVICE1_CHAR3_ATTR_PERMISSION_AUTHEN_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" TabName="Service1" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR3_ATTR_PERMISSION_AUTHOR_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" TabName="Service1" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR3_ATTR_PERMISSION_ENCRY_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" TabName="Service1" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR3_ATTR_PERMISSION_AUTHEN_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" TabName="Service1" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR3_ATTR_PERMISSION_AUTHOR_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" TabName="Service1" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR3_ATTR_PERMISSION_ENCRY_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" TabName="Service1" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS3"/>
        </Parameter>        

        <Parameter Name="SERVICE1_CHAR3_GATT_NOTIFY_ATTRIBUTE_WRITE" RefParameter="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" TabName="Service1" Group="Characteristic3 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR3_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service1" Group="Characteristic3 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR3_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service1" Group="Characteristic3 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS3"/>
        </Parameter>

        <!-- GATT SERVICE1 characteristic3 end -->

        <!-- GATT SERVICE1 characteristic4 begin -->

        <Parameter Name="SERVICE1_CHAR4_LONG_NAME" RefParameter="SERVICE_CHAR_LONG_NAME" TabName="Service1" Group="Characteristic4 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS4"/>
        </Parameter>
        <Parameter Name="SERVICE1_CHAR4_SHORT_NAME" RefParameter="SERVICE_CHAR_SHORT_NAME" TabName="Service1" Group="Characteristic4 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR4_UUID_TYPE" RefParameter ="SERVICE_CHAR_UUID_TYPE" TabName="Service1" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR4_UUID" RefParameter ="SERVICE_CHAR_UUID" TabName="Service1" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR4_VALUE_LENGTH" RefParameter ="SERVICE_CHAR_VALUE_LENGTH" TabName="Service1" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR4_LENGTH_CHARACTERISTIC" RefParameter="SERVICE_CHAR_LENGTH_CHARACTERISTIC" TabName="Service1" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR4_ENC_KEY_SIZE" RefParameter="SERVICE_CHAR_ENC_KEY_SIZE" TabName="Service1" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR4_VALUE_OFFSET" TabName="Service1" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS4 &amp; (Semaphore_SERVICE1_CHAR4_PROP_NOTIFY | Semaphore_SERVICE1_CHAR4_PROP_INDICATE)"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR4_PROP_BROADCAST" RefParameter="SERVICE_CHAR_PROP_BROADCAST" TabName="Service1" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR4_PROP_READ" RefParameter="SERVICE_CHAR_PROP_READ" TabName="Service1" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR4_PROP_WRITE_WITHOUT_RESP" RefParameter="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" TabName="Service1" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS4"/>
                <PossibleValue Condition="SERVICE1_CHAR4_PROP_WRITE=CHAR_PROP_WRITE" Diagnostic="not available when SERVICE1_CHAR4_PROP_WRITE=Yes" Comment="Yes">CHAR_PROP_WRITE_WITHOUT_RESP</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR4_PROP_WRITE" RefParameter="SERVICE_CHAR_PROP_WRITE" TabName="Service1" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS4"/>
                <PossibleValue Condition="SERVICE1_CHAR4_PROP_WRITE_WITHOUT_RESP=CHAR_PROP_WRITE_WITHOUT_RESP" Diagnostic="not available when SERVICE1_CHAR4_PROP_WRITE_WITHOUT_RESP=Yes" Comment="Yes">CHAR_PROP_WRITE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR4_PROP_NOTIFY" RefParameter="SERVICE_CHAR_PROP_NOTIFY" TabName="Service1" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS4"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE1_CHAR4_PROP_NOTIFY">CHAR_PROP_NOTIFY</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR4_PROP_INDICATE" RefParameter="SERVICE_CHAR_PROP_INDICATE" TabName="Service1" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS4"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE1_CHAR4_PROP_INDICATE">CHAR_PROP_INDICATE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <!-- Parameter Name="SERVICE1_CHAR4_PROP_SIGNED_WRITE" RefParameter="SERVICE_CHAR_PROP_SIGNED_WRITE" TabName="Service1" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR4_PROP_EXT" RefParameter="SERVICE_CHAR_PROP_EXT" TabName="Service1" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS4"/>
        </Parameter-->

        <Parameter Name="SERVICE1_CHAR4_ATTR_PERMISSION_AUTHEN_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" TabName="Service1" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR4_ATTR_PERMISSION_AUTHOR_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" TabName="Service1" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR4_ATTR_PERMISSION_ENCRY_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" TabName="Service1" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR4_ATTR_PERMISSION_AUTHEN_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" TabName="Service1" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR4_ATTR_PERMISSION_AUTHOR_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" TabName="Service1" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR4_ATTR_PERMISSION_ENCRY_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" TabName="Service1" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS4"/>
        </Parameter>        

        <Parameter Name="SERVICE1_CHAR4_GATT_NOTIFY_ATTRIBUTE_WRITE" RefParameter="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" TabName="Service1" Group="Characteristic4 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR4_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service1" Group="Characteristic4 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR4_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service1" Group="Characteristic4 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS4"/>
        </Parameter>

        <!-- GATT SERVICE1 characteristic4 end -->


        <!-- GATT SERVICE1 characteristic5 begin -->

        <Parameter Name="SERVICE1_CHAR5_LONG_NAME" RefParameter="SERVICE_CHAR_LONG_NAME" TabName="Service1" Group="Characteristic5 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS5"/>
        </Parameter>
        <Parameter Name="SERVICE1_CHAR5_SHORT_NAME" RefParameter="SERVICE_CHAR_SHORT_NAME" TabName="Service1" Group="Characteristic5 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR5_UUID_TYPE" RefParameter ="SERVICE_CHAR_UUID_TYPE" TabName="Service1" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR5_UUID" RefParameter ="SERVICE_CHAR_UUID" TabName="Service1" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR5_VALUE_LENGTH" RefParameter ="SERVICE_CHAR_VALUE_LENGTH" TabName="Service1" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR5_LENGTH_CHARACTERISTIC" RefParameter="SERVICE_CHAR_LENGTH_CHARACTERISTIC" TabName="Service1" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR5_ENC_KEY_SIZE" RefParameter="SERVICE_CHAR_ENC_KEY_SIZE" TabName="Service1" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR5_VALUE_OFFSET" TabName="Service1" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS5 &amp; (Semaphore_SERVICE1_CHAR5_PROP_NOTIFY | Semaphore_SERVICE1_CHAR5_PROP_INDICATE)"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR5_PROP_BROADCAST" RefParameter="SERVICE_CHAR_PROP_BROADCAST" TabName="Service1" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR5_PROP_READ" RefParameter="SERVICE_CHAR_PROP_READ" TabName="Service1" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR5_PROP_WRITE_WITHOUT_RESP" RefParameter="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" TabName="Service1" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS5"/>
                <PossibleValue Condition="SERVICE1_CHAR5_PROP_WRITE=CHAR_PROP_WRITE" Diagnostic="not available when SERVICE1_CHAR5_PROP_WRITE=Yes" Comment="Yes">CHAR_PROP_WRITE_WITHOUT_RESP</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR5_PROP_WRITE" RefParameter="SERVICE_CHAR_PROP_WRITE" TabName="Service1" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS5"/>
                <PossibleValue Condition="SERVICE1_CHAR5_PROP_WRITE_WITHOUT_RESP=CHAR_PROP_WRITE_WITHOUT_RESP" Diagnostic="not available when SERVICE1_CHAR5_PROP_WRITE_WITHOUT_RESP=Yes" Comment="Yes">CHAR_PROP_WRITE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR5_PROP_NOTIFY" RefParameter="SERVICE_CHAR_PROP_NOTIFY" TabName="Service1" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS5"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE1_CHAR5_PROP_NOTIFY">CHAR_PROP_NOTIFY</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR5_PROP_INDICATE" RefParameter="SERVICE_CHAR_PROP_INDICATE" TabName="Service1" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS5"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE1_CHAR5_PROP_INDICATE">CHAR_PROP_INDICATE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <!-- Parameter Name="SERVICE1_CHAR5_PROP_SIGNED_WRITE" RefParameter="SERVICE_CHAR_PROP_SIGNED_WRITE" TabName="Service1" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR5_PROP_EXT" RefParameter="SERVICE_CHAR_PROP_EXT" TabName="Service1" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS5"/>
        </Parameter-->

        <Parameter Name="SERVICE1_CHAR5_ATTR_PERMISSION_AUTHEN_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" TabName="Service1" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR5_ATTR_PERMISSION_AUTHOR_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" TabName="Service1" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR5_ATTR_PERMISSION_ENCRY_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" TabName="Service1" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR5_ATTR_PERMISSION_AUTHEN_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" TabName="Service1" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR5_ATTR_PERMISSION_AUTHOR_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" TabName="Service1" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR5_ATTR_PERMISSION_ENCRY_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" TabName="Service1" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS5"/>
        </Parameter>        

        <Parameter Name="SERVICE1_CHAR5_GATT_NOTIFY_ATTRIBUTE_WRITE" RefParameter="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" TabName="Service1" Group="Characteristic5 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR5_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service1" Group="Characteristic5 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE1_CHAR5_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service1" Group="Characteristic5 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE1_CHARACTERISTICS5"/>
        </Parameter>

        <!-- GATT SERVICE1 characteristic5 end -->

        <!-- GATT SERVICE1 end -->

        <!-- GATT SERVICE2 begin -->

        <Parameter Name="SERVICE2_NUMBER_OF_CHARACTERISTICS" RefParameter="SERVICE_NUMBER_OF_CHARACTERISTICS" TabName="Service2" Group="Service2">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE2"/>
        </Parameter>

        <Parameter Name="SERVICE2_UUID_TYPE" RefParameter="SERVICE_UUID_TYPE" TabName="Service2" Group="Service2">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE2"/>
        </Parameter>

        <Parameter Name="SERVICE2_UUID" RefParameter="SERVICE_UUID" TabName="Service2" Group="Service2">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE2"/>
        </Parameter>

        <Parameter Name="SERVICE2_TYPE" RefParameter="SERVICE_TYPE" TabName="Service2" Group="Service2">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE2"/>
        </Parameter>

        <Parameter Name="SERVICE2_MAX_ATTRIBUTES_RECORDS"/>

        <!-- GATT SERVICE2 characteristic1 begin -->

        <Parameter Name="SERVICE2_CHAR1_LONG_NAME" RefParameter="SERVICE_CHAR_LONG_NAME" TabName="Service2" Group="Characteristic1 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS1"/>
        </Parameter>
        <Parameter Name="SERVICE2_CHAR1_SHORT_NAME" RefParameter="SERVICE_CHAR_SHORT_NAME" TabName="Service2" Group="Characteristic1 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR1_UUID_TYPE" RefParameter ="SERVICE_CHAR_UUID_TYPE" TabName="Service2" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR1_UUID" RefParameter ="SERVICE_CHAR_UUID" TabName="Service2" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR1_VALUE_LENGTH" RefParameter ="SERVICE_CHAR_VALUE_LENGTH" TabName="Service2" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR1_LENGTH_CHARACTERISTIC" RefParameter="SERVICE_CHAR_LENGTH_CHARACTERISTIC" TabName="Service2" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR1_ENC_KEY_SIZE" RefParameter="SERVICE_CHAR_ENC_KEY_SIZE" TabName="Service2" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR1_VALUE_OFFSET" TabName="Service2" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS1 &amp; (Semaphore_SERVICE2_CHAR1_PROP_NOTIFY | Semaphore_SERVICE2_CHAR1_PROP_INDICATE)"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR1_PROP_BROADCAST" RefParameter="SERVICE_CHAR_PROP_BROADCAST" TabName="Service2" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR1_PROP_READ" RefParameter="SERVICE_CHAR_PROP_READ" TabName="Service2" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR1_PROP_WRITE_WITHOUT_RESP" RefParameter="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" TabName="Service2" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS1"/>
                <PossibleValue Condition="SERVICE2_CHAR1_PROP_WRITE=CHAR_PROP_WRITE" Diagnostic="not available when SERVICE2_CHAR1_PROP_WRITE=Yes" Comment="Yes">CHAR_PROP_WRITE_WITHOUT_RESP</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR1_PROP_WRITE" RefParameter="SERVICE_CHAR_PROP_WRITE" TabName="Service2" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS1"/>
                <PossibleValue Condition="SERVICE2_CHAR1_PROP_WRITE_WITHOUT_RESP=CHAR_PROP_WRITE_WITHOUT_RESP" Diagnostic="not available when SERVICE2_CHAR1_PROP_WRITE_WITHOUT_RESP=Yes" Comment="Yes">CHAR_PROP_WRITE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR1_PROP_NOTIFY" RefParameter="SERVICE_CHAR_PROP_NOTIFY" TabName="Service2" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS1"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE2_CHAR1_PROP_NOTIFY">CHAR_PROP_NOTIFY</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR1_PROP_INDICATE" RefParameter="SERVICE_CHAR_PROP_INDICATE" TabName="Service2" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS1"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE2_CHAR1_PROP_INDICATE">CHAR_PROP_INDICATE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <!-- Parameter Name="SERVICE2_CHAR1_PROP_SIGNED_WRITE" RefParameter="SERVICE_CHAR_PROP_SIGNED_WRITE" TabName="Service2" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR1_PROP_EXT" RefParameter="SERVICE_CHAR_PROP_EXT" TabName="Service2" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS1"/>
        </Parameter-->

        <Parameter Name="SERVICE2_CHAR1_ATTR_PERMISSION_AUTHEN_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" TabName="Service2" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR1_ATTR_PERMISSION_AUTHOR_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" TabName="Service2" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR1_ATTR_PERMISSION_ENCRY_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" TabName="Service2" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR1_ATTR_PERMISSION_AUTHEN_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" TabName="Service2" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR1_ATTR_PERMISSION_AUTHOR_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" TabName="Service2" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR1_ATTR_PERMISSION_ENCRY_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" TabName="Service2" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS1"/>
        </Parameter>        

        <Parameter Name="SERVICE2_CHAR1_GATT_NOTIFY_ATTRIBUTE_WRITE" RefParameter="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" TabName="Service2" Group="Characteristic1 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR1_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service2" Group="Characteristic1 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR1_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service2" Group="Characteristic1 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS1"/>
        </Parameter>

        <!-- GATT SERVICE2 characteristic1 end -->

        <!-- GATT SERVICE2 characteristic2 begin -->

        <Parameter Name="SERVICE2_CHAR2_LONG_NAME" RefParameter="SERVICE_CHAR_LONG_NAME" TabName="Service2" Group="Characteristic2 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS2"/>
        </Parameter>
        <Parameter Name="SERVICE2_CHAR2_SHORT_NAME" RefParameter="SERVICE_CHAR_SHORT_NAME" TabName="Service2" Group="Characteristic2 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR2_UUID_TYPE" RefParameter ="SERVICE_CHAR_UUID_TYPE" TabName="Service2" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR2_UUID" RefParameter ="SERVICE_CHAR_UUID" TabName="Service2" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR2_VALUE_LENGTH" RefParameter ="SERVICE_CHAR_VALUE_LENGTH" TabName="Service2" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR2_LENGTH_CHARACTERISTIC" RefParameter="SERVICE_CHAR_LENGTH_CHARACTERISTIC" TabName="Service2" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR2_ENC_KEY_SIZE" RefParameter="SERVICE_CHAR_ENC_KEY_SIZE" TabName="Service2" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR2_VALUE_OFFSET" TabName="Service2" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS2 &amp; (Semaphore_SERVICE2_CHAR2_PROP_NOTIFY | Semaphore_SERVICE2_CHAR2_PROP_INDICATE)"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR2_PROP_BROADCAST" RefParameter="SERVICE_CHAR_PROP_BROADCAST" TabName="Service2" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR2_PROP_READ" RefParameter="SERVICE_CHAR_PROP_READ" TabName="Service2" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR2_PROP_WRITE_WITHOUT_RESP" RefParameter="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" TabName="Service2" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS2"/>
                <PossibleValue Condition="SERVICE2_CHAR2_PROP_WRITE=CHAR_PROP_WRITE" Diagnostic="not available when SERVICE2_CHAR2_PROP_WRITE=Yes" Comment="Yes">CHAR_PROP_WRITE_WITHOUT_RESP</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR2_PROP_WRITE" RefParameter="SERVICE_CHAR_PROP_WRITE" TabName="Service2" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS2"/>
                <PossibleValue Condition="SERVICE2_CHAR2_PROP_WRITE_WITHOUT_RESP=CHAR_PROP_WRITE_WITHOUT_RESP" Diagnostic="not available when SERVICE2_CHAR2_PROP_WRITE_WITHOUT_RESP=Yes" Comment="Yes">CHAR_PROP_WRITE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR2_PROP_NOTIFY" RefParameter="SERVICE_CHAR_PROP_NOTIFY" TabName="Service2" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS2"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE2_CHAR2_PROP_NOTIFY">CHAR_PROP_NOTIFY</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR2_PROP_INDICATE" RefParameter="SERVICE_CHAR_PROP_INDICATE" TabName="Service2" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS2"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE2_CHAR2_PROP_INDICATE">CHAR_PROP_INDICATE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <!-- Parameter Name="SERVICE2_CHAR2_PROP_SIGNED_WRITE" RefParameter="SERVICE_CHAR_PROP_SIGNED_WRITE" TabName="Service2" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR2_PROP_EXT" RefParameter="SERVICE_CHAR_PROP_EXT" TabName="Service2" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS2"/>
        </Parameter-->

        <Parameter Name="SERVICE2_CHAR2_ATTR_PERMISSION_AUTHEN_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" TabName="Service2" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR2_ATTR_PERMISSION_AUTHOR_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" TabName="Service2" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR2_ATTR_PERMISSION_ENCRY_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" TabName="Service2" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR2_ATTR_PERMISSION_AUTHEN_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" TabName="Service2" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR2_ATTR_PERMISSION_AUTHOR_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" TabName="Service2" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR2_ATTR_PERMISSION_ENCRY_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" TabName="Service2" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS2"/>
        </Parameter>        

        <Parameter Name="SERVICE2_CHAR2_GATT_NOTIFY_ATTRIBUTE_WRITE" RefParameter="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" TabName="Service2" Group="Characteristic2 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR2_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service2" Group="Characteristic2 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR2_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service2" Group="Characteristic2 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS2"/>
        </Parameter>

        <!-- GATT SERVICE2 characteristic2 end -->

        <!-- GATT SERVICE2 characteristic3 begin -->

        <Parameter Name="SERVICE2_CHAR3_LONG_NAME" RefParameter="SERVICE_CHAR_LONG_NAME" TabName="Service2" Group="Characteristic3 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS3"/>
        </Parameter>
        <Parameter Name="SERVICE2_CHAR3_SHORT_NAME" RefParameter="SERVICE_CHAR_SHORT_NAME" TabName="Service2" Group="Characteristic3 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR3_UUID_TYPE" RefParameter ="SERVICE_CHAR_UUID_TYPE" TabName="Service2" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR3_UUID" RefParameter ="SERVICE_CHAR_UUID" TabName="Service2" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR3_VALUE_LENGTH" RefParameter ="SERVICE_CHAR_VALUE_LENGTH" TabName="Service2" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR3_LENGTH_CHARACTERISTIC" RefParameter="SERVICE_CHAR_LENGTH_CHARACTERISTIC" TabName="Service2" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR3_ENC_KEY_SIZE" RefParameter="SERVICE_CHAR_ENC_KEY_SIZE" TabName="Service2" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR3_VALUE_OFFSET" TabName="Service2" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS3 &amp; (Semaphore_SERVICE2_CHAR3_PROP_NOTIFY | Semaphore_SERVICE2_CHAR3_PROP_INDICATE)"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR3_PROP_BROADCAST" RefParameter="SERVICE_CHAR_PROP_BROADCAST" TabName="Service2" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR3_PROP_READ" RefParameter="SERVICE_CHAR_PROP_READ" TabName="Service2" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR3_PROP_WRITE_WITHOUT_RESP" RefParameter="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" TabName="Service2" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS3"/>
                <PossibleValue Condition="SERVICE2_CHAR3_PROP_WRITE=CHAR_PROP_WRITE" Diagnostic="not available when SERVICE2_CHAR3_PROP_WRITE=Yes" Comment="Yes">CHAR_PROP_WRITE_WITHOUT_RESP</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR3_PROP_WRITE" RefParameter="SERVICE_CHAR_PROP_WRITE" TabName="Service2" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS3"/>
                <PossibleValue Condition="SERVICE2_CHAR3_PROP_WRITE_WITHOUT_RESP=CHAR_PROP_WRITE_WITHOUT_RESP" Diagnostic="not available when SERVICE2_CHAR3_PROP_WRITE_WITHOUT_RESP=Yes" Comment="Yes">CHAR_PROP_WRITE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR3_PROP_NOTIFY" RefParameter="SERVICE_CHAR_PROP_NOTIFY" TabName="Service2" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS3"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE2_CHAR3_PROP_NOTIFY">CHAR_PROP_NOTIFY</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR3_PROP_INDICATE" RefParameter="SERVICE_CHAR_PROP_INDICATE" TabName="Service2" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS3"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE2_CHAR3_PROP_INDICATE">CHAR_PROP_INDICATE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <!-- Parameter Name="SERVICE2_CHAR3_PROP_SIGNED_WRITE" RefParameter="SERVICE_CHAR_PROP_SIGNED_WRITE" TabName="Service2" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR3_PROP_EXT" RefParameter="SERVICE_CHAR_PROP_EXT" TabName="Service2" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS3"/>
        </Parameter-->

        <Parameter Name="SERVICE2_CHAR3_ATTR_PERMISSION_AUTHEN_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" TabName="Service2" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR3_ATTR_PERMISSION_AUTHOR_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" TabName="Service2" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR3_ATTR_PERMISSION_ENCRY_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" TabName="Service2" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR3_ATTR_PERMISSION_AUTHEN_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" TabName="Service2" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR3_ATTR_PERMISSION_AUTHOR_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" TabName="Service2" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR3_ATTR_PERMISSION_ENCRY_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" TabName="Service2" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS3"/>
        </Parameter>        

        <Parameter Name="SERVICE2_CHAR3_GATT_NOTIFY_ATTRIBUTE_WRITE" RefParameter="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" TabName="Service2" Group="Characteristic3 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR3_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service2" Group="Characteristic3 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR3_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service2" Group="Characteristic3 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS3"/>
        </Parameter>

        <!-- GATT SERVICE2 characteristic3 end -->

        <!-- GATT SERVICE2 characteristic4 begin -->

        <Parameter Name="SERVICE2_CHAR4_LONG_NAME" RefParameter="SERVICE_CHAR_LONG_NAME" TabName="Service2" Group="Characteristic4 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS4"/>
        </Parameter>
        <Parameter Name="SERVICE2_CHAR4_SHORT_NAME" RefParameter="SERVICE_CHAR_SHORT_NAME" TabName="Service2" Group="Characteristic4 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR4_UUID_TYPE" RefParameter ="SERVICE_CHAR_UUID_TYPE" TabName="Service2" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR4_UUID" RefParameter ="SERVICE_CHAR_UUID" TabName="Service2" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR4_VALUE_LENGTH" RefParameter ="SERVICE_CHAR_VALUE_LENGTH" TabName="Service2" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR4_LENGTH_CHARACTERISTIC" RefParameter="SERVICE_CHAR_LENGTH_CHARACTERISTIC" TabName="Service2" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR4_ENC_KEY_SIZE" RefParameter="SERVICE_CHAR_ENC_KEY_SIZE" TabName="Service2" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR4_VALUE_OFFSET" TabName="Service2" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS4 &amp; (Semaphore_SERVICE2_CHAR4_PROP_NOTIFY | Semaphore_SERVICE2_CHAR4_PROP_INDICATE)"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR4_PROP_BROADCAST" RefParameter="SERVICE_CHAR_PROP_BROADCAST" TabName="Service2" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR4_PROP_READ" RefParameter="SERVICE_CHAR_PROP_READ" TabName="Service2" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR4_PROP_WRITE_WITHOUT_RESP" RefParameter="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" TabName="Service2" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS4"/>
                <PossibleValue Condition="SERVICE2_CHAR4_PROP_WRITE=CHAR_PROP_WRITE" Diagnostic="not available when SERVICE2_CHAR4_PROP_WRITE=Yes" Comment="Yes">CHAR_PROP_WRITE_WITHOUT_RESP</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR4_PROP_WRITE" RefParameter="SERVICE_CHAR_PROP_WRITE" TabName="Service2" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS4"/>
                <PossibleValue Condition="SERVICE2_CHAR4_PROP_WRITE_WITHOUT_RESP=CHAR_PROP_WRITE_WITHOUT_RESP" Diagnostic="not available when SERVICE2_CHAR4_PROP_WRITE_WITHOUT_RESP=Yes" Comment="Yes">CHAR_PROP_WRITE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR4_PROP_NOTIFY" RefParameter="SERVICE_CHAR_PROP_NOTIFY" TabName="Service2" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS4"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE2_CHAR4_PROP_NOTIFY">CHAR_PROP_NOTIFY</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR4_PROP_INDICATE" RefParameter="SERVICE_CHAR_PROP_INDICATE" TabName="Service2" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS4"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE2_CHAR4_PROP_INDICATE">CHAR_PROP_INDICATE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <!-- Parameter Name="SERVICE2_CHAR4_PROP_SIGNED_WRITE" RefParameter="SERVICE_CHAR_PROP_SIGNED_WRITE" TabName="Service2" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR4_PROP_EXT" RefParameter="SERVICE_CHAR_PROP_EXT" TabName="Service2" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS4"/>
        </Parameter-->

        <Parameter Name="SERVICE2_CHAR4_ATTR_PERMISSION_AUTHEN_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" TabName="Service2" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR4_ATTR_PERMISSION_AUTHOR_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" TabName="Service2" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR4_ATTR_PERMISSION_ENCRY_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" TabName="Service2" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR4_ATTR_PERMISSION_AUTHEN_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" TabName="Service2" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR4_ATTR_PERMISSION_AUTHOR_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" TabName="Service2" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR4_ATTR_PERMISSION_ENCRY_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" TabName="Service2" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS4"/>
        </Parameter>        

        <Parameter Name="SERVICE2_CHAR4_GATT_NOTIFY_ATTRIBUTE_WRITE" RefParameter="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" TabName="Service2" Group="Characteristic4 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR4_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service2" Group="Characteristic4 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR4_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service2" Group="Characteristic4 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS4"/>
        </Parameter>

        <!-- GATT SERVICE2 characteristic4 end -->


        <!-- GATT SERVICE2 characteristic5 begin -->

        <Parameter Name="SERVICE2_CHAR5_LONG_NAME" RefParameter="SERVICE_CHAR_LONG_NAME" TabName="Service2" Group="Characteristic5 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS5"/>
        </Parameter>
        <Parameter Name="SERVICE2_CHAR5_SHORT_NAME" RefParameter="SERVICE_CHAR_SHORT_NAME" TabName="Service2" Group="Characteristic5 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR5_UUID_TYPE" RefParameter ="SERVICE_CHAR_UUID_TYPE" TabName="Service2" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR5_UUID" RefParameter ="SERVICE_CHAR_UUID" TabName="Service2" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR5_VALUE_LENGTH" RefParameter ="SERVICE_CHAR_VALUE_LENGTH" TabName="Service2" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR5_LENGTH_CHARACTERISTIC" RefParameter="SERVICE_CHAR_LENGTH_CHARACTERISTIC" TabName="Service2" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR5_ENC_KEY_SIZE" RefParameter="SERVICE_CHAR_ENC_KEY_SIZE" TabName="Service2" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR5_VALUE_OFFSET" TabName="Service2" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS5 &amp; (Semaphore_SERVICE2_CHAR5_PROP_NOTIFY | Semaphore_SERVICE2_CHAR5_PROP_INDICATE)"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR5_PROP_BROADCAST" RefParameter="SERVICE_CHAR_PROP_BROADCAST" TabName="Service2" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR5_PROP_READ" RefParameter="SERVICE_CHAR_PROP_READ" TabName="Service2" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR5_PROP_WRITE_WITHOUT_RESP" RefParameter="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" TabName="Service2" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS5"/>
                <PossibleValue Condition="SERVICE2_CHAR5_PROP_WRITE=CHAR_PROP_WRITE" Diagnostic="not available when SERVICE2_CHAR5_PROP_WRITE=Yes" Comment="Yes">CHAR_PROP_WRITE_WITHOUT_RESP</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR5_PROP_WRITE" RefParameter="SERVICE_CHAR_PROP_WRITE" TabName="Service2" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS5"/>
                <PossibleValue Condition="SERVICE2_CHAR5_PROP_WRITE_WITHOUT_RESP=CHAR_PROP_WRITE_WITHOUT_RESP" Diagnostic="not available when SERVICE2_CHAR5_PROP_WRITE_WITHOUT_RESP=Yes" Comment="Yes">CHAR_PROP_WRITE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR5_PROP_NOTIFY" RefParameter="SERVICE_CHAR_PROP_NOTIFY" TabName="Service2" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS5"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE2_CHAR5_PROP_NOTIFY">CHAR_PROP_NOTIFY</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR5_PROP_INDICATE" RefParameter="SERVICE_CHAR_PROP_INDICATE" TabName="Service2" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS5"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE2_CHAR5_PROP_INDICATE">CHAR_PROP_INDICATE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <!-- Parameter Name="SERVICE2_CHAR5_PROP_SIGNED_WRITE" RefParameter="SERVICE_CHAR_PROP_SIGNED_WRITE" TabName="Service2" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR5_PROP_EXT" RefParameter="SERVICE_CHAR_PROP_EXT" TabName="Service2" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS5"/>
        </Parameter-->

        <Parameter Name="SERVICE2_CHAR5_ATTR_PERMISSION_AUTHEN_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" TabName="Service2" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR5_ATTR_PERMISSION_AUTHOR_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" TabName="Service2" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR5_ATTR_PERMISSION_ENCRY_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" TabName="Service2" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR5_ATTR_PERMISSION_AUTHEN_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" TabName="Service2" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR5_ATTR_PERMISSION_AUTHOR_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" TabName="Service2" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR5_ATTR_PERMISSION_ENCRY_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" TabName="Service2" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS5"/>
        </Parameter>        

        <Parameter Name="SERVICE2_CHAR5_GATT_NOTIFY_ATTRIBUTE_WRITE" RefParameter="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" TabName="Service2" Group="Characteristic5 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR5_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service2" Group="Characteristic5 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE2_CHAR5_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service2" Group="Characteristic5 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE2_CHARACTERISTICS5"/>
        </Parameter>

        <!-- GATT SERVICE2 characteristic5 end -->

        <!-- GATT SERVICE2 end -->

        <!-- GATT SERVICE3 begin -->

        <Parameter Name="SERVICE3_NUMBER_OF_CHARACTERISTICS" RefParameter="SERVICE_NUMBER_OF_CHARACTERISTICS" TabName="Service3" Group="Service3">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE3"/>
        </Parameter>

        <Parameter Name="SERVICE3_UUID_TYPE" RefParameter="SERVICE_UUID_TYPE" TabName="Service3" Group="Service3">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE3"/>
        </Parameter>

        <Parameter Name="SERVICE3_UUID" RefParameter="SERVICE_UUID" TabName="Service3" Group="Service3">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE3"/>
        </Parameter>

        <Parameter Name="SERVICE3_TYPE" RefParameter="SERVICE_TYPE" TabName="Service3" Group="Service3">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE3"/>
        </Parameter>

        <Parameter Name="SERVICE3_MAX_ATTRIBUTES_RECORDS"/>

        <!-- GATT SERVICE3 characteristic1 begin -->

        <Parameter Name="SERVICE3_CHAR1_LONG_NAME" RefParameter="SERVICE_CHAR_LONG_NAME" TabName="Service3" Group="Characteristic1 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS1"/>
        </Parameter>
        <Parameter Name="SERVICE3_CHAR1_SHORT_NAME" RefParameter="SERVICE_CHAR_SHORT_NAME" TabName="Service3" Group="Characteristic1 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR1_UUID_TYPE" RefParameter ="SERVICE_CHAR_UUID_TYPE" TabName="Service3" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR1_UUID" RefParameter ="SERVICE_CHAR_UUID" TabName="Service3" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR1_VALUE_LENGTH" RefParameter ="SERVICE_CHAR_VALUE_LENGTH" TabName="Service3" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR1_LENGTH_CHARACTERISTIC" RefParameter="SERVICE_CHAR_LENGTH_CHARACTERISTIC" TabName="Service3" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR1_ENC_KEY_SIZE" RefParameter="SERVICE_CHAR_ENC_KEY_SIZE" TabName="Service3" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR1_VALUE_OFFSET" TabName="Service3" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS1 &amp; (Semaphore_SERVICE3_CHAR1_PROP_NOTIFY | Semaphore_SERVICE3_CHAR1_PROP_INDICATE)"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR1_PROP_BROADCAST" RefParameter="SERVICE_CHAR_PROP_BROADCAST" TabName="Service3" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR1_PROP_READ" RefParameter="SERVICE_CHAR_PROP_READ" TabName="Service3" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR1_PROP_WRITE_WITHOUT_RESP" RefParameter="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" TabName="Service3" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS1"/>
                <PossibleValue Condition="SERVICE3_CHAR1_PROP_WRITE=CHAR_PROP_WRITE" Diagnostic="not available when SERVICE3_CHAR1_PROP_WRITE=Yes" Comment="Yes">CHAR_PROP_WRITE_WITHOUT_RESP</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR1_PROP_WRITE" RefParameter="SERVICE_CHAR_PROP_WRITE" TabName="Service3" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS1"/>
                <PossibleValue Condition="SERVICE3_CHAR1_PROP_WRITE_WITHOUT_RESP=CHAR_PROP_WRITE_WITHOUT_RESP" Diagnostic="not available when SERVICE3_CHAR1_PROP_WRITE_WITHOUT_RESP=Yes" Comment="Yes">CHAR_PROP_WRITE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR1_PROP_NOTIFY" RefParameter="SERVICE_CHAR_PROP_NOTIFY" TabName="Service3" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS1"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE3_CHAR1_PROP_NOTIFY">CHAR_PROP_NOTIFY</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR1_PROP_INDICATE" RefParameter="SERVICE_CHAR_PROP_INDICATE" TabName="Service3" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS1"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE3_CHAR1_PROP_INDICATE">CHAR_PROP_INDICATE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <!-- Parameter Name="SERVICE3_CHAR1_PROP_SIGNED_WRITE" RefParameter="SERVICE_CHAR_PROP_SIGNED_WRITE" TabName="Service3" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR1_PROP_EXT" RefParameter="SERVICE_CHAR_PROP_EXT" TabName="Service3" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS1"/>
        </Parameter-->

        <Parameter Name="SERVICE3_CHAR1_ATTR_PERMISSION_AUTHEN_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" TabName="Service3" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR1_ATTR_PERMISSION_AUTHOR_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" TabName="Service3" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR1_ATTR_PERMISSION_ENCRY_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" TabName="Service3" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR1_ATTR_PERMISSION_AUTHEN_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" TabName="Service3" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR1_ATTR_PERMISSION_AUTHOR_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" TabName="Service3" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR1_ATTR_PERMISSION_ENCRY_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" TabName="Service3" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS1"/>
        </Parameter>        

        <Parameter Name="SERVICE3_CHAR1_GATT_NOTIFY_ATTRIBUTE_WRITE" RefParameter="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" TabName="Service3" Group="Characteristic1 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR1_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service3" Group="Characteristic1 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR1_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service3" Group="Characteristic1 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS1"/>
        </Parameter>

        <!-- GATT SERVICE3 characteristic1 end -->

        <!-- GATT SERVICE3 characteristic2 begin -->

        <Parameter Name="SERVICE3_CHAR2_LONG_NAME" RefParameter="SERVICE_CHAR_LONG_NAME" TabName="Service3" Group="Characteristic2 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS2"/>
        </Parameter>
        <Parameter Name="SERVICE3_CHAR2_SHORT_NAME" RefParameter="SERVICE_CHAR_SHORT_NAME" TabName="Service3" Group="Characteristic2 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR2_UUID_TYPE" RefParameter ="SERVICE_CHAR_UUID_TYPE" TabName="Service3" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR2_UUID" RefParameter ="SERVICE_CHAR_UUID" TabName="Service3" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR2_VALUE_LENGTH" RefParameter ="SERVICE_CHAR_VALUE_LENGTH" TabName="Service3" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR2_LENGTH_CHARACTERISTIC" RefParameter="SERVICE_CHAR_LENGTH_CHARACTERISTIC" TabName="Service3" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR2_ENC_KEY_SIZE" RefParameter="SERVICE_CHAR_ENC_KEY_SIZE" TabName="Service3" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR2_VALUE_OFFSET" TabName="Service3" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS2 &amp; (Semaphore_SERVICE3_CHAR2_PROP_NOTIFY | Semaphore_SERVICE3_CHAR2_PROP_INDICATE)"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR2_PROP_BROADCAST" RefParameter="SERVICE_CHAR_PROP_BROADCAST" TabName="Service3" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR2_PROP_READ" RefParameter="SERVICE_CHAR_PROP_READ" TabName="Service3" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR2_PROP_WRITE_WITHOUT_RESP" RefParameter="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" TabName="Service3" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS2"/>
                <PossibleValue Condition="SERVICE3_CHAR2_PROP_WRITE=CHAR_PROP_WRITE" Diagnostic="not available when SERVICE3_CHAR2_PROP_WRITE=Yes" Comment="Yes">CHAR_PROP_WRITE_WITHOUT_RESP</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR2_PROP_WRITE" RefParameter="SERVICE_CHAR_PROP_WRITE" TabName="Service3" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS2"/>
                <PossibleValue Condition="SERVICE3_CHAR2_PROP_WRITE_WITHOUT_RESP=CHAR_PROP_WRITE_WITHOUT_RESP" Diagnostic="not available when SERVICE3_CHAR2_PROP_WRITE_WITHOUT_RESP=Yes" Comment="Yes">CHAR_PROP_WRITE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR2_PROP_NOTIFY" RefParameter="SERVICE_CHAR_PROP_NOTIFY" TabName="Service3" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS2"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE3_CHAR2_PROP_NOTIFY">CHAR_PROP_NOTIFY</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR2_PROP_INDICATE" RefParameter="SERVICE_CHAR_PROP_INDICATE" TabName="Service3" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS2"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE3_CHAR2_PROP_INDICATE">CHAR_PROP_INDICATE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <!-- Parameter Name="SERVICE3_CHAR2_PROP_SIGNED_WRITE" RefParameter="SERVICE_CHAR_PROP_SIGNED_WRITE" TabName="Service3" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR2_PROP_EXT" RefParameter="SERVICE_CHAR_PROP_EXT" TabName="Service3" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS2"/>
        </Parameter-->

        <Parameter Name="SERVICE3_CHAR2_ATTR_PERMISSION_AUTHEN_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" TabName="Service3" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR2_ATTR_PERMISSION_AUTHOR_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" TabName="Service3" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR2_ATTR_PERMISSION_ENCRY_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" TabName="Service3" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR2_ATTR_PERMISSION_AUTHEN_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" TabName="Service3" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR2_ATTR_PERMISSION_AUTHOR_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" TabName="Service3" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR2_ATTR_PERMISSION_ENCRY_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" TabName="Service3" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS2"/>
        </Parameter>        

        <Parameter Name="SERVICE3_CHAR2_GATT_NOTIFY_ATTRIBUTE_WRITE" RefParameter="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" TabName="Service3" Group="Characteristic2 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR2_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service3" Group="Characteristic2 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR2_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service3" Group="Characteristic2 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS2"/>
        </Parameter>

        <!-- GATT SERVICE3 characteristic2 end -->

        <!-- GATT SERVICE3 characteristic3 begin -->

        <Parameter Name="SERVICE3_CHAR3_LONG_NAME" RefParameter="SERVICE_CHAR_LONG_NAME" TabName="Service3" Group="Characteristic3 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS3"/>
        </Parameter>
        <Parameter Name="SERVICE3_CHAR3_SHORT_NAME" RefParameter="SERVICE_CHAR_SHORT_NAME" TabName="Service3" Group="Characteristic3 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR3_UUID_TYPE" RefParameter ="SERVICE_CHAR_UUID_TYPE" TabName="Service3" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR3_UUID" RefParameter ="SERVICE_CHAR_UUID" TabName="Service3" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR3_VALUE_LENGTH" RefParameter ="SERVICE_CHAR_VALUE_LENGTH" TabName="Service3" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR3_LENGTH_CHARACTERISTIC" RefParameter="SERVICE_CHAR_LENGTH_CHARACTERISTIC" TabName="Service3" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR3_ENC_KEY_SIZE" RefParameter="SERVICE_CHAR_ENC_KEY_SIZE" TabName="Service3" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR3_VALUE_OFFSET" TabName="Service3" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS3 &amp; (Semaphore_SERVICE3_CHAR3_PROP_NOTIFY | Semaphore_SERVICE3_CHAR3_PROP_INDICATE)"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR3_PROP_BROADCAST" RefParameter="SERVICE_CHAR_PROP_BROADCAST" TabName="Service3" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR3_PROP_READ" RefParameter="SERVICE_CHAR_PROP_READ" TabName="Service3" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR3_PROP_WRITE_WITHOUT_RESP" RefParameter="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" TabName="Service3" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS3"/>
                <PossibleValue Condition="SERVICE3_CHAR3_PROP_WRITE=CHAR_PROP_WRITE" Diagnostic="not available when SERVICE3_CHAR3_PROP_WRITE=Yes" Comment="Yes">CHAR_PROP_WRITE_WITHOUT_RESP</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR3_PROP_WRITE" RefParameter="SERVICE_CHAR_PROP_WRITE" TabName="Service3" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS3"/>
                <PossibleValue Condition="SERVICE3_CHAR3_PROP_WRITE_WITHOUT_RESP=CHAR_PROP_WRITE_WITHOUT_RESP" Diagnostic="not available when SERVICE3_CHAR3_PROP_WRITE_WITHOUT_RESP=Yes" Comment="Yes">CHAR_PROP_WRITE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR3_PROP_NOTIFY" RefParameter="SERVICE_CHAR_PROP_NOTIFY" TabName="Service3" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS3"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE3_CHAR3_PROP_NOTIFY">CHAR_PROP_NOTIFY</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR3_PROP_INDICATE" RefParameter="SERVICE_CHAR_PROP_INDICATE" TabName="Service3" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS3"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE3_CHAR3_PROP_INDICATE">CHAR_PROP_INDICATE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <!-- Parameter Name="SERVICE3_CHAR3_PROP_SIGNED_WRITE" RefParameter="SERVICE_CHAR_PROP_SIGNED_WRITE" TabName="Service3" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR3_PROP_EXT" RefParameter="SERVICE_CHAR_PROP_EXT" TabName="Service3" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS3"/>
        </Parameter-->

        <Parameter Name="SERVICE3_CHAR3_ATTR_PERMISSION_AUTHEN_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" TabName="Service3" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR3_ATTR_PERMISSION_AUTHOR_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" TabName="Service3" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR3_ATTR_PERMISSION_ENCRY_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" TabName="Service3" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR3_ATTR_PERMISSION_AUTHEN_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" TabName="Service3" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR3_ATTR_PERMISSION_AUTHOR_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" TabName="Service3" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR3_ATTR_PERMISSION_ENCRY_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" TabName="Service3" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS3"/>
        </Parameter>        

        <Parameter Name="SERVICE3_CHAR3_GATT_NOTIFY_ATTRIBUTE_WRITE" RefParameter="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" TabName="Service3" Group="Characteristic3 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR3_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service3" Group="Characteristic3 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR3_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service3" Group="Characteristic3 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS3"/>
        </Parameter>

        <!-- GATT SERVICE3 characteristic3 end -->

        <!-- GATT SERVICE3 characteristic4 begin -->

        <Parameter Name="SERVICE3_CHAR4_LONG_NAME" RefParameter="SERVICE_CHAR_LONG_NAME" TabName="Service3" Group="Characteristic4 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS4"/>
        </Parameter>
        <Parameter Name="SERVICE3_CHAR4_SHORT_NAME" RefParameter="SERVICE_CHAR_SHORT_NAME" TabName="Service3" Group="Characteristic4 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR4_UUID_TYPE" RefParameter ="SERVICE_CHAR_UUID_TYPE" TabName="Service3" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR4_UUID" RefParameter ="SERVICE_CHAR_UUID" TabName="Service3" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR4_VALUE_LENGTH" RefParameter ="SERVICE_CHAR_VALUE_LENGTH" TabName="Service3" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR4_LENGTH_CHARACTERISTIC" RefParameter="SERVICE_CHAR_LENGTH_CHARACTERISTIC" TabName="Service3" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR4_ENC_KEY_SIZE" RefParameter="SERVICE_CHAR_ENC_KEY_SIZE" TabName="Service3" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR4_VALUE_OFFSET" TabName="Service3" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS4 &amp; (Semaphore_SERVICE3_CHAR4_PROP_NOTIFY | Semaphore_SERVICE3_CHAR4_PROP_INDICATE)"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR4_PROP_BROADCAST" RefParameter="SERVICE_CHAR_PROP_BROADCAST" TabName="Service3" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR4_PROP_READ" RefParameter="SERVICE_CHAR_PROP_READ" TabName="Service3" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR4_PROP_WRITE_WITHOUT_RESP" RefParameter="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" TabName="Service3" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS4"/>
                <PossibleValue Condition="SERVICE3_CHAR4_PROP_WRITE=CHAR_PROP_WRITE" Diagnostic="not available when SERVICE3_CHAR4_PROP_WRITE=Yes" Comment="Yes">CHAR_PROP_WRITE_WITHOUT_RESP</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR4_PROP_WRITE" RefParameter="SERVICE_CHAR_PROP_WRITE" TabName="Service3" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS4"/>
                <PossibleValue Condition="SERVICE3_CHAR4_PROP_WRITE_WITHOUT_RESP=CHAR_PROP_WRITE_WITHOUT_RESP" Diagnostic="not available when SERVICE3_CHAR4_PROP_WRITE_WITHOUT_RESP=Yes" Comment="Yes">CHAR_PROP_WRITE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR4_PROP_NOTIFY" RefParameter="SERVICE_CHAR_PROP_NOTIFY" TabName="Service3" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS4"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE3_CHAR4_PROP_NOTIFY">CHAR_PROP_NOTIFY</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR4_PROP_INDICATE" RefParameter="SERVICE_CHAR_PROP_INDICATE" TabName="Service3" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS4"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE3_CHAR4_PROP_INDICATE">CHAR_PROP_INDICATE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <!-- Parameter Name="SERVICE3_CHAR4_PROP_SIGNED_WRITE" RefParameter="SERVICE_CHAR_PROP_SIGNED_WRITE" TabName="Service3" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR4_PROP_EXT" RefParameter="SERVICE_CHAR_PROP_EXT" TabName="Service3" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS4"/>
        </Parameter-->

        <Parameter Name="SERVICE3_CHAR4_ATTR_PERMISSION_AUTHEN_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" TabName="Service3" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR4_ATTR_PERMISSION_AUTHOR_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" TabName="Service3" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR4_ATTR_PERMISSION_ENCRY_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" TabName="Service3" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR4_ATTR_PERMISSION_AUTHEN_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" TabName="Service3" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR4_ATTR_PERMISSION_AUTHOR_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" TabName="Service3" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR4_ATTR_PERMISSION_ENCRY_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" TabName="Service3" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS4"/>
        </Parameter>        

        <Parameter Name="SERVICE3_CHAR4_GATT_NOTIFY_ATTRIBUTE_WRITE" RefParameter="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" TabName="Service3" Group="Characteristic4 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR4_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service3" Group="Characteristic4 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR4_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service3" Group="Characteristic4 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS4"/>
        </Parameter>

        <!-- GATT SERVICE3 characteristic4 end -->

        <!-- GATT SERVICE3 characteristic5 begin -->

        <Parameter Name="SERVICE3_CHAR5_LONG_NAME" RefParameter="SERVICE_CHAR_LONG_NAME" TabName="Service3" Group="Characteristic5 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS5"/>
        </Parameter>
        <Parameter Name="SERVICE3_CHAR5_SHORT_NAME" RefParameter="SERVICE_CHAR_SHORT_NAME" TabName="Service3" Group="Characteristic5 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR5_UUID_TYPE" RefParameter ="SERVICE_CHAR_UUID_TYPE" TabName="Service3" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR5_UUID" RefParameter ="SERVICE_CHAR_UUID" TabName="Service3" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR5_VALUE_LENGTH" RefParameter ="SERVICE_CHAR_VALUE_LENGTH" TabName="Service3" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR5_LENGTH_CHARACTERISTIC" RefParameter="SERVICE_CHAR_LENGTH_CHARACTERISTIC" TabName="Service3" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR5_ENC_KEY_SIZE" RefParameter="SERVICE_CHAR_ENC_KEY_SIZE" TabName="Service3" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR5_VALUE_OFFSET" TabName="Service3" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS5 &amp; (Semaphore_SERVICE3_CHAR5_PROP_NOTIFY | Semaphore_SERVICE3_CHAR5_PROP_INDICATE)"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR5_PROP_BROADCAST" RefParameter="SERVICE_CHAR_PROP_BROADCAST" TabName="Service3" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR5_PROP_READ" RefParameter="SERVICE_CHAR_PROP_READ" TabName="Service3" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR5_PROP_WRITE_WITHOUT_RESP" RefParameter="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" TabName="Service3" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS5"/>
                <PossibleValue Condition="SERVICE3_CHAR5_PROP_WRITE=CHAR_PROP_WRITE" Diagnostic="not available when SERVICE3_CHAR5_PROP_WRITE=Yes" Comment="Yes">CHAR_PROP_WRITE_WITHOUT_RESP</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR5_PROP_WRITE" RefParameter="SERVICE_CHAR_PROP_WRITE" TabName="Service3" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS5"/>
                <PossibleValue Condition="SERVICE3_CHAR5_PROP_WRITE_WITHOUT_RESP=CHAR_PROP_WRITE_WITHOUT_RESP" Diagnostic="not available when SERVICE3_CHAR5_PROP_WRITE_WITHOUT_RESP=Yes" Comment="Yes">CHAR_PROP_WRITE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR5_PROP_NOTIFY" RefParameter="SERVICE_CHAR_PROP_NOTIFY" TabName="Service3" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS5"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE3_CHAR5_PROP_NOTIFY">CHAR_PROP_NOTIFY</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR5_PROP_INDICATE" RefParameter="SERVICE_CHAR_PROP_INDICATE" TabName="Service3" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS5"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE3_CHAR5_PROP_INDICATE">CHAR_PROP_INDICATE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <!-- Parameter Name="SERVICE3_CHAR5_PROP_SIGNED_WRITE" RefParameter="SERVICE_CHAR_PROP_SIGNED_WRITE" TabName="Service3" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR5_PROP_EXT" RefParameter="SERVICE_CHAR_PROP_EXT" TabName="Service3" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS5"/>
        </Parameter-->

        <Parameter Name="SERVICE3_CHAR5_ATTR_PERMISSION_AUTHEN_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" TabName="Service3" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR5_ATTR_PERMISSION_AUTHOR_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" TabName="Service3" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR5_ATTR_PERMISSION_ENCRY_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" TabName="Service3" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR5_ATTR_PERMISSION_AUTHEN_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" TabName="Service3" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR5_ATTR_PERMISSION_AUTHOR_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" TabName="Service3" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR5_ATTR_PERMISSION_ENCRY_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" TabName="Service3" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS5"/>
        </Parameter>        

        <Parameter Name="SERVICE3_CHAR5_GATT_NOTIFY_ATTRIBUTE_WRITE" RefParameter="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" TabName="Service3" Group="Characteristic5 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR5_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service3" Group="Characteristic5 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE3_CHAR5_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service3" Group="Characteristic5 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE3_CHARACTERISTICS5"/>
        </Parameter>

        <!-- GATT SERVICE3 characteristic5 end -->

        <!-- GATT SERVICE3 end -->

        <!-- GATT SERVICE4 begin -->

        <Parameter Name="SERVICE4_NUMBER_OF_CHARACTERISTICS" RefParameter="SERVICE_NUMBER_OF_CHARACTERISTICS" TabName="Service4" Group="Service4">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE4"/>
        </Parameter>

        <Parameter Name="SERVICE4_UUID_TYPE" RefParameter="SERVICE_UUID_TYPE" TabName="Service4" Group="Service4">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE4"/>
        </Parameter>

        <Parameter Name="SERVICE4_UUID" RefParameter="SERVICE_UUID" TabName="Service4" Group="Service4">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE4"/>
        </Parameter>

        <Parameter Name="SERVICE4_TYPE" RefParameter="SERVICE_TYPE" TabName="Service4" Group="Service4">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE4"/>
        </Parameter>

        <Parameter Name="SERVICE4_MAX_ATTRIBUTES_RECORDS"/>

        <!-- GATT SERVICE4 characteristic1 begin -->

        <Parameter Name="SERVICE4_CHAR1_LONG_NAME" RefParameter="SERVICE_CHAR_LONG_NAME" TabName="Service4" Group="Characteristic1 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS1"/>
        </Parameter>
        <Parameter Name="SERVICE4_CHAR1_SHORT_NAME" RefParameter="SERVICE_CHAR_SHORT_NAME" TabName="Service4" Group="Characteristic1 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR1_UUID_TYPE" RefParameter ="SERVICE_CHAR_UUID_TYPE" TabName="Service4" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR1_UUID" RefParameter ="SERVICE_CHAR_UUID" TabName="Service4" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR1_VALUE_LENGTH" RefParameter ="SERVICE_CHAR_VALUE_LENGTH" TabName="Service4" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR1_LENGTH_CHARACTERISTIC" RefParameter="SERVICE_CHAR_LENGTH_CHARACTERISTIC" TabName="Service4" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR1_ENC_KEY_SIZE" RefParameter="SERVICE_CHAR_ENC_KEY_SIZE" TabName="Service4" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR1_VALUE_OFFSET" TabName="Service4" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS1 &amp; (Semaphore_SERVICE4_CHAR1_PROP_NOTIFY | Semaphore_SERVICE4_CHAR1_PROP_INDICATE)"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR1_PROP_BROADCAST" RefParameter="SERVICE_CHAR_PROP_BROADCAST" TabName="Service4" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR1_PROP_READ" RefParameter="SERVICE_CHAR_PROP_READ" TabName="Service4" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR1_PROP_WRITE_WITHOUT_RESP" RefParameter="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" TabName="Service4" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS1"/>
                <PossibleValue Condition="SERVICE4_CHAR1_PROP_WRITE=CHAR_PROP_WRITE" Diagnostic="not available when SERVICE4_CHAR1_PROP_WRITE=Yes" Comment="Yes">CHAR_PROP_WRITE_WITHOUT_RESP</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR1_PROP_WRITE" RefParameter="SERVICE_CHAR_PROP_WRITE" TabName="Service4" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS1"/>
                <PossibleValue Condition="SERVICE4_CHAR1_PROP_WRITE_WITHOUT_RESP=CHAR_PROP_WRITE_WITHOUT_RESP" Diagnostic="not available when SERVICE4_CHAR1_PROP_WRITE_WITHOUT_RESP=Yes" Comment="Yes">CHAR_PROP_WRITE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR1_PROP_NOTIFY" RefParameter="SERVICE_CHAR_PROP_NOTIFY" TabName="Service4" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS1"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE4_CHAR1_PROP_NOTIFY">CHAR_PROP_NOTIFY</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR1_PROP_INDICATE" RefParameter="SERVICE_CHAR_PROP_INDICATE" TabName="Service4" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS1"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE4_CHAR1_PROP_INDICATE">CHAR_PROP_INDICATE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <!-- Parameter Name="SERVICE4_CHAR1_PROP_SIGNED_WRITE" RefParameter="SERVICE_CHAR_PROP_SIGNED_WRITE" TabName="Service4" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR1_PROP_EXT" RefParameter="SERVICE_CHAR_PROP_EXT" TabName="Service4" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS1"/>
        </Parameter-->

        <Parameter Name="SERVICE4_CHAR1_ATTR_PERMISSION_AUTHEN_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" TabName="Service4" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR1_ATTR_PERMISSION_AUTHOR_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" TabName="Service4" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR1_ATTR_PERMISSION_ENCRY_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" TabName="Service4" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR1_ATTR_PERMISSION_AUTHEN_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" TabName="Service4" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR1_ATTR_PERMISSION_AUTHOR_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" TabName="Service4" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR1_ATTR_PERMISSION_ENCRY_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" TabName="Service4" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS1"/>
        </Parameter>        

        <Parameter Name="SERVICE4_CHAR1_GATT_NOTIFY_ATTRIBUTE_WRITE" RefParameter="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" TabName="Service4" Group="Characteristic1 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR1_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service4" Group="Characteristic1 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR1_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service4" Group="Characteristic1 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS1"/>
        </Parameter>

        <!-- GATT SERVICE4 characteristic1 end -->

        <!-- GATT SERVICE4 characteristic2 begin -->

        <Parameter Name="SERVICE4_CHAR2_LONG_NAME" RefParameter="SERVICE_CHAR_LONG_NAME" TabName="Service4" Group="Characteristic2 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS2"/>
        </Parameter>
        <Parameter Name="SERVICE4_CHAR2_SHORT_NAME" RefParameter="SERVICE_CHAR_SHORT_NAME" TabName="Service4" Group="Characteristic2 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR2_UUID_TYPE" RefParameter ="SERVICE_CHAR_UUID_TYPE" TabName="Service4" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR2_UUID" RefParameter ="SERVICE_CHAR_UUID" TabName="Service4" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR2_VALUE_LENGTH" RefParameter ="SERVICE_CHAR_VALUE_LENGTH" TabName="Service4" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR2_LENGTH_CHARACTERISTIC" RefParameter="SERVICE_CHAR_LENGTH_CHARACTERISTIC" TabName="Service4" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR2_ENC_KEY_SIZE" RefParameter="SERVICE_CHAR_ENC_KEY_SIZE" TabName="Service4" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR2_VALUE_OFFSET" TabName="Service4" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS2 &amp; (Semaphore_SERVICE4_CHAR2_PROP_NOTIFY | Semaphore_SERVICE4_CHAR2_PROP_INDICATE)"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR2_PROP_BROADCAST" RefParameter="SERVICE_CHAR_PROP_BROADCAST" TabName="Service4" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR2_PROP_READ" RefParameter="SERVICE_CHAR_PROP_READ" TabName="Service4" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR2_PROP_WRITE_WITHOUT_RESP" RefParameter="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" TabName="Service4" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS2"/>
                <PossibleValue Condition="SERVICE4_CHAR2_PROP_WRITE=CHAR_PROP_WRITE" Diagnostic="not available when SERVICE4_CHAR2_PROP_WRITE=Yes" Comment="Yes">CHAR_PROP_WRITE_WITHOUT_RESP</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR2_PROP_WRITE" RefParameter="SERVICE_CHAR_PROP_WRITE" TabName="Service4" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS2"/>
                <PossibleValue Condition="SERVICE4_CHAR2_PROP_WRITE_WITHOUT_RESP=CHAR_PROP_WRITE_WITHOUT_RESP" Diagnostic="not available when SERVICE4_CHAR2_PROP_WRITE_WITHOUT_RESP=Yes" Comment="Yes">CHAR_PROP_WRITE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR2_PROP_NOTIFY" RefParameter="SERVICE_CHAR_PROP_NOTIFY" TabName="Service4" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS2"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE4_CHAR2_PROP_NOTIFY">CHAR_PROP_NOTIFY</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR2_PROP_INDICATE" RefParameter="SERVICE_CHAR_PROP_INDICATE" TabName="Service4" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS2"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE4_CHAR2_PROP_INDICATE">CHAR_PROP_INDICATE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <!-- Parameter Name="SERVICE4_CHAR2_PROP_SIGNED_WRITE" RefParameter="SERVICE_CHAR_PROP_SIGNED_WRITE" TabName="Service4" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR2_PROP_EXT" RefParameter="SERVICE_CHAR_PROP_EXT" TabName="Service4" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS2"/>
        </Parameter-->

        <Parameter Name="SERVICE4_CHAR2_ATTR_PERMISSION_AUTHEN_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" TabName="Service4" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR2_ATTR_PERMISSION_AUTHOR_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" TabName="Service4" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR2_ATTR_PERMISSION_ENCRY_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" TabName="Service4" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR2_ATTR_PERMISSION_AUTHEN_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" TabName="Service4" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR2_ATTR_PERMISSION_AUTHOR_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" TabName="Service4" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR2_ATTR_PERMISSION_ENCRY_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" TabName="Service4" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS2"/>
        </Parameter>        

        <Parameter Name="SERVICE4_CHAR2_GATT_NOTIFY_ATTRIBUTE_WRITE" RefParameter="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" TabName="Service4" Group="Characteristic2 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR2_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service4" Group="Characteristic2 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR2_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service4" Group="Characteristic2 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS2"/>
        </Parameter>

        <!-- GATT SERVICE4 characteristic2 end -->

        <!-- GATT SERVICE4 characteristic3 begin -->

        <Parameter Name="SERVICE4_CHAR3_LONG_NAME" RefParameter="SERVICE_CHAR_LONG_NAME" TabName="Service4" Group="Characteristic3 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS3"/>
        </Parameter>
        <Parameter Name="SERVICE4_CHAR3_SHORT_NAME" RefParameter="SERVICE_CHAR_SHORT_NAME" TabName="Service4" Group="Characteristic3 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR3_UUID_TYPE" RefParameter ="SERVICE_CHAR_UUID_TYPE" TabName="Service4" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR3_UUID" RefParameter ="SERVICE_CHAR_UUID" TabName="Service4" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR3_VALUE_LENGTH" RefParameter ="SERVICE_CHAR_VALUE_LENGTH" TabName="Service4" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR3_LENGTH_CHARACTERISTIC" RefParameter="SERVICE_CHAR_LENGTH_CHARACTERISTIC" TabName="Service4" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR3_ENC_KEY_SIZE" RefParameter="SERVICE_CHAR_ENC_KEY_SIZE" TabName="Service4" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR3_VALUE_OFFSET" TabName="Service4" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS3 &amp; (Semaphore_SERVICE4_CHAR3_PROP_NOTIFY | Semaphore_SERVICE4_CHAR3_PROP_INDICATE)"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR3_PROP_BROADCAST" RefParameter="SERVICE_CHAR_PROP_BROADCAST" TabName="Service4" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR3_PROP_READ" RefParameter="SERVICE_CHAR_PROP_READ" TabName="Service4" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR3_PROP_WRITE_WITHOUT_RESP" RefParameter="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" TabName="Service4" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS3"/>
                <PossibleValue Condition="SERVICE4_CHAR3_PROP_WRITE=CHAR_PROP_WRITE" Diagnostic="not available when SERVICE4_CHAR3_PROP_WRITE=Yes" Comment="Yes">CHAR_PROP_WRITE_WITHOUT_RESP</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR3_PROP_WRITE" RefParameter="SERVICE_CHAR_PROP_WRITE" TabName="Service4" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS3"/>
                <PossibleValue Condition="SERVICE4_CHAR3_PROP_WRITE_WITHOUT_RESP=CHAR_PROP_WRITE_WITHOUT_RESP" Diagnostic="not available when SERVICE4_CHAR3_PROP_WRITE_WITHOUT_RESP=Yes" Comment="Yes">CHAR_PROP_WRITE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR3_PROP_NOTIFY" RefParameter="SERVICE_CHAR_PROP_NOTIFY" TabName="Service4" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS3"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE4_CHAR3_PROP_NOTIFY">CHAR_PROP_NOTIFY</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR3_PROP_INDICATE" RefParameter="SERVICE_CHAR_PROP_INDICATE" TabName="Service4" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS3"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE4_CHAR3_PROP_INDICATE">CHAR_PROP_INDICATE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <!-- Parameter Name="SERVICE4_CHAR3_PROP_SIGNED_WRITE" RefParameter="SERVICE_CHAR_PROP_SIGNED_WRITE" TabName="Service4" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR3_PROP_EXT" RefParameter="SERVICE_CHAR_PROP_EXT" TabName="Service4" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS3"/>
        </Parameter-->

        <Parameter Name="SERVICE4_CHAR3_ATTR_PERMISSION_AUTHEN_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" TabName="Service4" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR3_ATTR_PERMISSION_AUTHOR_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" TabName="Service4" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR3_ATTR_PERMISSION_ENCRY_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" TabName="Service4" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR3_ATTR_PERMISSION_AUTHEN_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" TabName="Service4" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR3_ATTR_PERMISSION_AUTHOR_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" TabName="Service4" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR3_ATTR_PERMISSION_ENCRY_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" TabName="Service4" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS3"/>
        </Parameter>        

        <Parameter Name="SERVICE4_CHAR3_GATT_NOTIFY_ATTRIBUTE_WRITE" RefParameter="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" TabName="Service4" Group="Characteristic3 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR3_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service4" Group="Characteristic3 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR3_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service4" Group="Characteristic3 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS3"/>
        </Parameter>

        <!-- GATT SERVICE4 characteristic3 end -->

        <!-- GATT SERVICE4 characteristic4 begin -->

        <Parameter Name="SERVICE4_CHAR4_LONG_NAME" RefParameter="SERVICE_CHAR_LONG_NAME" TabName="Service4" Group="Characteristic4 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS4"/>
        </Parameter>
        <Parameter Name="SERVICE4_CHAR4_SHORT_NAME" RefParameter="SERVICE_CHAR_SHORT_NAME" TabName="Service4" Group="Characteristic4 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR4_UUID_TYPE" RefParameter ="SERVICE_CHAR_UUID_TYPE" TabName="Service4" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR4_UUID" RefParameter ="SERVICE_CHAR_UUID" TabName="Service4" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR4_VALUE_LENGTH" RefParameter ="SERVICE_CHAR_VALUE_LENGTH" TabName="Service4" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR4_LENGTH_CHARACTERISTIC" RefParameter="SERVICE_CHAR_LENGTH_CHARACTERISTIC" TabName="Service4" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR4_ENC_KEY_SIZE" RefParameter="SERVICE_CHAR_ENC_KEY_SIZE" TabName="Service4" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR4_VALUE_OFFSET" TabName="Service4" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS4 &amp; (Semaphore_SERVICE4_CHAR4_PROP_NOTIFY | Semaphore_SERVICE4_CHAR4_PROP_INDICATE)"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR4_PROP_BROADCAST" RefParameter="SERVICE_CHAR_PROP_BROADCAST" TabName="Service4" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR4_PROP_READ" RefParameter="SERVICE_CHAR_PROP_READ" TabName="Service4" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR4_PROP_WRITE_WITHOUT_RESP" RefParameter="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" TabName="Service4" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS4"/>
                <PossibleValue Condition="SERVICE4_CHAR4_PROP_WRITE=CHAR_PROP_WRITE" Diagnostic="not available when SERVICE4_CHAR4_PROP_WRITE=Yes" Comment="Yes">CHAR_PROP_WRITE_WITHOUT_RESP</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR4_PROP_WRITE" RefParameter="SERVICE_CHAR_PROP_WRITE" TabName="Service4" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS4"/>
                <PossibleValue Condition="SERVICE4_CHAR4_PROP_WRITE_WITHOUT_RESP=CHAR_PROP_WRITE_WITHOUT_RESP" Diagnostic="not available when SERVICE4_CHAR4_PROP_WRITE_WITHOUT_RESP=Yes" Comment="Yes">CHAR_PROP_WRITE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR4_PROP_NOTIFY" RefParameter="SERVICE_CHAR_PROP_NOTIFY" TabName="Service4" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS4"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE4_CHAR4_PROP_NOTIFY">CHAR_PROP_NOTIFY</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR4_PROP_INDICATE" RefParameter="SERVICE_CHAR_PROP_INDICATE" TabName="Service4" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS4"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE4_CHAR4_PROP_INDICATE">CHAR_PROP_INDICATE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <!-- Parameter Name="SERVICE4_CHAR4_PROP_SIGNED_WRITE" RefParameter="SERVICE_CHAR_PROP_SIGNED_WRITE" TabName="Service4" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR4_PROP_EXT" RefParameter="SERVICE_CHAR_PROP_EXT" TabName="Service4" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS4"/>
        </Parameter-->

        <Parameter Name="SERVICE4_CHAR4_ATTR_PERMISSION_AUTHEN_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" TabName="Service4" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR4_ATTR_PERMISSION_AUTHOR_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" TabName="Service4" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR4_ATTR_PERMISSION_ENCRY_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" TabName="Service4" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR4_ATTR_PERMISSION_AUTHEN_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" TabName="Service4" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR4_ATTR_PERMISSION_AUTHOR_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" TabName="Service4" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR4_ATTR_PERMISSION_ENCRY_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" TabName="Service4" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS4"/>
        </Parameter>        

        <Parameter Name="SERVICE4_CHAR4_GATT_NOTIFY_ATTRIBUTE_WRITE" RefParameter="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" TabName="Service4" Group="Characteristic4 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR4_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service4" Group="Characteristic4 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR4_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service4" Group="Characteristic4 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS4"/>
        </Parameter>

        <!-- GATT SERVICE4 characteristic4 end -->


        <!-- GATT SERVICE4 characteristic5 begin -->

        <Parameter Name="SERVICE4_CHAR5_LONG_NAME" RefParameter="SERVICE_CHAR_LONG_NAME" TabName="Service4" Group="Characteristic5 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS5"/>
        </Parameter>
        <Parameter Name="SERVICE4_CHAR5_SHORT_NAME" RefParameter="SERVICE_CHAR_SHORT_NAME" TabName="Service4" Group="Characteristic5 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR5_UUID_TYPE" RefParameter ="SERVICE_CHAR_UUID_TYPE" TabName="Service4" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR5_UUID" RefParameter ="SERVICE_CHAR_UUID" TabName="Service4" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR5_VALUE_LENGTH" RefParameter ="SERVICE_CHAR_VALUE_LENGTH" TabName="Service4" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR5_LENGTH_CHARACTERISTIC" RefParameter="SERVICE_CHAR_LENGTH_CHARACTERISTIC" TabName="Service4" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR5_ENC_KEY_SIZE" RefParameter="SERVICE_CHAR_ENC_KEY_SIZE" TabName="Service4" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR5_VALUE_OFFSET" TabName="Service4" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS5 &amp; (Semaphore_SERVICE4_CHAR5_PROP_NOTIFY | Semaphore_SERVICE4_CHAR5_PROP_INDICATE)"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR5_PROP_BROADCAST" RefParameter="SERVICE_CHAR_PROP_BROADCAST" TabName="Service4" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR5_PROP_READ" RefParameter="SERVICE_CHAR_PROP_READ" TabName="Service4" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR5_PROP_WRITE_WITHOUT_RESP" RefParameter="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" TabName="Service4" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS5"/>
                <PossibleValue Condition="SERVICE4_CHAR5_PROP_WRITE=CHAR_PROP_WRITE" Diagnostic="not available when SERVICE4_CHAR5_PROP_WRITE=Yes" Comment="Yes">CHAR_PROP_WRITE_WITHOUT_RESP</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR5_PROP_WRITE" RefParameter="SERVICE_CHAR_PROP_WRITE" TabName="Service4" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS5"/>
                <PossibleValue Condition="SERVICE4_CHAR5_PROP_WRITE_WITHOUT_RESP=CHAR_PROP_WRITE_WITHOUT_RESP" Diagnostic="not available when SERVICE4_CHAR5_PROP_WRITE_WITHOUT_RESP=Yes" Comment="Yes">CHAR_PROP_WRITE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR5_PROP_NOTIFY" RefParameter="SERVICE_CHAR_PROP_NOTIFY" TabName="Service4" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS5"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE4_CHAR5_PROP_NOTIFY">CHAR_PROP_NOTIFY</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR5_PROP_INDICATE" RefParameter="SERVICE_CHAR_PROP_INDICATE" TabName="Service4" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS5"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE4_CHAR5_PROP_INDICATE">CHAR_PROP_INDICATE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <!-- Parameter Name="SERVICE4_CHAR5_PROP_SIGNED_WRITE" RefParameter="SERVICE_CHAR_PROP_SIGNED_WRITE" TabName="Service4" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR5_PROP_EXT" RefParameter="SERVICE_CHAR_PROP_EXT" TabName="Service4" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS5"/>
        </Parameter-->

        <Parameter Name="SERVICE4_CHAR5_ATTR_PERMISSION_AUTHEN_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" TabName="Service4" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR5_ATTR_PERMISSION_AUTHOR_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" TabName="Service4" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR5_ATTR_PERMISSION_ENCRY_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" TabName="Service4" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR5_ATTR_PERMISSION_AUTHEN_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" TabName="Service4" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR5_ATTR_PERMISSION_AUTHOR_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" TabName="Service4" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR5_ATTR_PERMISSION_ENCRY_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" TabName="Service4" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS5"/>
        </Parameter>        

        <Parameter Name="SERVICE4_CHAR5_GATT_NOTIFY_ATTRIBUTE_WRITE" RefParameter="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" TabName="Service4" Group="Characteristic5 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR5_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service4" Group="Characteristic5 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE4_CHAR5_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service4" Group="Characteristic5 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE4_CHARACTERISTICS5"/>
        </Parameter>

        <!-- GATT SERVICE4 characteristic5 end -->

        <!-- GATT SERVICE4 end -->

        <!-- GATT SERVICE5 begin -->

        <Parameter Name="SERVICE5_NUMBER_OF_CHARACTERISTICS" RefParameter="SERVICE_NUMBER_OF_CHARACTERISTICS" TabName="Service5" Group="Service5">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE5"/>
        </Parameter>

        <Parameter Name="SERVICE5_UUID_TYPE" RefParameter="SERVICE_UUID_TYPE" TabName="Service5" Group="Service5">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE5"/>
        </Parameter>

        <Parameter Name="SERVICE5_UUID" RefParameter="SERVICE_UUID" TabName="Service5" Group="Service5">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE5"/>
        </Parameter>

        <Parameter Name="SERVICE5_TYPE" RefParameter="SERVICE_TYPE" TabName="Service5" Group="Service5">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE5"/>
        </Parameter>

        <Parameter Name="SERVICE5_MAX_ATTRIBUTES_RECORDS"/>

        <!-- GATT SERVICE5 characteristic1 begin -->

        <Parameter Name="SERVICE5_CHAR1_LONG_NAME" RefParameter="SERVICE_CHAR_LONG_NAME" TabName="Service5" Group="Characteristic1 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS1"/>
        </Parameter>
        <Parameter Name="SERVICE5_CHAR1_SHORT_NAME" RefParameter="SERVICE_CHAR_SHORT_NAME" TabName="Service5" Group="Characteristic1 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR1_UUID_TYPE" RefParameter ="SERVICE_CHAR_UUID_TYPE" TabName="Service5" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR1_UUID" RefParameter ="SERVICE_CHAR_UUID" TabName="Service5" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR1_VALUE_LENGTH" RefParameter ="SERVICE_CHAR_VALUE_LENGTH" TabName="Service5" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR1_LENGTH_CHARACTERISTIC" RefParameter="SERVICE_CHAR_LENGTH_CHARACTERISTIC" TabName="Service5" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR1_ENC_KEY_SIZE" RefParameter="SERVICE_CHAR_ENC_KEY_SIZE" TabName="Service5" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR1_VALUE_OFFSET" TabName="Service5" Group="Characteristic1 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS1 &amp; (Semaphore_SERVICE5_CHAR1_PROP_NOTIFY | Semaphore_SERVICE5_CHAR1_PROP_INDICATE)"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR1_PROP_BROADCAST" RefParameter="SERVICE_CHAR_PROP_BROADCAST" TabName="Service5" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR1_PROP_READ" RefParameter="SERVICE_CHAR_PROP_READ" TabName="Service5" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR1_PROP_WRITE_WITHOUT_RESP" RefParameter="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" TabName="Service5" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS1"/>
                <PossibleValue Condition="SERVICE5_CHAR1_PROP_WRITE=CHAR_PROP_WRITE" Diagnostic="not available when SERVICE5_CHAR1_PROP_WRITE=Yes" Comment="Yes">CHAR_PROP_WRITE_WITHOUT_RESP</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR1_PROP_WRITE" RefParameter="SERVICE_CHAR_PROP_WRITE" TabName="Service5" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS1"/>
                <PossibleValue Condition="SERVICE5_CHAR1_PROP_WRITE_WITHOUT_RESP=CHAR_PROP_WRITE_WITHOUT_RESP" Diagnostic="not available when SERVICE5_CHAR1_PROP_WRITE_WITHOUT_RESP=Yes" Comment="Yes">CHAR_PROP_WRITE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR1_PROP_NOTIFY" RefParameter="SERVICE_CHAR_PROP_NOTIFY" TabName="Service5" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS1"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE5_CHAR1_PROP_NOTIFY">CHAR_PROP_NOTIFY</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR1_PROP_INDICATE" RefParameter="SERVICE_CHAR_PROP_INDICATE" TabName="Service5" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS1"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE5_CHAR1_PROP_INDICATE">CHAR_PROP_INDICATE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <!-- Parameter Name="SERVICE5_CHAR1_PROP_SIGNED_WRITE" RefParameter="SERVICE_CHAR_PROP_SIGNED_WRITE" TabName="Service5" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR1_PROP_EXT" RefParameter="SERVICE_CHAR_PROP_EXT" TabName="Service5" Group="Characteristic1 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS1"/>
        </Parameter-->

        <Parameter Name="SERVICE5_CHAR1_ATTR_PERMISSION_AUTHEN_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" TabName="Service5" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR1_ATTR_PERMISSION_AUTHOR_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" TabName="Service5" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR1_ATTR_PERMISSION_ENCRY_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" TabName="Service5" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR1_ATTR_PERMISSION_AUTHEN_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" TabName="Service5" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR1_ATTR_PERMISSION_AUTHOR_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" TabName="Service5" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR1_ATTR_PERMISSION_ENCRY_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" TabName="Service5" Group="Characteristic1 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS1"/>
        </Parameter>        

        <Parameter Name="SERVICE5_CHAR1_GATT_NOTIFY_ATTRIBUTE_WRITE" RefParameter="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" TabName="Service5" Group="Characteristic1 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR1_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service5" Group="Characteristic1 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS1"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR1_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service5" Group="Characteristic1 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS1"/>
        </Parameter>

        <!-- GATT SERVICE5 characteristic1 end -->

        <!-- GATT SERVICE5 characteristic2 begin -->

        <Parameter Name="SERVICE5_CHAR2_LONG_NAME" RefParameter="SERVICE_CHAR_LONG_NAME" TabName="Service5" Group="Characteristic2 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS2"/>
        </Parameter>
        <Parameter Name="SERVICE5_CHAR2_SHORT_NAME" RefParameter="SERVICE_CHAR_SHORT_NAME" TabName="Service5" Group="Characteristic2 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR2_UUID_TYPE" RefParameter ="SERVICE_CHAR_UUID_TYPE" TabName="Service5" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR2_UUID" RefParameter ="SERVICE_CHAR_UUID" TabName="Service5" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR2_VALUE_LENGTH" RefParameter ="SERVICE_CHAR_VALUE_LENGTH" TabName="Service5" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR2_LENGTH_CHARACTERISTIC" RefParameter="SERVICE_CHAR_LENGTH_CHARACTERISTIC" TabName="Service5" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR2_ENC_KEY_SIZE" RefParameter="SERVICE_CHAR_ENC_KEY_SIZE" TabName="Service5" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR2_VALUE_OFFSET" TabName="Service5" Group="Characteristic2 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS2 &amp; (Semaphore_SERVICE5_CHAR2_PROP_NOTIFY | Semaphore_SERVICE5_CHAR2_PROP_INDICATE)"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR2_PROP_BROADCAST" RefParameter="SERVICE_CHAR_PROP_BROADCAST" TabName="Service5" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR2_PROP_READ" RefParameter="SERVICE_CHAR_PROP_READ" TabName="Service5" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR2_PROP_WRITE_WITHOUT_RESP" RefParameter="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" TabName="Service5" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS2"/>
                <PossibleValue Condition="SERVICE5_CHAR2_PROP_WRITE=CHAR_PROP_WRITE" Diagnostic="not available when SERVICE5_CHAR2_PROP_WRITE=Yes" Comment="Yes">CHAR_PROP_WRITE_WITHOUT_RESP</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR2_PROP_WRITE" RefParameter="SERVICE_CHAR_PROP_WRITE" TabName="Service5" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS2"/>
                <PossibleValue Condition="SERVICE5_CHAR2_PROP_WRITE_WITHOUT_RESP=CHAR_PROP_WRITE_WITHOUT_RESP" Diagnostic="not available when SERVICE5_CHAR2_PROP_WRITE_WITHOUT_RESP=Yes" Comment="Yes">CHAR_PROP_WRITE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR2_PROP_NOTIFY" RefParameter="SERVICE_CHAR_PROP_NOTIFY" TabName="Service5" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS2"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE5_CHAR2_PROP_NOTIFY">CHAR_PROP_NOTIFY</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR2_PROP_INDICATE" RefParameter="SERVICE_CHAR_PROP_INDICATE" TabName="Service5" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS2"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE5_CHAR2_PROP_INDICATE">CHAR_PROP_INDICATE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <!-- Parameter Name="SERVICE5_CHAR2_PROP_SIGNED_WRITE" RefParameter="SERVICE_CHAR_PROP_SIGNED_WRITE" TabName="Service5" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR2_PROP_EXT" RefParameter="SERVICE_CHAR_PROP_EXT" TabName="Service5" Group="Characteristic2 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS2"/>
        </Parameter-->

        <Parameter Name="SERVICE5_CHAR2_ATTR_PERMISSION_AUTHEN_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" TabName="Service5" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR2_ATTR_PERMISSION_AUTHOR_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" TabName="Service5" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR2_ATTR_PERMISSION_ENCRY_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" TabName="Service5" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR2_ATTR_PERMISSION_AUTHEN_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" TabName="Service5" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR2_ATTR_PERMISSION_AUTHOR_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" TabName="Service5" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR2_ATTR_PERMISSION_ENCRY_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" TabName="Service5" Group="Characteristic2 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS2"/>
        </Parameter>        

        <Parameter Name="SERVICE5_CHAR2_GATT_NOTIFY_ATTRIBUTE_WRITE" RefParameter="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" TabName="Service5" Group="Characteristic2 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR2_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service5" Group="Characteristic2 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS2"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR2_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service5" Group="Characteristic2 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS2"/>
        </Parameter>

        <!-- GATT SERVICE5 characteristic2 end -->

        <!-- GATT SERVICE5 characteristic3 begin -->

        <Parameter Name="SERVICE5_CHAR3_LONG_NAME" RefParameter="SERVICE_CHAR_LONG_NAME" TabName="Service5" Group="Characteristic3 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS3"/>
        </Parameter>
        <Parameter Name="SERVICE5_CHAR3_SHORT_NAME" RefParameter="SERVICE_CHAR_SHORT_NAME" TabName="Service5" Group="Characteristic3 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR3_UUID_TYPE" RefParameter ="SERVICE_CHAR_UUID_TYPE" TabName="Service5" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR3_UUID" RefParameter ="SERVICE_CHAR_UUID" TabName="Service5" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR3_VALUE_LENGTH" RefParameter ="SERVICE_CHAR_VALUE_LENGTH" TabName="Service5" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR3_LENGTH_CHARACTERISTIC" RefParameter="SERVICE_CHAR_LENGTH_CHARACTERISTIC" TabName="Service5" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR3_ENC_KEY_SIZE" RefParameter="SERVICE_CHAR_ENC_KEY_SIZE" TabName="Service5" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR3_VALUE_OFFSET" TabName="Service5" Group="Characteristic3 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS3 &amp; (Semaphore_SERVICE5_CHAR3_PROP_NOTIFY | Semaphore_SERVICE5_CHAR3_PROP_INDICATE)"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR3_PROP_BROADCAST" RefParameter="SERVICE_CHAR_PROP_BROADCAST" TabName="Service5" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR3_PROP_READ" RefParameter="SERVICE_CHAR_PROP_READ" TabName="Service5" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR3_PROP_WRITE_WITHOUT_RESP" RefParameter="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" TabName="Service5" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS3"/>
                <PossibleValue Condition="SERVICE5_CHAR3_PROP_WRITE=CHAR_PROP_WRITE" Diagnostic="not available when SERVICE5_CHAR3_PROP_WRITE=Yes" Comment="Yes">CHAR_PROP_WRITE_WITHOUT_RESP</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR3_PROP_WRITE" RefParameter="SERVICE_CHAR_PROP_WRITE" TabName="Service5" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS3"/>
                <PossibleValue Condition="SERVICE5_CHAR3_PROP_WRITE_WITHOUT_RESP=CHAR_PROP_WRITE_WITHOUT_RESP" Diagnostic="not available when SERVICE5_CHAR3_PROP_WRITE_WITHOUT_RESP=Yes" Comment="Yes">CHAR_PROP_WRITE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR3_PROP_NOTIFY" RefParameter="SERVICE_CHAR_PROP_NOTIFY" TabName="Service5" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS3"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE5_CHAR3_PROP_NOTIFY">CHAR_PROP_NOTIFY</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR3_PROP_INDICATE" RefParameter="SERVICE_CHAR_PROP_INDICATE" TabName="Service5" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS3"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE5_CHAR3_PROP_INDICATE">CHAR_PROP_INDICATE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <!-- Parameter Name="SERVICE5_CHAR3_PROP_SIGNED_WRITE" RefParameter="SERVICE_CHAR_PROP_SIGNED_WRITE" TabName="Service5" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR3_PROP_EXT" RefParameter="SERVICE_CHAR_PROP_EXT" TabName="Service5" Group="Characteristic3 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS3"/>
        </Parameter-->

        <Parameter Name="SERVICE5_CHAR3_ATTR_PERMISSION_AUTHEN_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" TabName="Service5" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR3_ATTR_PERMISSION_AUTHOR_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" TabName="Service5" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR3_ATTR_PERMISSION_ENCRY_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" TabName="Service5" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR3_ATTR_PERMISSION_AUTHEN_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" TabName="Service5" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR3_ATTR_PERMISSION_AUTHOR_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" TabName="Service5" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR3_ATTR_PERMISSION_ENCRY_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" TabName="Service5" Group="Characteristic3 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS3"/>
        </Parameter>        

        <Parameter Name="SERVICE5_CHAR3_GATT_NOTIFY_ATTRIBUTE_WRITE" RefParameter="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" TabName="Service5" Group="Characteristic3 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR3_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service5" Group="Characteristic3 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS3"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR3_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service5" Group="Characteristic3 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS3"/>
        </Parameter>

        <!-- GATT SERVICE5 characteristic3 end -->

        <!-- GATT SERVICE5 characteristic4 begin -->

        <Parameter Name="SERVICE5_CHAR4_LONG_NAME" RefParameter="SERVICE_CHAR_LONG_NAME" TabName="Service5" Group="Characteristic4 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS4"/>
        </Parameter>
        <Parameter Name="SERVICE5_CHAR4_SHORT_NAME" RefParameter="SERVICE_CHAR_SHORT_NAME" TabName="Service5" Group="Characteristic4 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR4_UUID_TYPE" RefParameter ="SERVICE_CHAR_UUID_TYPE" TabName="Service5" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR4_UUID" RefParameter ="SERVICE_CHAR_UUID" TabName="Service5" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR4_VALUE_LENGTH" RefParameter ="SERVICE_CHAR_VALUE_LENGTH" TabName="Service5" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR4_LENGTH_CHARACTERISTIC" RefParameter="SERVICE_CHAR_LENGTH_CHARACTERISTIC" TabName="Service5" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR4_ENC_KEY_SIZE" RefParameter="SERVICE_CHAR_ENC_KEY_SIZE" TabName="Service5" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR4_VALUE_OFFSET" TabName="Service5" Group="Characteristic4 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS4 &amp; (Semaphore_SERVICE5_CHAR4_PROP_NOTIFY | Semaphore_SERVICE5_CHAR4_PROP_INDICATE)"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR4_PROP_BROADCAST" RefParameter="SERVICE_CHAR_PROP_BROADCAST" TabName="Service5" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR4_PROP_READ" RefParameter="SERVICE_CHAR_PROP_READ" TabName="Service5" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR4_PROP_WRITE_WITHOUT_RESP" RefParameter="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" TabName="Service5" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS4"/>
                <PossibleValue Condition="SERVICE5_CHAR4_PROP_WRITE=CHAR_PROP_WRITE" Diagnostic="not available when SERVICE5_CHAR4_PROP_WRITE=Yes" Comment="Yes">CHAR_PROP_WRITE_WITHOUT_RESP</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR4_PROP_WRITE" RefParameter="SERVICE_CHAR_PROP_WRITE" TabName="Service5" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS4"/>
                <PossibleValue Condition="SERVICE5_CHAR4_PROP_WRITE_WITHOUT_RESP=CHAR_PROP_WRITE_WITHOUT_RESP" Diagnostic="not available when SERVICE5_CHAR4_PROP_WRITE_WITHOUT_RESP=Yes" Comment="Yes">CHAR_PROP_WRITE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR4_PROP_NOTIFY" RefParameter="SERVICE_CHAR_PROP_NOTIFY" TabName="Service5" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS4"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE5_CHAR4_PROP_NOTIFY">CHAR_PROP_NOTIFY</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR4_PROP_INDICATE" RefParameter="SERVICE_CHAR_PROP_INDICATE" TabName="Service5" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS4"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE5_CHAR4_PROP_INDICATE">CHAR_PROP_INDICATE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <!-- Parameter Name="SERVICE5_CHAR4_PROP_SIGNED_WRITE" RefParameter="SERVICE_CHAR_PROP_SIGNED_WRITE" TabName="Service5" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR4_PROP_EXT" RefParameter="SERVICE_CHAR_PROP_EXT" TabName="Service5" Group="Characteristic4 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS4"/>
        </Parameter-->

        <Parameter Name="SERVICE5_CHAR4_ATTR_PERMISSION_AUTHEN_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" TabName="Service5" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR4_ATTR_PERMISSION_AUTHOR_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" TabName="Service5" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR4_ATTR_PERMISSION_ENCRY_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" TabName="Service5" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR4_ATTR_PERMISSION_AUTHEN_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" TabName="Service5" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR4_ATTR_PERMISSION_AUTHOR_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" TabName="Service5" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR4_ATTR_PERMISSION_ENCRY_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" TabName="Service5" Group="Characteristic4 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS4"/>
        </Parameter>        

        <Parameter Name="SERVICE5_CHAR4_GATT_NOTIFY_ATTRIBUTE_WRITE" RefParameter="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" TabName="Service5" Group="Characteristic4 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR4_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service5" Group="Characteristic4 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS4"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR4_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service5" Group="Characteristic4 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS4"/>
        </Parameter>

        <!-- GATT SERVICE5 characteristic4 end -->


        <!-- GATT SERVICE5 characteristic5 begin -->

        <Parameter Name="SERVICE5_CHAR5_LONG_NAME" RefParameter="SERVICE_CHAR_LONG_NAME" TabName="Service5" Group="Characteristic5 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS5"/>
        </Parameter>
        <Parameter Name="SERVICE5_CHAR5_SHORT_NAME" RefParameter="SERVICE_CHAR_SHORT_NAME" TabName="Service5" Group="Characteristic5 general">
            <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR5_UUID_TYPE" RefParameter ="SERVICE_CHAR_UUID_TYPE" TabName="Service5" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR5_UUID" RefParameter ="SERVICE_CHAR_UUID" TabName="Service5" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR5_VALUE_LENGTH" RefParameter ="SERVICE_CHAR_VALUE_LENGTH" TabName="Service5" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR5_LENGTH_CHARACTERISTIC" RefParameter="SERVICE_CHAR_LENGTH_CHARACTERISTIC" TabName="Service5" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR5_ENC_KEY_SIZE" RefParameter="SERVICE_CHAR_ENC_KEY_SIZE" TabName="Service5" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR5_VALUE_OFFSET" TabName="Service5" Group="Characteristic5 general">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS5 &amp; (Semaphore_SERVICE5_CHAR5_PROP_NOTIFY | Semaphore_SERVICE5_CHAR5_PROP_INDICATE)"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR5_PROP_BROADCAST" RefParameter="SERVICE_CHAR_PROP_BROADCAST" TabName="Service5" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR5_PROP_READ" RefParameter="SERVICE_CHAR_PROP_READ" TabName="Service5" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR5_PROP_WRITE_WITHOUT_RESP" RefParameter="SERVICE_CHAR_PROP_WRITE_WITHOUT_RESP" TabName="Service5" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS5"/>
                <PossibleValue Condition="SERVICE5_CHAR5_PROP_WRITE=CHAR_PROP_WRITE" Diagnostic="not available when SERVICE5_CHAR5_PROP_WRITE=Yes" Comment="Yes">CHAR_PROP_WRITE_WITHOUT_RESP</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR5_PROP_WRITE" RefParameter="SERVICE_CHAR_PROP_WRITE" TabName="Service5" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS5"/>
                <PossibleValue Condition="SERVICE5_CHAR5_PROP_WRITE_WITHOUT_RESP=CHAR_PROP_WRITE_WITHOUT_RESP" Diagnostic="not available when SERVICE5_CHAR5_PROP_WRITE_WITHOUT_RESP=Yes" Comment="Yes">CHAR_PROP_WRITE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR5_PROP_NOTIFY" RefParameter="SERVICE_CHAR_PROP_NOTIFY" TabName="Service5" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS5"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE5_CHAR5_PROP_NOTIFY">CHAR_PROP_NOTIFY</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR5_PROP_INDICATE" RefParameter="SERVICE_CHAR_PROP_INDICATE" TabName="Service5" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS5"/>
                <PossibleValue Comment="Yes" Semaphore="Semaphore_SERVICE5_CHAR5_PROP_INDICATE">CHAR_PROP_INDICATE</PossibleValue>
                <PossibleValue Comment="No"></PossibleValue>
        </Parameter>

        <!-- Parameter Name="SERVICE5_CHAR5_PROP_SIGNED_WRITE" RefParameter="SERVICE_CHAR_PROP_SIGNED_WRITE" TabName="Service5" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR5_PROP_EXT" RefParameter="SERVICE_CHAR_PROP_EXT" TabName="Service5" Group="Characteristic5 properties">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS5"/>
        </Parameter-->

        <Parameter Name="SERVICE5_CHAR5_ATTR_PERMISSION_AUTHEN_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_READ" TabName="Service5" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR5_ATTR_PERMISSION_AUTHOR_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_READ" TabName="Service5" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR5_ATTR_PERMISSION_ENCRY_READ" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_READ" TabName="Service5" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR5_ATTR_PERMISSION_AUTHEN_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHEN_WRITE" TabName="Service5" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR5_ATTR_PERMISSION_AUTHOR_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_AUTHOR_WRITE" TabName="Service5" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR5_ATTR_PERMISSION_ENCRY_WRITE" RefParameter="SERVICE_CHAR_ATTR_PERMISSION_ENCRY_WRITE" TabName="Service5" Group="Characteristic5 permissions">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS5"/>
        </Parameter>        

        <Parameter Name="SERVICE5_CHAR5_GATT_NOTIFY_ATTRIBUTE_WRITE" RefParameter="SERVICE_CHAR_GATT_NOTIFY_ATTRIBUTE_WRITE" TabName="Service5" Group="Characteristic5 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR5_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_WRITE_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service5" Group="Characteristic5 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS5"/>
        </Parameter>

        <Parameter Name="SERVICE5_CHAR5_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" RefParameter="SERVICE_CHAR_GATT_NOTIFY_READ_REQ_AND_WAIT_FOR_APPL_RESP" TabName="Service5" Group="Characteristic5 GATT events">
                <Condition Diagnostic="" Expression="Semaphore_SERVICE5_CHARACTERISTICS5"/>
        </Parameter>

        <!-- GATT SERVICE5 characteristic5 end -->

        <!-- GATT SERVICE5 end -->

        <!-- GATT end -->

        <Parameter Name="P2P_SERVER_NUMBER"/>
        <Parameter Name="L2CAP_REQUEST_NEW_CONN_PARAM"/>
        <Parameter Name="CFG_UART_GUI"/>
        <Parameter Name="CFG_CONSOLE_MENU"/>
        <Parameter Name="CFG_USB_INTERFACE_ENABLE"/>
        <Parameter Name="CFG_RTCCLK_DIVIDER_CONF"/>
        <Parameter Name="CFG_DEBUG_BLE_TRACE"/>
        <Parameter Name="CFG_DEBUG_APP_TRACE"/>

        <!-- Thread specific -->
        <Parameter Name="PANID"/>
        <Parameter Name="CHANNEL"/>
        <Parameter Name="CFG_DEBUG_TRACE"/>
        <Parameter Name="CFG_DEBUG_TRACE_LIGHT"/>
        <Parameter Name="CFG_DEBUG_TRACE_FULL"/>
        
<!--
        <Parameter Name="APP_DBG_EN"/>
-->
		<!-- Thread Zigbee common -->
        <Parameter Name="APPLI_CONFIG_LOG_LEVEL"/>
        <Parameter Name="APPLI_PRINT_FILE_FUNC_LINE"/>
        <Parameter Name="CFG_TL_EVT_QUEUE_LENGTH"/>
        <Parameter Name="CFG_TL_MOST_EVENT_PAYLOAD_SIZE"/>
		<Parameter Name="CFG_FULL_LOW_POWER"/>
		<Parameter Name="CFG_CLI_UART"/>
    <!-- File ble_dbg_conf.h-->
		<!-- Parameters for Debug option-->
		<Parameter Name="BLE_DBG_APP_EN"/>
		<Parameter Name="BLE_DBG_DIS_EN"/>
		<Parameter Name="BLE_DBG_HRS_EN"/>
		<Parameter Name="BLE_DBG_SVCCTL_EN"/>
		<Parameter Name="BLE_DBG_BLS_EN"/>
		<Parameter Name="BLE_DBG_HTS_EN"/>
		<Parameter Name="BLE_DBG_P2P_STM_EN"/>
        <Parameter Name="LOCAL_NAME"/>
        <Parameter Name="LOCAL_NAME_FORMATTED"/>
    </RefMode>

	<!-- ModeLogicOperator for BLE_HOST -->
	<ModeLogicOperator Name="OR">
		<Mode Name="BLE">
			<ModeLogicOperator Name="XOR">
                <Mode Name="STM32_WPAN_Enabled">
                    <SignalLogicalOp Name="AND">
                        <Signal IOMode="Basic" Name="VS_BLE_HOST"/>
                    </SignalLogicalOp>
                    <Semaphore>S_BLE_HOST</Semaphore>
                </Mode>
			</ModeLogicOperator>
            <Condition Diagnostic="BLE and Thread modes are active only if RF, RTC &amp; HSEM are enabled" Expression="!S_THREAD &amp; !S_ZIGBEE &amp; (S_RF0 | S_RF1) &amp; S_HSEM_Enabled &amp; RTC_ENABLED &amp; !S_CMSIS_RTOS_V1$context"/>
		</Mode>
		<Mode Name="THREAD">
			<ModeLogicOperator Name="XOR">
                <Mode Name="STM32_WPAN_Enabled">
                    <SignalLogicalOp Name="AND">
                        <Signal IOMode="Basic" Name="VS_THREAD"/>
                    </SignalLogicalOp>
                    <Semaphore>S_THREAD</Semaphore>
                </Mode>
			</ModeLogicOperator>
            <Condition Diagnostic="BLE and Thread modes are active only if RF, RTC &amp; HSEM are enabled" Expression="!S_BLE_HOST &amp; !S_ZIGBEE &amp; (S_RF0 | S_RF1) &amp; S_HSEM_Enabled &amp; RTC_ENABLED &amp; !S_CMSIS_RTOS_V1$context"/>
<!--
            <Condition Diagnostic="Not implemented" Expression="0"/>
-->
        </Mode>
		<Mode Name="ZIGBEE">
			<ModeLogicOperator Name="XOR">
				<Mode Name="STM32_WPAN_ZGB_ENDPOINT">
					<SignalLogicalOp Name="AND">
						<Signal IOMode="Basic" Name="VS_ZIGBEE"/>
					</SignalLogicalOp>
					<Semaphore>S_ZIGBEE</Semaphore>
				</Mode>
			</ModeLogicOperator>
			<Condition Diagnostic="Zigbee mode is active only if RF, RTC &amp; HSEM are enabled and if FreeRTOS is disabled" Expression="!S_THREAD &amp; !S_BLE_HOST &amp; (S_RF0 | S_RF1) &amp; S_HSEM_Enabled &amp; RTC_ENABLED &amp; !S_CMSIS_RTOS_V1$context &amp; !S_CMSIS_RTOS_V2$context"/>
		</Mode>
	</ModeLogicOperator>


	<!-- RefSignal for BLE_HOST -->
	<RefSignal Name="VS_BLE_HOST" Virtual="true"/>	
    <RefSignal Name="VS_THREAD" Virtual="true"/>
	<RefSignal Name="VS_ZIGBEE" Virtual="true"/>
</IP>
