Phoenix Bluetooth seriële poortadapter Handbuch Seite 9

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 43
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 8
BLUETOOTH AT COMMAND LIST
7749_de_00 PHOENIX CONTACT 9
Inquiry (AT*AGI=)
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.
AT Command Description
AT*AGI=<inquiry_Type>,<inquiry_length>,
<max_no_of_devices_to_find><CR>
Performs an inquiry procedure to find any discoverable de-
vices in the vicinity.
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: 1-48
Time = inquiry_length*1.28 seconds
Range in seconds: 1.28-61.44
max_no_of_devices_to_fin
d
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.
Module Constraint
FL BT SPA If more than 20 devices are found, then devices may be listed
several times.
Seitenansicht 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 ... 42 43

Kommentare zu diesen Handbüchern

Keine Kommentare