manual
BLUETOOTH AT COMMAND LIST
7749_de_00 PHOENIX CONTACT 37
Read_DTR_DSR_Settings (AT*AMDS?)
Write_DTR_DSR_Settings (AT*AMDS=)
AT Command Description
AT*AMDS?<CR> Read current DTR/DSR configuration.
Responses Description
<CR><LF>*AMDS: <dtr_cfg>,
<dsr_cfg><CR><LF>OK<CR><LF>
Successful response
<CR><LF>ERROR<CR><LF> Error message.
Response Parameters Type Value
dtr_cfg integer Configuration of module behavior on the UART DTR pin.
1: DTR is activated when module is started. (default value)
2: DTR is active if there is a Bluetooth connection. If there is no connection, DTR
is inactive.
dsr_cfg integer Configuration of module behavior on the UART DSR pin.
1: DSR is ignored. (default value)
2: If DSR goes from inactive to active, the module will try to connect to a remote
peer if a remote peer is configured. If DSR goes from active to inactive, the mo-
dule will disconnect. For the remote peer, the external connect scheme must be
set.
See Write_Default_Remote_Peer command.
Module Constraint
FL BT SPA DSR mode 2 cannot be configured if module is configured for
stop mode (see AT*AMPM).
AT Command Description
AT*AMDS=<dtr_cfg>, <dsr_cfg>,
<store_in_startup_database><CR>
Write DTR/DSR configuration.
Command Parameters Type Value
dtr_cfg integer See Read_DTR_DSR_Settings.
dsr_cfg integer See Read_DTR_DSR_Settings.
store_in_startup_database enumerator 0: The setting will only be valid for the current power cycle.
1: The Serial Port Adapter will remember the setting between power cycles. The
settings database in the Serial Port Adapter will be updated.
Responses Description
<CR><LF>OK<CR><LF> Successful response
<CR><LF>ERROR<CR><LF> Error message.










