2005-05-20 01:54:33

by Zhixiang Deng

[permalink] [raw]
Subject: Re: Re: [Bluez-users] hci problems

Hi , Marcel

Thank you for your quick reply.
>> Here , I want to do the following work : one bluetooth device=
send the inquiry command (using the hci_inquiry function) and=
the bluetooth devices who are inquiried of course will return=
corresponding packets , but how can I know the event that the=
device is inquiried upon the HCI layer ? Because I have to do=
some work only if the device is inquired .
>
>this is not possible.
I have no idea to continue my work without such function ,could=
you please kindly provide me some alternative methods ?

The first step of our work is to form a piconet. The master=
device is chosen by decreasing a random number to zero. Those=
bluetooth devices that have been inquiried by the master in the=
piconet should do some work such as stopping the decreasing=
process,etc.

Thank you very much for consuming your precious time.
=3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D
Regards,
=09=09
Cloudshang
=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1zhixiang_deng@yahoo.com.cn
=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A12005-05-20







-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2005-05-20 09:34:46

by Marcel Holtmann

[permalink] [raw]
Subject: Re: Re: [Bluez-users] hci problems

Hi,

> >> Here , I want to do the following work : one bluetooth device send the inquiry command (using the hci_inquiry function) and the bluetooth devices who are inquiried of course will return corresponding packets , but how can I know the event that the device is inquiried upon the HCI layer ? Because I have to do some work only if the device is inquired .
> >
> >this is not possible.
> I have no idea to continue my work without such function ,could you please kindly provide me some alternative methods ?

there exists no alternate method. This stuff is all handled inside the
baseband and link manager. HCI interaction is not needed.

You need to page (connect) a remote device to make the host stack aware
of that something happens.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users