On quarta-feira, 27 de julho de 2016 10:54:54 PDT ?? wrote: > Hi Thiago, > > What difference it makes by adding a new endpoint? It still has to do the > same processing as OCFServer. It is like creating a endpoint for a > resource.
Because the implementation may not want to run the proxy on the same port as the main OCF resources, for security reasons or for implementation details. The information in either the /oic/res reply or the proxy's own resource should include that information. I'm not asking you to design the implementation like that. But I am asking that you make it possible for another implementation to do that. > And as I understand, EP is for different connections/protocols. For ex : > coap, coaps,coap+bt, coap+tcp, coaps+tcp. But proxy is different. It is > supported on all these connections. If we have to create endpoint, we have > to do for all the connections and protocols. It will be too much overhead > on the device. Feel free to design a reply format that has less overhead. But make sure that an implementation that chooses not to use the same port number or IP address is still possible. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
