Commit graph

66 commits

Author SHA1 Message Date
Micke Prag
2fc9d470dd If an else has a brace on one side, it should have it on both according to Google style guidelines "readability/braces" 2012-06-19 12:30:52 +02:00
Micke Prag
dc357ddeca Remove extra blank lines according to Google style guidelines "whitespace/blank_line" 2012-06-19 12:30:51 +02:00
Micke Prag
3a0cee353a Fix include header order according to Google style guidelines "build/include_order" 2012-06-19 12:30:50 +02:00
Micke Prag
75f21588e5 Should have a space between // and comment "whitespace/comments" 2012-06-19 12:30:50 +02:00
Micke Prag
e1608f94a8 { should almost always be at the end of the previous line, according to Google style guidelines "whitespace/braces" 2012-06-19 12:30:50 +02:00
Micke Prag
78444e20b9 Add #include <string> for string, according to Google style guidelines "build/include_what_you_use" 2012-06-19 12:30:50 +02:00
Micke Prag
8d0228ced2 Add copyright message according to Google style guidelines "legal/copyright" 2012-06-19 12:30:50 +02:00
Micke Prag
5b5be387cd Include the directory when naming .h files. According to Google style guideline "build/include". 2012-06-19 12:30:49 +02:00
Micke Prag
9500c4c898 Convert dos endings to unix in telldus-core, see #160 2012-02-27 17:37:52 +01:00
Micke Prag
a766fe32de Add public function tdRemoveController() to telldus-core, see #108 2012-02-23 12:34:31 +01:00
Micke Prag
345ff62a93 Add new function tdControllerValue(), see #108 2012-02-23 12:14:33 +01:00
Micke Prag
979e6082c2 Implement tdSetControllerValue in TelldusService 2012-02-23 10:07:17 +01:00
Micke Prag
00eeea1283 Add function to query controllers in the service 2012-02-23 10:07:16 +01:00
Micke Prag
e834160492 Move class Event and EventHandler into the TelldusCore namespace 2012-02-03 17:09:38 +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
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
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
Stefan Persson
86554b26ac Code cleanup 2011-12-28 11:14:59 +01:00
Stefan Persson
24586433d9 Windows service, 2.1.0a and new changes for possible new version. 2011-11-04 14:32:22 +01:00
Micke Prag
ad1b182a71 Implemeted function tdSensor and tdSensorValue in the service 2011-05-13 12:49:22 +00:00
Micke Prag
17e93f0a4d Return the error messages from Settings if something goes wrong 2011-03-03 15:37:36 +00:00
Micke Prag
cccaf86cb8 Made it possible to specify a serial to a controller to disconnect. This controller will be disconnected even if it is still available 2011-03-03 11:21:41 +00:00
Stefan Persson
643b33b199 Sending TELLSTICK_CHANGE_METHOD on method changes 2011-03-02 10:08:35 +00:00
Micke Prag
adce4c941c Refactored DeviceManager::getDeviceMethods() to clean up the interface and added 2 overloaded helper functions 2011-03-02 09:58:54 +00:00
Stefan Persson
b4a96af45f Groups in group doesn't crash service now. Status of groups in group are updated. 2011-02-28 13:56:21 +00:00
Stefan Persson
b16a54ad6d TELLSTICK_STOP-method added (although untested) 2010-11-22 09:41:53 +00:00
Stefan Persson
72f0346a84 Core support for up and down command, completely untested 2010-11-17 13:34:50 +00:00
Stefan Persson
3483e2e915 tdExecute, new api method for scenes added 2010-11-17 08:54:37 +00:00
Micke Prag
41c763cbd4 Converted Event pointers to smart pointers instead 2010-10-28 08:45:17 +00:00
Micke Prag
34e8586440 Removed error strings from the service. Let us have it in the client instead. 2010-10-25 14:53:35 +00:00
Stefan Persson
592280ad99 Code cleanup 2010-10-25 14:09:51 +00:00
Stefan Persson
167db782b8 Timeout in client communication read, to avoid infinite wait when client disappears 2010-10-21 15:42:47 +00:00
Stefan Persson
979ff9d097 ClientCommunicationHandler-event reused 2010-10-21 15:16:41 +00:00
Micke Prag
2a0c9ae686 Converted uses of Message::charToWstring to use the strings library instead. 2010-10-21 14:27:03 +00:00
Micke Prag
78de101080 Added missing include 2010-10-20 13:52:51 +00:00
Stefan Persson
464000515c Signaling on name (tested) /model/protocol change, and add/remove device (tested). Error when clients connect/disconnect many times. 2010-10-20 11:00:59 +00:00
Stefan Persson
eabfd97db5 Update events, stubs 2010-10-18 12:49:42 +00:00
Stefan Persson
52a59434f9 Disconnect/connect-required event from client implemented (untested) 2010-10-15 14:51:36 +00:00
Stefan Persson
d0dee5c270 Error codes somewhat implemented 2010-10-15 14:00:45 +00:00
Stefan Persson
bae64ccdd0 Raw command implemented (but untested) 2010-10-15 13:25:40 +00:00
Stefan Persson
2155b6831f Stub for device methods 2010-10-15 13:05:49 +00:00
Stefan Persson
ae5655abbe Device state and device state value implemented 2010-10-15 12:38:12 +00:00
Stefan Persson
798a5b008c Set/get parameter 2010-10-14 16:02:25 +00:00
Stefan Persson
ba56775c59 Get/set model 2010-10-14 15:35:18 +00:00
Stefan Persson
bbb186924f Get/set protocol implemented 2010-10-14 15:19:24 +00:00
Stefan Persson
03c5d8beb5 Set/get name 2010-10-14 13:42:40 +00:00
Micke Prag
062398511d Small fix after refactoring. 2010-10-14 13:37:32 +00:00
Micke Prag
39ae8ba0e7 Dim support added. Some refactoring was needed. 2010-10-14 13:35:23 +00:00
Stefan Persson
d7fd0d03fc GetDeviceType and some code cleanup 2010-10-14 13:11:28 +00:00
Stefan Persson
a26781c8d0 Bell and Dim added 2010-10-14 12:37:09 +00:00