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.