예제 #1
0
 /// <summary>
 /// Sends a special learn command to some devices that need a special learn-command to be used from TellStick
 /// Make sure the device supports this by calling tdMethods() before any calls to this function.
 /// </summary>
 /// <param name="deviceId">Id of device to learn</param>
 /// <returns>Success or error code</returns>
 public static int tdLearn(int deviceId)
 {
     return(UnmanagedImport.tdLearn(deviceId));
 }