[an error occurred while processing this directive]
Ответ:
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)

миниатюрный аудио-видеорекордер mAVR

Отправлено superkeks 04 октября 2006 г. 18:12
В ответ на: Ответ: можно ли эту главу? отправлено SimpleSoft 04 октября 2006 г. 18:06

HCI Commands 8 May 2001 561
BLUETOOTH SPECIFICATION Version 1.1 page 561 of 1084
Host Controller Interface Functional Specification
4.5.1 Inquiry
Description:
This command will cause the Bluetooth device to enter Inquiry Mode. Inquiry
Mode is used to discover other nearby Bluetooth devices. The LAP input
parameter contains the LAP from which the inquiry access code shall be
derived when the inquiry procedure is made. The Inquiry_Length parameter
specifies the total duration of the Inquiry Mode and, when this time expires,
Inquiry will be halted. The Num_Responses parameter specifies the number of
responses that can be received before the Inquiry is halted. A Command Status
event is sent from the Host Controller to the Host when the Inquiry command
has been started by the Bluetooth device. When the Inquiry process is
completed, the Host Controller will send an Inquiry Complete event to the Host
indicating that the Inquiry has finished. The event parameters of Inquiry Complete
event will have a summary of the result from the Inquiry process, which
reports the number of nearby Bluetooth devices that responded. When a Bluetooth
device responds to the Inquiry message, an Inquiry Result event will
occur to notify the Host of the discovery.
A device which responds during an inquiry or inquiry period should always be
reported to the Host in an Inquiry Result event if the device has not been
reported earlier during the current inquiry or inquiry period and the device has
not been filtered out using the command Set_Event_Filter. If the device has
been reported earlier during the current inquiry or inquiry period, it may or may
not be reported depending on the implementation (depending on if earlier
results have been saved in the Host Controller and in that case how many
responses that have been saved). It is recommended that the Host Controller
tries to report a particular device only once during an inquiry or inquiry period.
Command Parameters:
LAP: Size: 3 Bytes
Command OCF Command Parameters Return Parameters
HCI_Inquiry 0x0001 LAP, Inquiry_Length,
Num_Responses
Value Parameter Description
0x9E8B00–
0X9E8B3F
This is the LAP from which the inquiry access code should be derived
when the inquiry procedure is made; see “Bluetooth Assigned Numbers”
(http://www.bluetooth.org/assigned-numbers.htm).
562 8 May 2001 HCI Commands
BLUETOOTH SPECIFICATION Version 1.1 page 562 of 1084
Host Controller Interface Functional Specification
Inquiry_Length: Size: 1 Byte
Num_Responses: Size: 1 Byte
Return Parameters:
None.
Event(s) generated (unless masked away):
A Command Status event is sent from the Host Controller to the Host when the
Host Controller has started the Inquiry process. An Inquiry Result event will be
created for each Bluetooth device which responds to the Inquiry message. In
addition, multiple Bluetooth devices which respond to the Inquire message may
be combined into the same event. An Inquiry Complete event is generated
when the Inquiry process has completed.
Note: no Command Complete event will be sent by the Host Controller to
indicate that this command has been completed. Instead, the Inquiry Complete
event will indicate that this command has been completed. No Inquiry Complete
event will be generated for the canceled Inquiry process.

Составить ответ  |||  Конференция  |||  Архив

Ответы


Отправка ответа
Имя (обязательно): 
Пароль: 
E-mail: 

Тема (обязательно):
Сообщение:

Ссылка на URL: 
Название ссылки: 
URL изображения: 


Rambler's Top100 Рейтинг@Mail.ru
Перейти к списку ответов  |||  Конференция  |||  Архив  |||  Главная страница  |||  Содержание