ARM Technical Support Knowledge Articles

How to start Device Server to support CoAP over TCP

Applies to: mbed Device Server


The default Device Server starts with CoAP over UDP, as indicated in the runtime console logs in the following example:

Device Server Enterprise (starting..)
Version: 2.3.0-147-SNAPSHOT-06.01.2015
CoAP over UDP interface [listening on /].
HTTP interface [listening on /].
Admin-UI HTTPS interface [listening on /].

To enable the TCP interface:

1. Edit the COAP.TCP parameters in the file in the /conf directory, as shown in the following example:

## TCP port (default=5683)

2. The following line in the runtime console shows the activated TCP interface:

CoAP over TCP interface [listening on /0:0:0:0:0:0:0:0:5683]

Article last edited on: 2015-02-25 10:56:59

Rate this article

Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential