Sha256: d15f2bf8e95939310606e35b587e723d6290e0947c3ca5cbd96045453ce20e7d

Contents?: true

Size: 208 Bytes

Versions: 21

Compression:

Stored size: 208 Bytes

Contents

#!/bin/bash

NEXT_WAIT_TIME=0
COMMAND="socat PIPE:/dev/tty.Sphero-$1-RN-SPP,nonblock TCP-LISTEN:$2,fork"
until $COMMAND || [ $NEXT_WAIT_TIME -eq 4 ]; do
  echo "retry..."
  sleep $(( NEXT_WAIT_TIME++ ))
done

Version data entries

21 entries across 12 versions & 2 rubygems

Version Path
artoo-1.0.0.rc1 bin/retry.sh
artoo-sphero-1.0.0.pre bin/sphero.sh
artoo-1.0.0.pre bin/retry.sh
artoo-0.5.0 bin/sphero.sh
artoo-0.5.0 bin/retry.sh
artoo-0.4.1 bin/retry.sh
artoo-0.4.1 bin/sphero.sh
artoo-0.4.0 bin/retry.sh
artoo-0.4.0 bin/sphero.sh
artoo-0.3.0 bin/retry.sh
artoo-0.3.0 bin/sphero.sh
artoo-0.2.0 bin/retry.sh
artoo-0.2.0 bin/sphero.sh
artoo-0.1.3 bin/sphero.sh
artoo-0.1.3 bin/retry.sh
artoo-0.1.2 bin/sphero.sh
artoo-0.1.2 bin/retry.sh
artoo-0.1.1 bin/sphero.sh
artoo-0.1.1 bin/retry.sh
artoo-0.1.0 bin/sphero.sh