I am new to tizen development and creating companion app. in the example provided , hello message is using sap_peer_agent_send_data and hello accessory is using sap_socket_send_data. basically i don't understand the difference between them.
When to use sap_socket_send_data and when to use sap_peer_agent_send_data in Tizen Companion watch usingSAP.