Commit graph

  • eac97c3684 Add openbsd-getopt to tdtool on Windows Micke Prag 2012-01-18 11:43:45 +01:00
  • 3d7f600dd9 Add CMakeLists.txt for building getopt Micke Prag 2012-01-18 11:37:25 +01:00
  • 49b5292415 Remove debug code Micke Prag 2012-01-18 11:36:49 +01:00
  • 0427ff6de9 These functions seems to conflict with Windows of some reason. We don't need them anyway Micke Prag 2012-01-18 11:35:28 +01:00
  • b7bc071557 Don't redefine pseudo-ANSI C keywords on Windows Micke Prag 2012-01-18 11:33:02 +01:00
  • d78d37a597 Add my support header for letting getopt build on Windows Micke Prag 2012-01-18 11:27:59 +01:00
  • 848f65803c Add getopt implementation from OpenBSD Micke Prag 2012-01-18 11:21:42 +01:00
  • 44b60a20ec Merge branch 'ticket96' Stefan Persson 2012-01-17 15:32:56 +01:00
  • 645ef2098e Sensor save and load from storage, and deletion. Closes #96 Stefan Persson 2012-01-17 15:10:46 +01:00
  • 5ce0b81e39 Add function QMLArray::removeLater() Micke Prag 2012-01-17 13:31:01 +01:00
  • 5b3b669997 Remove Stefans debug code Micke Prag 2012-01-17 13:20:19 +01:00
  • a182ba2111 Delete sensors from model and storage Stefan Persson 2012-01-17 13:16:10 +01:00
  • 48daf2ca2f Bump version to 2.1.1_beta1 Micke Prag 2012-01-17 12:20:05 +01:00
  • 9afb2cbbac Fix for building qt-components on Mac OS X. Master branch. Micke Prag 2012-01-16 16:53:29 +01:00
  • bdb766e7cf Merge branch 'master' into ticket96 Micke Prag 2012-01-16 16:30:10 +01:00
  • 1e650c7142 Fix compiling issues for qt-components-desktop on Windows Micke Prag 2012-01-13 18:22:31 +01:00
  • 99c2b0e158 Convert the textbox to qt-components as well Micke Prag 2012-01-13 16:47:20 +01:00
  • 64e2b354af Convert our checkbox to a qt-component checkbox Micke Prag 2012-01-13 16:12:13 +01:00
  • c90a4c1f12 Change the flickable area to a ScrollArea. Better for the desktop Micke Prag 2012-01-13 15:50:21 +01:00
  • 69b16f0baf Plugin extra files should be a custom command and not built after linking. This fixes the issue that the plugin needed to be relinked for new files to be copied to destination Micke Prag 2012-01-13 15:29:55 +01:00
  • cc0b37e179 Fix for building if cmake doesn't understand -1 length in STRING(SUBSTRING) Stefan Persson 2012-01-13 15:05:22 +01:00
  • aadc4554fc Convert the edit button to a qt-component button Micke Prag 2012-01-13 14:37:07 +01:00
  • 5531d6b313 Add QtComponents to the QML plugin Micke Prag 2012-01-13 14:36:38 +01:00
  • ab436a212f Add cmake build file for QtComponents Micke Prag 2012-01-13 14:34:53 +01:00
  • 5db7658a47 Add Qt Components for desktop as submodule Micke Prag 2012-01-13 12:05:22 +01:00
  • 1dfacddf1a Make the list flickable Micke Prag 2012-01-12 17:39:11 +01:00
  • 3942702881 Move SensorList to its own file Micke Prag 2012-01-12 17:33:08 +01:00
  • 332bf966f5 Change plugin name to have capital first letter Micke Prag 2012-01-12 17:32:41 +01:00
  • df5e08ff9c Move SensorView to its own file Micke Prag 2012-01-12 17:30:23 +01:00
  • d326331538 Returning correct error code on reset success Stefan Persson 2012-01-12 15:01:17 +01:00
  • 915d47dc1c Changed reset method for in ftd2xx for non-windows platforms. Stefan Persson 2012-01-12 14:59:29 +01:00
  • 46d70ad451 Return TELLSTICK_ERROR_COMMUNICATION_SERVICE if we timeout when communicating with the service instead of returning success. This closes #152 Micke Prag 2012-01-12 11:49:12 +01:00
  • 5190c42f77 Fixed indentation (space to tabs) Micke Prag 2012-01-12 11:20:15 +01:00
  • 01855cac96 Add qtcreator build directory and CMakeLists.txt.user file to .gitignore Micke Prag 2012-01-09 16:43:15 +01:00
  • e2e9ba4634 Code cleanup Stefan Persson 2012-01-12 14:27:15 +01:00
  • 3ce58f019f Added sleep time to allow TellStick to finish air sending when ignoring answer from TellStick Stefan Persson 2012-01-12 14:21:03 +01:00
  • c527223bc4 Made use of TELLSTICK_ERROR_BROKEN_PIPE in windows too Stefan Persson 2012-01-12 14:17:24 +01:00
  • b84e8b3806 Added TELLSTICK_ERROR_BROKEN_PIPE to distinguate between when communication with TellStick fails due to timeout or actual error. Stefan Persson 2012-01-12 11:39:04 +01:00
  • 69059b935b Lower the retry count (again). ftdi_read_data() uses the latency times as a timeout. This is set to 16ms so 250 retries take about 4s if we don't get a response (worst case). The longest protocol we could think of is "learn" for risingsun selflearning. It takes roughly 3s to finish. Micke Prag 2012-01-12 10:33:11 +01:00
  • b0f092e98d Lower the read timeout for events in the client. This should be reset again when #157 is fixed. See #157. Micke Prag 2012-01-12 10:30:23 +01:00
  • 4068742b25 Setting for 'Not wait for confirmation from TellStick' implemented on windows too. This setting must be set manually. Closes #98 Stefan Persson 2012-01-11 16:16:31 +01:00
  • d7cce515ff Added setting for 'Not wait for confirmation from TellStick', see ticket 98, in Linux Stefan Persson 2012-01-11 14:53:46 +01:00
  • 8d22eff5da Added wait for ack on noop-command Stefan Persson 2012-01-11 11:38:03 +01:00
  • 0c8de249d4 Cycling port and trying to reconnect TellStick on noop or send when missing Stefan Persson 2012-01-10 17:35:18 +01:00
  • 673daf471d Sending noop to TellStick every 5 minutes, attempting to reconnect if TellStick is missing. In Linux. Stefan Persson 2012-01-10 16:00:14 +01:00
  • dfae48ef33 Merge remote-tracking branch 'origin/t132' into ticket132 Stefan Persson 2012-01-10 10:01:55 +01:00
  • 06ac023b4a Resetting USB and retrying send once if TellStick is not found, in Linux Stefan Persson 2012-01-10 09:55:26 +01:00
  • fb8e978acc Implement class Timer in Windows Micke Prag 2012-01-09 17:40:44 +01:00
  • 542d17a45d Add janitor object for regular maintenance and cleanups Micke Prag 2012-01-09 16:53:09 +01:00
  • 988b443810 Add class Timer Micke Prag 2012-01-09 16:52:15 +01:00
  • 6fa59e9ca9 Add Telldus Live! authentication example Micke Prag 2012-01-09 12:37:41 +01:00
  • f58793ca59 Implement decoding of Oregon 0x1A2D. This closes #144 Micke Prag 2012-01-05 14:35:18 +01:00
  • 265daf4714 iconv() cannot convert ascii chacacters > 127. In order for tdSendRawCommand() to work with longer pulses we need to convert to wchar_t manually. This closes #126. Micke Prag 2012-01-04 16:18:01 +01:00
  • 36bfa0ba8b Remove raw events from tdSendRawCommand(). It think this was added by mistake in 464000515c Micke Prag 2012-01-04 16:14:50 +01:00
  • 2ec2dac46f Fix indentation error Micke Prag 2012-01-04 16:11:08 +01:00
  • 65ef5254de Fixes for stability in Windows Service. Correct handling of ERROR_PIPE_CONNECTED. Stefan Persson 2012-01-03 15:42:23 +01:00
  • 716deb5124 Merge remote branch 'origin/windows_service_fixes' Micke Prag 2011-12-30 17:14:50 +01:00
  • dd3504ffb8 Applied patch for everflourish in rfcmd. This closes #141. Thanks to egil egil 2011-12-30 17:13:07 +01:00
  • d3227ebdf8 Implement UP/DOWN/STOP in TelldusCenter Live! plugin. This closes #147. Micke Prag 2011-12-30 16:33:12 +01:00
  • ed1dc8b2d3 Mask methods to lowest common denominator Micke Prag 2011-12-30 16:24:26 +01:00
  • e019f416d9 Increased retry count on ftdi_read_data to avoid TELLSTICK_ERROR_COMMUNICATION on some TellStick/device combinations. Closes #125 Stefan Persson 2011-12-30 16:03:08 +01:00
  • ed502d1660 Fixed for stability in the Windows Service. Mainly changes since CancelIO is not synchronous. Big thanks to Carl Nettelblad for this. See #93 and #94. Carl Nettelblad 2011-12-30 14:18:06 +01:00
  • 5bb60a60c9 Implement our new type of command messages and also handle the ACK. This requires us to bump the protocol version. Closes #151 Micke Prag 2011-12-29 17:36:41 +01:00
  • c56fa6c6f8 Clear the error and status message when we are dicsonnected Micke Prag 2011-12-29 17:34:41 +01:00
  • 05d48d1685 Reset ping timer on all sent messages Micke Prag 2011-12-29 17:33:28 +01:00
  • 06bf1a867d Add function LiveMessageTokenScriptWrapper::getString() Micke Prag 2011-12-29 17:32:56 +01:00
  • d86e12f1d3 LiveMessageTokenScriptWrapper::getInt() should be declared const since it only returnes values Micke Prag 2011-12-29 17:32:18 +01:00
  • 4517db2048 Reset pong timer on all received data (with valid signature). Not only pong messages Micke Prag 2011-12-29 17:29:42 +01:00
  • b8955deed8 Add overloaded constructor to LiveMessageToken to accept an int Micke Prag 2011-12-29 17:28:22 +01:00
  • cd6e59baa5 Changed udev rules, now filtering correctly by vendor. Closes #115 Stefan Persson 2011-12-29 17:05:51 +01:00
  • 8c4c62d9e1 Added missing includes Micke Prag 2011-12-28 17:57:48 +01:00
  • 712cb9bbd8 Merge branch 't103' Micke Prag 2011-12-28 17:36:05 +01:00
  • 7272875db5 Log connect and disconnect from a TellStick. This closes #103 Micke Prag 2011-12-28 17:28:30 +01:00
  • e1d063bb56 Force stdout on Mac OS X Micke Prag 2011-12-28 16:15:22 +01:00
  • 8903656423 Use sformatf() to format the messages for the Windows Event Log, see #103 Micke Prag 2011-12-28 16:07:29 +01:00
  • 05c0ac7f05 Add functions formatf() and sformatf() Micke Prag 2011-12-28 16:06:46 +01:00
  • 44e5b81a90 Added new error code, Syntax error Stefan Persson 2011-12-28 16:02:27 +01:00
  • 5546013552 Tdtool exiting with error codes on failures. Closes #146. Stefan Persson 2011-12-28 15:45:07 +01:00
  • 9862403267 Add command line argument to debug output Micke Prag 2011-12-28 15:23:59 +01:00
  • 50e69a476c Implement logging using Windows Event Log, see #103 Micke Prag 2011-12-28 15:18:31 +01:00
  • b6fb5ce106 Sensors now visible in tdtool when running --list. Closes #122. Stefan Persson 2011-12-28 14:50:56 +01:00
  • 86554b26ac Code cleanup Stefan Persson 2011-12-28 11:14:59 +01:00
  • 81671d1607 Fixed so that receiving socket has no buffer limit when reading in Windows. Closes #145. Stefan Persson 2011-12-28 10:56:44 +01:00
  • 83fb477ef4 Use the log-system in main_unix.cpp Micke Prag 2011-12-27 15:46:49 +01:00
  • 72188ef02f Add Log class, only implemented for Linux. See #103 Micke Prag 2011-12-27 14:47:40 +01:00
  • d7e76f1bc1 Show an error message if an unknown option is supplied to telldusd in Linux Micke Prag 2011-10-26 17:02:34 +02:00
  • e3587763ee Fixed so that receiving socket has no buffer limit when reading in Linux. See ticket #101. Stefan Persson 2011-12-23 12:46:17 +01:00
  • 6f2ea98c5c Optimization for #101. Stefan Persson 2011-12-22 12:31:17 +01:00
  • 319e505509 Now possible to activate Telldus Live! from Settings. Closes #101. Stefan Persson 2011-12-22 12:10:48 +01:00
  • 16a9b87fb6 Implement sensor Mandolyn, this closes #104 Micke Prag 2011-12-21 15:57:45 +01:00
  • c030185438 Implement Oregon short format and sensor 0xEA4C Micke Prag 2011-12-21 13:56:35 +01:00
  • 084930a74e Remove OS X specific finding of QtUiTools. The variable QT_USE_QTUITOOLS seems to work by itself instead Micke Prag 2011-12-20 16:43:41 +01:00
  • acdf5733a1 Fix compilation error using Visual Studio. stdint.h is unfortunately not available Micke Prag 2011-12-20 15:13:52 +01:00
  • ff7130561c Implemented decoding of Fineoffset new short format. Hopefully this fixes #92. If not, please reopen. This also requires firmware 5 or later in TellStick Duo. Micke Prag 2011-12-20 14:33:21 +01:00
  • 808385705f Increase timeout time Micke Prag 2011-12-19 17:07:26 +01:00
  • 2d17564de3 Added better filtration when scanning remotes, only update the affected protocols. Closes #88 Stefan Persson 2011-12-19 15:48:16 +01:00
  • 8e377a12bc Possibility to add/remove sensors from list, and change their names. Not yet persistent. Stefan Persson 2011-11-01 14:14:14 +01:00
  • 2feeb81f37 Implemented listening for pongs, this refs #117 and closes #133 Micke Prag 2011-11-28 17:48:20 +01:00
  • af929e5311 Changed reconnect time and ping timer. Micke Prag 2011-11-28 17:46:48 +01:00
  • b68b4435c7 Retry fetching server list later if we fail the first time. This closes #117 Micke Prag 2011-11-14 15:34:12 +01:00