User's Manual Part 2

11.2: GAP Commands Chapter 11: AT Commands Reference
30
Response
Parameters
Type Value
no_of_devices integer Value in range {0..255}.
Number of devices discovered during the inquiry
procedure.
bd_addr Bd_Addr Bluetooth device address of a discovered device.
cod integer See Read_Local_COD command.
device_name_valid enumerator 1: device_Name parameter valid.
0: Device was discovered, but its name could not
be retrieved. device_name is parameter invalid and
should be ignored.
device_name string Name of discovered device. ASCII represented
string of maximum 240 bytes.
Model Constraint
cB-OEMSPA311
cB-OEMSPA331
cB-OEMSPA312
cB-OEMSPA332
Not supported. Instead use the Inquiry and Name_Discovery
commands.
Inquiry (AT*AGI=)
AT Command Description
AT*AGI=<inquiry_Type>,<inquiry_length>,
<max_no_of_devices_to_find><CR>
Performs an inquiry procedure to find
any discoverable devices in the vicin-
ity.
Command Pa-
rameters
Type Description
inquiry_type enumerator 1: Limited inquiry
2: General inquiry
inquiry_length integer Maximum amount of time specified before the
inquiry is halted.
Range: 1-48
Time = inquiry_length*1.28 seconds
Range in seconds: 1.28-61.44
max_no_of_devices_to_find integer 0: No limitation on the number of devices to find.
1-255: Maximum number of devices to find.
Responses Description
<CR><LF>*AGI:<bd_addr>,<cod> This response is sent for every found device.
<CR><LF>OK<CR><LF> Successful response.
<CR><LF>ERROR<CR><LF> Error message.
Response
Parameters
Type Value
Bd_addr Bd_Addr Bluetooth device address of a found device.
cod integer See Read_Local_COD command.