D T 5 0 - M C O M M A N D R E F E R E N C E G U I D E 1 . 1 P a g e
21 | 38
remote_address
Remote address if available. Empty string if there is
no remote address.
7.1.6 Server configuUDSC
AT Command
Description
AT+UDSC=<id>,<type>[,<option1>[,<option2>][,<o
ption3>]]
or
AT+UDSC=<id>,<url>
Writes server configuration.
AT+UDSC[=<id>]
Reads server configuration.
Response
Description
+UDSC:<id>,<type>[,<option1>[,<option2>]]
OK
Successful read response.
OK
Successful write response.
ERROR
Error response.
Parameter
Description
id
0-6, the server ID to configure. Disable an
active server first before changing.
By default, the following servers are
enabled on id 0:
• SPP server
A DCE reboot is required before any
Bluetooth related server configuration
takes effect.
url
URL to the service on the remote
peer.<scheme>://<domain>[:<port>]/[?<q
uery_string>]
Supported scheme:
tcp:
• <query_string> "keepAlive" is used to
configure the tcp keepalive settings. It
includes keepIdle, keepInterval, and
keepCount separated by a "+"
o keepIdle: time in milliseconds (ms)
between keepalive packets
o keepInterval: time in milliseconds
between two successive keepalive
retransmissions
o keepCount: the number
type
0: Server disabled
1: TCP
2: UDP
3: SPP
4: DUN