]> git.zerfleddert.de Git - rsbs2/commitdiff
add correct handle to sensorpropget requests
authorMichael Gernoth <michael@gernoth.net>
Wed, 11 Feb 2009 09:17:07 +0000 (10:17 +0100)
committerMichael Gernoth <michael@gernoth.net>
Wed, 11 Feb 2009 09:17:07 +0000 (10:17 +0100)
rsbs2.pl

index fcd433eb80bb46cdef8db593a037cefc381aeb8e..022a9493931a2d94029be85491e2b40304c26e19 100755 (executable)
--- a/rsbs2.pl
+++ b/rsbs2.pl
@@ -385,7 +385,7 @@ sub get_sensors {
                return;
        }
 
-       my $req = '<REQ CMD="sensorpropget"><HANDLE>0x1</HANDLE><SENSORLIST>';
+       my $req = '<REQ CMD="sensorpropget"><HANDLE>'.$slist->{HANDLE}.'</HANDLE><SENSORLIST>';
        foreach my $s (@{$slist->{SENSORLIST}->{SENSOR}}) {
                $req .= '<SENSOR KEY="'.$s->{KEY}.'"/>';
        }
Impressum, Datenschutz