Commit graph

1859 commits

Author SHA1 Message Date
Stefan Persson
cc0b37e179 Fix for building if cmake doesn't understand -1 length in STRING(SUBSTRING) 2012-01-13 15:05:22 +01:00
Micke Prag
aadc4554fc Convert the edit button to a qt-component button 2012-01-13 14:37:07 +01:00
Micke Prag
5531d6b313 Add QtComponents to the QML plugin 2012-01-13 14:36:38 +01:00
Micke Prag
ab436a212f Add cmake build file for QtComponents 2012-01-13 14:34:53 +01:00
Micke Prag
5db7658a47 Add Qt Components for desktop as submodule 2012-01-13 12:05:22 +01:00
Micke Prag
1dfacddf1a Make the list flickable 2012-01-12 17:39:11 +01:00
Micke Prag
3942702881 Move SensorList to its own file 2012-01-12 17:33:08 +01:00
Micke Prag
332bf966f5 Change plugin name to have capital first letter 2012-01-12 17:32:41 +01:00
Micke Prag
df5e08ff9c Move SensorView to its own file 2012-01-12 17:30:23 +01:00
Stefan Persson
d326331538 Returning correct error code on reset success 2012-01-12 15:03:01 +01:00
Stefan Persson
915d47dc1c Changed reset method for in ftd2xx for non-windows platforms. 2012-01-12 14:59:29 +01:00
Micke Prag
46d70ad451 Return TELLSTICK_ERROR_COMMUNICATION_SERVICE if we timeout when communicating with the service instead of returning success. This closes #152 2012-01-12 14:43:58 +01:00
Micke Prag
5190c42f77 Fixed indentation (space to tabs) 2012-01-12 14:40:43 +01:00
Micke Prag
01855cac96 Add qtcreator build directory and CMakeLists.txt.user file to .gitignore 2012-01-12 14:40:43 +01:00
Stefan Persson
e2e9ba4634 Code cleanup 2012-01-12 14:27:15 +01:00
Stefan Persson
3ce58f019f Added sleep time to allow TellStick to finish air sending when ignoring answer from TellStick 2012-01-12 14:21:03 +01:00
Stefan Persson
c527223bc4 Made use of TELLSTICK_ERROR_BROKEN_PIPE in windows too 2012-01-12 14:17:24 +01:00
Stefan Persson
b84e8b3806 Added TELLSTICK_ERROR_BROKEN_PIPE to distinguate between when communication with TellStick fails due to timeout or actual error. 2012-01-12 11:39:04 +01:00
Micke Prag
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.
2012-01-12 10:33:11 +01:00
Micke Prag
b0f092e98d Lower the read timeout for events in the client. This should be reset
again when #157 is fixed.
See #157.
2012-01-12 10:30:23 +01:00
Stefan Persson
4068742b25 Setting for 'Not wait for confirmation from TellStick' implemented on windows too. This setting must be set manually. Closes #98 2012-01-11 16:16:31 +01:00
Stefan Persson
d7cce515ff Added setting for 'Not wait for confirmation from TellStick', see ticket 98, in Linux 2012-01-11 14:53:46 +01:00
Stefan Persson
8d22eff5da Added wait for ack on noop-command 2012-01-11 11:38:03 +01:00
Stefan Persson
0c8de249d4 Cycling port and trying to reconnect TellStick on noop or send when missing 2012-01-10 17:35:18 +01:00
Stefan Persson
673daf471d Sending noop to TellStick every 5 minutes, attempting to reconnect if TellStick is missing. In Linux. 2012-01-10 16:00:14 +01:00
Stefan Persson
dfae48ef33 Merge remote-tracking branch 'origin/t132' into ticket132
Conflicts:
	telldus-core/service/DeviceManager.cpp
2012-01-10 10:01:55 +01:00
Stefan Persson
06ac023b4a Resetting USB and retrying send once if TellStick is not found, in Linux 2012-01-10 09:55:26 +01:00
Micke Prag
fb8e978acc Implement class Timer in Windows 2012-01-09 17:40:44 +01:00
Micke Prag
542d17a45d Add janitor object for regular maintenance and cleanups 2012-01-09 16:53:57 +01:00
Micke Prag
988b443810 Add class Timer 2012-01-09 16:52:15 +01:00
Micke Prag
6fa59e9ca9 Add Telldus Live! authentication example 2012-01-09 12:37:41 +01:00
Micke Prag
f58793ca59 Implement decoding of Oregon 0x1A2D. This closes #144 2012-01-05 14:35:18 +01:00
Micke Prag
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.
2012-01-04 16:18:01 +01:00
Micke Prag
36bfa0ba8b Remove raw events from tdSendRawCommand(). It think this was added by mistake in 464000515c 2012-01-04 16:14:50 +01:00
Micke Prag
2ec2dac46f Fix indentation error 2012-01-04 16:11:08 +01:00
Stefan Persson
65ef5254de Fixes for stability in Windows Service. Correct handling of ERROR_PIPE_CONNECTED. 2012-01-03 15:42:23 +01:00
Micke Prag
716deb5124 Merge remote branch 'origin/windows_service_fixes' 2011-12-30 17:14:50 +01:00
egil
dd3504ffb8 Applied patch for everflourish in rfcmd. This closes #141. Thanks to
egil
2011-12-30 17:13:07 +01:00
Micke Prag
d3227ebdf8 Implement UP/DOWN/STOP in TelldusCenter Live! plugin. This closes #147. 2011-12-30 16:43:49 +01:00
Micke Prag
ed1dc8b2d3 Mask methods to lowest common denominator 2011-12-30 16:43:49 +01:00
Stefan Persson
e019f416d9 Increased retry count on ftdi_read_data to avoid TELLSTICK_ERROR_COMMUNICATION on some TellStick/device combinations. Closes #125 2011-12-30 16:03:57 +01:00
Carl Nettelblad
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.
2011-12-30 14:18:06 +01:00
Micke Prag
5bb60a60c9 Implement our new type of command messages and also handle the ACK. This
requires us to bump the protocol version. Closes #151
2011-12-29 17:38:55 +01:00
Micke Prag
c56fa6c6f8 Clear the error and status message when we are dicsonnected 2011-12-29 17:38:55 +01:00
Micke Prag
05d48d1685 Reset ping timer on all sent messages 2011-12-29 17:38:55 +01:00
Micke Prag
06bf1a867d Add function LiveMessageTokenScriptWrapper::getString() 2011-12-29 17:38:55 +01:00
Micke Prag
d86e12f1d3 LiveMessageTokenScriptWrapper::getInt() should be declared const since it only returnes values 2011-12-29 17:38:55 +01:00
Micke Prag
4517db2048 Reset pong timer on all received data (with valid signature). Not only pong messages 2011-12-29 17:38:55 +01:00
Micke Prag
b8955deed8 Add overloaded constructor to LiveMessageToken to accept an int 2011-12-29 17:38:55 +01:00
Stefan Persson
cd6e59baa5 Changed udev rules, now filtering correctly by vendor. Closes #115 2011-12-29 17:10:26 +01:00