I'm trying to figure out what protocols thingworx agents use for the functionalities below:
Telemetry data, File Transfer, Script/Service, Remote Access, and SCM
My understanding is that EMS and the thingworx SDKs use websocket. But when I look at the attached EMS documentation, it says it uses REST on pg 4. I'm confused. Which protocol is used for the above features?
Solved! Go to Solution.
Hi @Willie,
"The ThingWorx WS EMS provides connectivity to the ThingWorx Platform through the ThingWorx WebSocket-based, binary AlwaysOn™ protocol." : see http://support.ptc.com/help/edge_microserver/r5.4.7/en/#page/edge_microserver%2Fc_wsems_support_matrix.html%23
I believe File Transfer uses whatever protocol is used by the connection between the device and the ThingWorx Remote Thing : http://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx%2FHelp%2FComposer%2FSystem%2FSubsystems%2FFileTransferSubsystem.html
The same seems to be true for Remote Access : see http://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx%2FHelp%2FExtensibility%2FRemoteAccess.html
I realized that the REST calls are made to the platform from outside thingworx if they want to take those actions on the remote thing.
Hi @Willie,
"The ThingWorx WS EMS provides connectivity to the ThingWorx Platform through the ThingWorx WebSocket-based, binary AlwaysOn™ protocol." : see http://support.ptc.com/help/edge_microserver/r5.4.7/en/#page/edge_microserver%2Fc_wsems_support_matrix.html%23
I believe File Transfer uses whatever protocol is used by the connection between the device and the ThingWorx Remote Thing : http://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx%2FHelp%2FComposer%2FSystem%2FSubsystems%2FFileTransferSubsystem.html
The same seems to be true for Remote Access : see http://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx%2FHelp%2FExtensibility%2FRemoteAccess.html
Hi @Willie.
If the previous response answered your question, please mark it as the Accepted Solution for the benefit of others with the same question.
Regards.
--Sharon