cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Enabling Tunneling of a thing under configuration tab through Edge Java SDK

kiran2
6-Contributor

Enabling Tunneling of a thing under configuration tab through Edge Java SDK

Hi Guys,

 

Need help in enabling tunneling of a particular thing through Edge Java SDK. I was able to add the tunnel by invoking AddTunnel service through Edge Java SDK. 

Is there any service or property for EnableTunneling, so that i can invoke that service or else write the value to that property using SDK.

 

 

 

Thanks in advance.

1 REPLY 1
CRArko
17-Peridot
(To:kiran2)

Hello, Kiran.

 

Per the ThingWorx Edge SDK Help Center, it is suggested:

 

To enable tunneling, either invoke ClientConfigurator.tunnelsEnabled(true), or set the tunnelsEnabled directive in your config file. A full example is available in the TunnelExample.java file, located in the directory, samples/com/thingworx/sdk/simple.

 

Perhaps check for that example code, and see if that gives you what you need.

 

Thanks,

 

-- Craig A.

Top Tags