Re: [RFC BlueZ 21/35] tools/mgmt-tester: Add support for second controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, Jun 12, 2013, Bruna Moreira wrote:
> Add second controller to tester and let a testcase start discovery and
> receive Device Found events.
> ---
>  tools/mgmt-tester.c |   74 ++++++++++++++++++++++++++++++++++++++++++++++++++-
>  1 file changed, 73 insertions(+), 1 deletion(-)
> 
> diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c
> index cbff775..a27b2e2 100644
> --- a/tools/mgmt-tester.c
> +++ b/tools/mgmt-tester.c
> @@ -56,6 +56,8 @@ struct test_data {
>  	uint16_t mgmt_index;
>  	struct hciemu *hciemu;
>  	enum hciemu_type hciemu_type;
> +	struct hciemu *hciemu_second;
> +	uint16_t mgmt_index_second;
>  	int unmet_conditions;
>  };

It seems to me that this is exactly why bthost exists, i.e. the hciemu
instance already contains a peer controller combined with an emulated
host stack.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux