Using CoAP to control master-slave structure [message #1713577] |
Thu, 05 November 2015 09:38 |
Zue Hidden Messages: 3 Registered: November 2015 |
Junior Member |
|
|
I plan to create a structure that has an user app and multiple nodes. User can control and message with nodes by using user app. I have to use CoAP communication protocol in communication module in user app because of constraints in nodes.
I know that CoAP provides connectionless communication and one-to-one messaging. It looks alike HTTP protocol.
1) I want to program that data (message) should be sent from user app to a node and the node uses this data inside. (I think I must use "POST" methods of CoAP, am I right?)
2) The node sends data when the user app request.
For actions above(independent of each other), between user app and a node, which one is used as a server, which one is used as client? Which methods of CoAP should be used to provide these actions?
Please guide me at the beginning of my CoAP programming. Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.03030 seconds