/// <summary> /// Returns the last sent command to a specific device /// </summary> /// <param name="deviceId">Id of device to query</param> /// <param name="methods">The methods supported by the client. See tdMethods() for more information.</param> /// <returns>The last sent command as integer, for example TELLSTICK_TURNON or TELLSTICK_TURNOFF</returns> public static int tdLastSentCommand(int deviceId, int methods) { return(UnmanagedImport.tdLastSentCommand(deviceId, methods)); }