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
22 | 38
5: UUID
6: SPS
7: Reserved
8: ATP
option1
For TCP and UDP, <option1> specifies the
listening port. Valid values are 1 - 65535.
For SPP, DUN, and UUID, <option1>
specifies the service name. The service
name can be maximum 15 characters. If an
empty string is provided, the default
service name is used ("SPP", "DUN",
"UUID").
For ATP, <option1> specifies the interface
on which the AT-service is started, values
are identical to the <type> parameter
above.
option2
For UDP,<option2> specifies the behavior
of incoming data.
• 0 (default): No connect. This will trigger
an +UUDPC URC immediately (with
broadcast as remote_ip and 0 as remote
port); but this will not cause any new
+UUDPC when the data is received. So, it
will not be possible to extract the data
source. This is typically used together with
the data mode.
• 1: Auto connect.
This will spawn a new
peer and trigger a +UUDPC URC so that the
host can respond to the sender. Further
incoming data from the same source will
be
received on the newly created peer. The
originally created server will still be active
to listen for new data. This is typically used
together with the Extended data mode.
For UUID,<option2> specifies the 128-bit
UUID identifier.
For ATP, <option2> specifies the listening
port if the AT-service is started on a TCP or
UDP interface
For TCP, <option2> specifies if there
should be an immediate flush after a write.
• 0 (default): Disabled
• 1: Enable
option3
For UDP, <option3> specifies IP version of
the started service.