我应该把 "coap+tcp" uri 放在哪里?

Where I should placed the "coap+tcp" uri?

我正在尝试为嵌入式设备编写 CoAP 客户端协议实现。 现在我正在研究 tcp 实现。

我不明白我应该将 "coap+tcp" uri 放在请求中的什么位置。 我正在用 Californium 测试我的代码,所以没有那个 uri 也能正常工作。

但是在 Californium 的来源中我看到了选项:

我不明白这样做的目的。 有人可以解释如何在客户端上下文中使用它吗?

据我了解,URI Scheme主要是(如果只考虑技术方面)让客户端在没有定义的情况下应用默认端口:

RFC7252 Section 6.2

All of the requirements listed above for the "coap" scheme are also requirements for the "coaps" scheme, except that a default UDP port of 5684 is assumed if the port subcomponent is empty or not given, and the UDP datagrams MUST be secured through the use of DTLS as described in Section 9.1.

我发现 RFC 中没有任何直接提及 PDU 应包含该方案。