User Manual
Table Of Contents
- INTRODUCTION
- CONTROLLING THE ACCESS SERVER
- CONFIGURATION
- USING THE SYSTEM
- BLUETOOTH TECHNOLOGY OVERVIEW
- INTRODUCTION TO SDK
- INSTALLING THE WRAP SOFTWARE DEVELOPMENT ENVIRONMENT
- CREATING WRAP APPLICATIONS
- BLUETOOTH SERVER SOCKET INTERFACE
- I/O API
- ABOUT BLUEGIGA
- APPENDIX A – WRAP DIRECTORY STRUCTURE
USER'S AND DEVELOPER'S GUIDE WRAP MULTIRADIO ACCESS SERVER
9.3.2 I
NQUIRY
INQUIRY is used to search for other Bluetooth devices. Timeout is in units of 1.25 seconds. If
an optional "NAME" parameter is provided, the NAME command will be sent automatically to all
found devices.
During the inquiry, all devices are listed as soon as they are found with "INQUIRY_PARTIAL"
replies. If the friendly name of the device found has been cached by the Bluetooth server, it is
also displayed. When the inquiry times out, a summary is displayed (how many devices were
found and their information repeated).
Command: INQUIRY timeout {NAME}
Reply: INQUIRY_PARTIAL bdaddr_of_dev_1 class_of_dev_1 "friendly name" rssi
INQUIRY_PARTIAL bdaddr_of_dev_2 class_of_dev_2 "friendly name" rssi
...
INQUIRY_PARTIAL bdaddr_of_dev_n class_of_dev_n "friendly name" rssi
INQUIRY number_of_devices_found
INQUIRY bdaddr_of_dev_1 class_of_dev_1 "friendly name"
INQUIRY bdaddr_of_dev_2 class_of_dev_2 "friendly name"
...
INQUIRY bdaddr_of_dev_n class_of_dev_n "friendly name"
Example: S: READY.
C: INQUIRY 10
S: INQUIRY 0
C: INQUIRY 10
S: INQUIRY_PARTIAL 00:11:22:33:44:55 120300 "willow" 255
S: INQUIRY_PARTIAL 11:22:33:44:55:66 520204 "" 255
S: INQUIRY 2
S: INQUIRY 00:11:22:33:44:55 120300 "willow"
S: INQUIRY 11:22:33:44:55:66 520204 ""
C: INQUIRY 10 NAME
S: INQUIRY_PARTIAL 00:11:22:33:44:55 120300 "" 255
S: INQUIRY_PARTIAL 11:22:33:44:55:66 520204 "buffy" 255
S: INQUIRY 2
S: INQUIRY 00:11:22:33:44:55 120300 ""
S: INQUIRY 11:22:33:44:55:66 520204 "buffy"
S: NAME 00:11:22:33:44:55 "willow"
S: NAME 11:22:33:44:55:66 "buffy"
Bluegiga Proprietary, Copyright © Bluegiga Technologies 2001-2004 54 (94)