Android Bluetooth

Marvell 8688 Bluetooth Module, UART

 

1. HCI UART driver initialization, Attach the tty device

hciattach /dev/ttyS1 any 38400 flow

 

2. Open and initialize HCI device
hciconfig hci0 up

 

3. Get/Set local name

hciconfig hci0 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

你可能感兴趣的:(android,Module,UP,initialization)