Micke Prag
c6ecc4a1d4
Use @VAR@ syntax in the file, else cmake complaints
2012-01-26 15:13:22 +01:00
Micke Prag
de745731df
Set the environmental variables from the udev rule makeing sure they exists in all distributions. This closes #115
2012-01-26 15:01:23 +01:00
Micke Prag
1ef4610f52
Make sure the substration is made using two doubles. Since value is unsigned negative results might overflow otherwise. This closes #177
2012-01-26 14:46:28 +01:00
Micke Prag
f1e58433c1
Add --debug option for unix as well
2012-01-26 14:46:28 +01:00
Micke Prag
ee8f3b41d0
Print debug message on all platforms activating it, not only Windows
2012-01-26 14:46:28 +01:00
Stefan Persson
afa1e88e62
Changed usage of strol method, so that windows uses _strtoui64 instead. Closes #172 , #175
2012-01-26 14:38:42 +01:00
Micke Prag
bf72debefb
Output when debug mode is enabled
2012-01-25 17:43:16 +01:00
Micke Prag
5f1d6e7fe5
Listen for suspend/resume signals and disconnect all usb-devices. This closes #171
2012-01-25 17:42:41 +01:00
Micke Prag
c35be687c0
pid=0 and vid=0 means all. This way we can easily disconnect all controllers or initiate a rescan
2012-01-25 17:41:27 +01:00
Stefan Persson
430871bebf
Temperature sign removed from tdtool in windows. Closes #166
2012-01-24 17:40:55 +01:00
Stefan Persson
6289a1138e
Fixed listing of sensors in tdtool. Closes #164
2012-01-24 15:21:13 +01:00
Micke Prag
31a0b22da9
Workaround for building targeting Leopard using SnowLeopard SDK. Some symbols in stdlibc is missing
2012-01-24 14:39:31 +01:00
Micke Prag
e384c5b677
When reading the target executable for prerequisites we must include the DESTDIR, else we might read an already installed file
2012-01-23 18:07:49 +01:00
Micke Prag
17de443f19
Add missing breaks in select. tdtool showed the list of devices on --version
2012-01-18 12:02:21 +01:00
Micke Prag
4f181a05ce
Sign tdtool
2012-01-18 12:01:36 +01:00
Micke Prag
6a9a390eb7
Remove extra empty row
2012-01-18 11:54:37 +01:00
Micke Prag
982c470387
Since tdtool now builds on Windows it can be included by default. This closes #89
2012-01-18 11:47:46 +01:00
Micke Prag
8d9679bf77
The size of the array must be a constant on Windows
2012-01-18 11:46:06 +01:00
Micke Prag
5807bceda8
The function strcasecmp is named _stricmp on Windows
2012-01-18 11:45:25 +01:00
Micke Prag
eac97c3684
Add openbsd-getopt to tdtool on Windows
2012-01-18 11:43:45 +01:00
Micke Prag
3d7f600dd9
Add CMakeLists.txt for building getopt
2012-01-18 11:37:25 +01:00
Micke Prag
49b5292415
Remove debug code
2012-01-18 11:36:49 +01:00
Micke Prag
0427ff6de9
These functions seems to conflict with Windows of some reason. We don't need
...
them anyway
2012-01-18 11:35:34 +01:00
Micke Prag
b7bc071557
Don't redefine pseudo-ANSI C keywords on Windows
2012-01-18 11:33:02 +01:00
Micke Prag
d78d37a597
Add my support header for letting getopt build on Windows
2012-01-18 11:27:59 +01:00
Micke Prag
848f65803c
Add getopt implementation from OpenBSD
2012-01-18 11:21:42 +01:00
Micke Prag
48daf2ca2f
Bump version to 2.1.1_beta1
2012-01-17 12:20:05 +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
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
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