Page 24
Bluetooth
34. To test your bluetooth connection, several setup steps are required. To ease the burden
of typing, a script has been provided in the
/usr/local/bin
directory. To view the script,
use the
cat
command. View the comments in the script to understand what the script is
doing.
root@plnx_arm:~# cat /usr/local/bin/bt.sh
35.
Turn on your phone’s Bluetooth and make it discoverable.
36. Enter the following to launch the Bluetooth setup script:
root@plnx_arm:~# bt.sh
Figure 20
– MiniZed Bluetooth Discovers V20 Android
If you would like to scan again, do NOT rerun the script or it will hang your system.
37. To rescan the system, you can rerun the hcitool command:
root@plnx_arm:~# hcitool scan
or, for Bluetooth Low Energy only devices:
root@plnx_arm:~# hcitool lescan
Use <Ctrl-C> to cancel a low-energy scan.
Содержание MiniZed
Страница 9: ...Page 9 Figure 2 MiniZed Block Diagram ...
Страница 21: ...Page 21 Figure 16 MiniZed FTP Session ...