<?xml version="1.0" encoding="UTF-8"?>
<!--
	XML

	Copyright 2019-2024 MicroEJ Corp. All rights reserved.
	Use of this source code is governed by a BSD-style license that can be found with this software.
-->
<project name="bluetooth-mock-init">
	<import file="${scripts.dir}/extension-init.xml"/>

	<target name="init/bluetooth-mock" extensionOf="init/execution" if="onS3">
		<augment id="hil.main.classpath">
			<fileset dir="${platform.dir}/mocks" includes="mockbluetooth-mock.jar"/>
		</augment>

		<property name="s3.bluetooth.mode" value="stub"/>
		<property name="s3.bluetooth.net.host" value="192.168.x.y"/>
		<property name="s3.bluetooth.net.port" value="80"/>
		<property name="s3.bluetooth.net.timeout" value="5000"/>

		<augment id="hil.main.properties">
			<propertyref name="s3.bluetooth.mode"/>
			<propertyref name="s3.bluetooth.net.host"/>
			<propertyref name="s3.bluetooth.net.port"/>
			<propertyref name="s3.bluetooth.net.timeout"/>
		</augment>
	</target>
</project>
