2 Replies Latest reply on May 3, 2016 1:04 PM by aanjan RSS
    rkandasamy Apprentice

    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.

      • Re: Fetch the appKey used for making remote connection
        aanjan Heavyweight Champ

        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.

          • Re: Fetch the appKey used for making remote connection
            rkandasamy Apprentice

            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.