Android Bluetooth

来源:互联网 发布:莱昂纳德体测数据 编辑:程序博客网 时间:2024/04/20 18:13

Marvell 8688 Bluetooth Module, UART

 

1. HCI UART driver initialization, Attach the tty device

hciattach /dev/ttyS1 any 38400flow

 

2. Open and initialize HCI device
hciconfighci0 up

 

3. Get/Set local name

hciconfighci0 name  [name]

hciconfig hci0 name TEST --- set the name as "TEST"

 

4. Display local devices

hcitool dev

 

5. Scan for remote devices

hcitool scan

 

6. Create connection to remote device

hcitool cc

原创粉丝点击