projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update changelog for Debian build
[fw/altos]
/
ao-bringup
/
turnon_telebt
diff --git
a/ao-bringup/turnon_telebt
b/ao-bringup/turnon_telebt
index 7c036bc21b299c0206cd35ebf8fbd83700814275..509814d367bac83dadc8ff7d239d15189c202be9 100755
(executable)
--- a/
ao-bringup/turnon_telebt
+++ b/
ao-bringup/turnon_telebt
@@
-56,6
+56,15
@@
SERIAL=$SERIAL ./cal-freq $dev
echo 'E 1' > $dev
echo 'E 1' > $dev
+echo -n "checking BlueTooth functionality... "
+btdev=`hcitool scan | awk -F \- '/TeleBT/ { print $2 }'`
+if [ "$btdev" = "$SERIAL" ]; then
+ echo "working!"
+else
+ echo "device not found"
+ exit 1
+fi
+
echo "TeleBT-v$VERSION $SERIAL is ready to ship"
exit $?
echo "TeleBT-v$VERSION $SERIAL is ready to ship"
exit $?