This repository has been archived on 2025-06-06. You can view files and clone it, but cannot push or open issues or pull requests.
Files
android-g900/BT-SCRIPT/btatt.sh
Angell Fear 661daac545 BT scripts
2010-09-03 01:08:00 +06:00

19 lines
330 B
Bash
Executable File

#!/bin/sh
modprobe hci_uart
#/root/gpio.sh
/root/bttest.sh
bccmd -t bcsp -d /dev/ttyS1 psload -r bluez.psr
#hciattach /dev/ttyS1 bcsp
#hciattach /dev/ttyS1 any
#hciattach /dev/ttyS1 csr
hciattach -s 115200 /dev/ttyS1 bcsp 115200 noflow
hciconfig hci0 name linportege
hciconfig hci0 up
hciconfig hci0 piscan
hciconfig -a hci0