manual

BLUETOOTH AT COMMAND LIST
7749_de_00 PHOENIX CONTACT 25
Write_Default_Remote_Peer (AT*ADWDRP=)
Read_Inactivity_Tick (AT*ADIT?)
AT Command Description
AT*ADWDRP=<peer_id>,<bd_addr>, <connect_scheme>,
<update_remote_peer_on_incoming>, <device_name>,
<store_in_startup_database><CR>
This command writes the Bluetooth device address, connect
scheme and device name of the currently selected default re-
mote peer.
Command Parameters Type Value
peer_id integer The peer ID can be between 0 and the value written by the Write_No_Of_Peers
command –1 or read by the Read_No_Of_Peers command –1.
bd_addr Bd_Addr Bluetooth device address of the default remote peer.
connect_scheme integer See Read_Default_Remote_Peer.
update_remote_peer_on_i
ncoming
enumerator See Read_Default_Remote_Peer.
device_name string See Read_Default_Remote_Peer.
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 response.
Module Constraint
FL BT SPA The parameter <device_name> is only used when bit 3 in the
connect scheme is set. The maximum length is 32 charac-
ters.
AT Command Description
AT*ADIT?<CR> This command reads the current inactivity tick setting. If there
is no data activity between two consecutive ticks the Serial
Port Adapter will automatically disconnect the current data
mode connection(s).
Responses Description
<CR><LF>*ADIT:<inactivity_tick><CR><LF>OK<CR><LF> Successful response
<CR><LF>ERROR<CR><LF> Error message.
Response Parameters Type Value
inactivety_tick integer 0: no inactivity tick (default value).
1-255: the period (in minutes) of the inactivity timer.