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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Fetch the appKey used for making remote connection

rkandasamy
7-Bedrock

Fetch the appKey used for making remote connection

I have a remote thing (RemoteThing1) in the TW Server and the corresponding remote thing( RemoteThing1) in the Edge SDK. The RemoteThing1 is able to connect to the TW Server from the SDK succesfully.

I want to know which appKey was used by the RemoteThing1 in the SDK to connect to RemoteThing1 on the TW Server.

2 REPLIES 2
Aanjan
12-Amethyst
(To:rkandasamy)

Rdhakrishnan, are you using a pre-built or packaged SDK? What SDK is this? You would have had to modify the host, port and appKey in the SDK to connect to your platform.

Aanjan, we have the following use cases :

1. Whenever SDK tries to connect with TW Server using invalid appKey, we want to know the invalid appKey and the corresponding remote thing which was being used for making the connection.

2. Whenever SDK connects to TW Server successfully, we want to know the appKey that was used for making the connection.

Please let us know how can we perform the above use cases programmatically. Kindly give us the script for the same as well as the EVENT where we can possibly add these script.

Announcements


Top Tags