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
19 | 38
o 1: enabled
• <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 of retransmissions to be
sent before disconnecting the remote end
• <query_string> "ca" defines the certificate
authority
• <query_string> "cert" defines the client c
ertificate
• <query_string> "privKey" defines the private key
udp:
• <domain> specifies either IPv4 <IPv4_Addr> or IPv6
<IPv6_Addr> address or domain name
• <query_string> can define "local_port"
• <query_string> "flags=1" enables reception from a
unicast address when peer is configured to a
multicast address.
mqtt: Establishes a TCP or TLS connection to an
MQTT Broker.
peer_handle
The peer handle identifies the connection and is
used when closing the connection.
7.1.3 Close peer connUDCPC
AT Command
Description
AT+UDCPC=<peer_handle>
Closes an existing peer connection.
Response
Description
OK
Successful response.
ERROR
Error response.
Parameter
Description
peer_handle
The peer handle identifies the connection.
7.1.4 Default remote peer +UDDRP
AT Command
Description
AT+UDDRP[=<peer_id>]
This command reads the default remote peer (peer
id).
AT+UDDRP=<peer_id>,<url>,
<connect_scheme>
This command writes the default remote peer (peer
id).