rc reset
rc reset
rc svc_factoryreset
+for x in `seq 1 20`; do
+ sleep 0.1
+ ho command 10
+ sleep 0.05
+ ho command 11
+done
rc reset
#!/bin/sh
set -e
+s=$1
while true; do
echo
which=$(hexdump </dev/urandom -n1 -e '"%d"')
b2=$(hexdump </dev/urandom -n1 -e '"%d"')
dirn=$(($b2 / 128))
echo which=$which b1=$b1 speed=$speed b2=$b2 dirn=$dirn
- ./hostside-old -s/dev/ttya0 speed126 2 $speed $dirn
+ ./hostside-old -s$s speed126 2 $speed $dirn
fi
if [ $which -lt 128 ]; then
value=$(( $which * 16 ))
printf "which=%s value=%s value=0x%x\n" $which $value $value
- ./hostside-old -s/dev/ttya0 funcs5to8 2 $value
+ ./hostside-old -s$s funcs5to8 2 $value
fi
delay=$(hexdump </dev/urandom -n1 -e '"%d"')
delayv=$(( $delay / 2 + 10 ))
#!/bin/sh
set -e
+s=$1
while true; do
b1=$(hexdump </dev/urandom -n1 -e '"%d"')
squ=$(($b1 * $b1))
b2=$(hexdump </dev/urandom -n1 -e '"%d"')
dirn=$(($b2 / 128))
echo b1=$b1 speed=$speed b2=$b2 dirn=$dirn
- ./hostside-old -s/dev/ttya0 speed126 2 $speed $dirn
+ ./hostside-old -s$s speed126 2 $speed $dirn
sleep 30
done
#!/bin/sh
set -e
-
+s=$1
while true; do
- for x in '0 11' '-- 11 0 -1'; do
+ for x in '0 11' '-- 11 -1 0'; do
echo $x;
- for f in `numbers $x`; do
+ for f in `seq $x`; do
sleep 20; g=$(($f*$f));
echo $f $g;
- ./hostside-old -s/dev/ttya0 speed126 2 $g 0
+ ./hostside-old -s$s speed126 2 $g 0
done
done
done
* (See also Packet Sequence for Physical Register Addressing
* RP 9.2.3 E l.166-)
*/
- CONST(0x7f, 0x40);
+ CONST(0x7f, 0x08);
})
NMRA(svc_pagepreset, Anone, {
/* Service Mode Page Preset Instruction