[including the list now]
On Thursday 28 January 2016 06:39:21 JiHwan Seo wrote:
> If server can response to it,
> port number of TCP should be filled into option value with option
> number(65510). and then client will be sent request message to the device
> after connection step.
> I guess there will be no problem to use UDP transport,
> becasue to use TCP transport, IP type has to be already selected mandotorily
> like in below. ..#> scons TARGET_OS=linux TARGET_TRANSPORT=IP WITH_TCP=1
The TCP port number should be part of the discovery payload, not the CoAP
header.
I've explained this before. The discovery payload reply should list *all*
possible transports, as in:
[
"coap://[fe80::aadd:14ff:fe21:f3cd]:49312",
"coap+tcp://[fe80::aadd:14ff:fe21:f3cd]:49313",
"coap://[fd61:4d75::aadd:14ff:fe21:f3cd]:49312",
"coap+tcp://[fd61:4d75::aadd:14ff:fe21:f3cd]:49313",
"coap://169.254.79.49:49312",
"coap+tcp://169.254.79.49:49313",
"coap+bt://8add1f21f3cd.mac-address"
]
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center