]> cvs.zerfleddert.de Git - rsbs2/blobdiff - rsbs2.pl
don't initialize usart when not debugging
[rsbs2] / rsbs2.pl
index fcd433eb80bb46cdef8db593a037cefc381aeb8e..c835c0dd109f2d1635cf08657687854b57885c0a 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}.'"/>';
        }
@@ -477,7 +477,7 @@ sub status {
 
 sub spawn_gui {
        my $base = shift;
-       open(APPLET,"|appletviewer /dev/stdin");
+       open(APPLET,"|appletviewer -J-Djava.security.policy=applet.policy /dev/stdin");
        print APPLET '<HTML><HEAD><TITLE>RSB S2 User Interface</TITLE></HEAD>';
        print APPLET '<BODY>';
        print APPLET '<object width="640" height="480">';
Impressum, Datenschutz