reconfigure gatttool connection to lower energy
use 60s timeout for pexpect
use /tmp instead of /home/pi/tmp for output
remove unnecessary sudo's