Commit graph

1061 commits

Author SHA1 Message Date
Micke Prag
97e88a175f Added C example of our sensor-api using callbacks 2011-05-18 11:48:12 +00:00
Micke Prag
1b98044f3d Added a sensor example in C using polling 2011-05-18 11:12:10 +00:00
Micke Prag
692fa85290 Added Makefile 2011-05-18 10:23:52 +00:00
Micke Prag
65bbbc0351 Moved the c++-events into its own subdirectory 2011-05-18 10:22:01 +00:00
Micke Prag
c4864af31b Take the value from the sensor object instead of the message. This way we allow it to be converted into a more suitable format. 2011-05-16 14:18:02 +00:00
Micke Prag
59325ddc12 Export our sensor function in Windows. 2011-05-16 08:56:52 +00:00
Micke Prag
c247ec4269 Compiler fixes for Windows. 2011-05-16 08:37:30 +00:00
Micke Prag
5ddcfa4644 The binary notation doesn't work in Visual Studio. 2011-05-16 08:36:57 +00:00
Micke Prag
777256a05f Handle +W-messages in our ftd2xx engine. 2011-05-16 08:35:03 +00:00
Micke Prag
8eaaf6f4a6 Added functions tdSensor() and tdSensorValue() to the client library. The function tdSensor() caches the result and only returns one sensor per call 2011-05-13 12:51:13 +00:00
Micke Prag
ad1b182a71 Implemeted function tdSensor and tdSensorValue in the service 2011-05-13 12:49:22 +00:00
Micke Prag
856e23d7da Added functions DeviceManager::getSensors() and DeviceManager::getSensorValue() 2011-05-13 12:48:45 +00:00
Micke Prag
4da456b515 Implemented acctual storing of sensor-values 2011-05-13 12:47:15 +00:00
Micke Prag
11dd17d2cf Added function TelldusCore::intToString() 2011-05-13 12:46:05 +00:00
Stefan Persson
cc351a8c60 Corrected selflearning string comparison error 2011-05-13 10:38:58 +00:00
Micke Prag
7532d315d8 Added new callback TDSensorEvent 2011-05-12 15:32:11 +00:00
Micke Prag
054f8076e1 Changed parameter dataType in SensorEvent to be an int instead of string 2011-05-12 15:31:17 +00:00
Micke Prag
8f2413e630 Changed parameter dataType in SensorEvent to be an int instead of string 2011-05-12 15:17:24 +00:00
Stefan Persson
b179835fc3 Readded x10 as receiving protocol 2011-05-12 15:11:30 +00:00
Micke Prag
61b193ad2d Added class TDSensorEventDispatcher 2011-05-12 14:57:54 +00:00
Micke Prag
38cfda5fcc Handle sensor messages and post them to the client 2011-05-12 14:56:07 +00:00
Micke Prag
f25ca42ed7 Added TDSensorEvent to EventUpdateManager 2011-05-12 14:54:28 +00:00
Micke Prag
183cc7ca0d Added functions ControllerMessage::msgClass(), ControllerMessage::model(), ControllerMessage::getIntMessage() and ControllerMessage::hasParameter() 2011-05-12 14:49:31 +00:00
Stefan Persson
0b12c53794 Missing changes 2011-05-12 14:46:54 +00:00
Micke Prag
6c48005af2 Added class Sensor 2011-05-12 14:45:23 +00:00
Stefan Persson
281621a4ef Receiving protocols decode according to new standard 2011-05-12 14:09:37 +00:00
Micke Prag
4d2b80ae11 Added debug function dlog which works lite printf but it always flushes the result. 2011-05-12 10:32:45 +00:00
Micke Prag
6d5ec4214c Added decoding of X10-data 2011-05-10 09:55:46 +00:00
Micke Prag
f5b832c3c6 Changed to a better compare function for protocol 2011-05-10 09:54:13 +00:00
Micke Prag
c7d51b249f Added function Protocol::checkBit() 2011-05-10 09:53:38 +00:00
Stefan Persson
99f0b133a8 Added decoding of receiving protocol everflourish 2011-05-09 15:29:41 +00:00
Stefan Persson
8565682ad8 Initializing OVERLAPPED to a value, possibly fixing service communication error in Windows Server 2003. 2011-03-31 12:54:28 +00:00
Micke Prag
2c9df662d6 Make sure we only export the public symbols 2011-03-14 15:37:21 +00:00
Micke Prag
55f49a2c5a Added man page to telldusd 2011-03-14 15:34:10 +00:00
Micke Prag
60dd561940 Fixed two typos 2011-03-14 15:32:08 +00:00
Micke Prag
8bbdea6797 Fixed some 'No newline at end of file' warnings 2011-03-11 10:46:35 +00:00
Micke Prag
16caccfbb4 Find argp prettier on FreeBSD 2011-03-11 10:42:35 +00:00
Micke Prag
35c7fc13a1 Build fixes for FreeBSD. Find libraries and make sure correct constness on different platforms 2011-03-11 10:41:46 +00:00
Micke Prag
6c4163f831 Integrated patches for FreeBSD from jstrom 2011-03-11 08:41:43 +00:00
Micke Prag
11fda0dfc6 Added paths for FreeBSD 2011-03-10 11:36:10 +00:00
Micke Prag
5466a79aad Decreased the retry counter since it was longer than the timout between client and service 2011-03-07 09:59:56 +00:00
Micke Prag
38f4ab6f53 Increased timeout from 1s to 5s between client library and service 2011-03-07 09:57:44 +00:00
Stefan Persson
80dfac0221 Fixed udev-rule to work on device removal too 2011-03-04 13:35:47 +00:00
Micke Prag
7bb5b2b51d Bumped version 2011-03-04 12:51:15 +00:00
Micke Prag
8e9536a369 Reset the parameters in the protocol if they change 2011-03-04 11:09:42 +00:00
Micke Prag
4c8110b9af Dont flood if an error occur 2011-03-04 11:09:03 +00:00
Stefan Persson
aabc18c55b Changed device permissions and group 2011-03-03 16:39:03 +00:00
Micke Prag
c25a848578 We must change our group first to have permissions to do so 2011-03-03 16:36:13 +00:00
Micke Prag
8d4f240744 Removed unused variable 2011-03-03 16:03:02 +00:00
Micke Prag
0a86d1d6fe Return real error messages in SettingsCoreFoundationPreferences 2011-03-03 16:01:58 +00:00