User's Manual Part 2

11.2: GAP Commands Chapter 11: AT Commands Reference
29
Bluetooth device address.
Command
Parameters
Type Value
bd_addr Bd_Addr Bluetooth device address of the device from which
to retrieve the name.
Responses Description
<CR><LF>*AGND:<device_name><CR><LF>OK<CR><LF> Successful response
<CR><LF>ERROR<CR><LF> Error message.
Response
Parameters
Type Value
device_name string Null terminated string of maximum 240 characters
(8-bit ASCII).
Model Constraint
cB-OEMSPA311
cB-OEMSPA331
cB-OEMSPA312
cB-OEMSPA332
Device names longer than 31 bytes will be truncated.
Device_Discovery (AT*AGDD=)
AT Command Description
AT*AGDD=<inquiry_Type>,<inquiry_length><CR> Performs device discovery.
Command
Parameters
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: 8-48
Time = inquiry_length*1.28 seconds
Range in seconds: 10.24-61.44
Responses Description
<CR><LF>*AGDD: <no_of_devices><CR><LF>OK<CR><LF> Successful response
*AGDDE:<bd_addr>, <cod>, <device_name_valid>, <de-
vice_name><CR><LF>
This response is sent for
every found device.
<CR><LF>ERROR<CR><LF> Error message.