... | @@ -51,7 +51,7 @@ udhcpc -i mlan0 |
... | @@ -51,7 +51,7 @@ udhcpc -i mlan0 |
|
>./BTDemo
|
|
>./BTDemo
|
|
```
|
|
```
|
|
|
|
|
|
### Set Local Device Name
|
|
### set device name
|
|
|
|
|
|
```plaintext
|
|
```plaintext
|
|
================bluetooth menu=================
|
|
================bluetooth menu=================
|
... | @@ -68,7 +68,7 @@ udhcpc -i mlan0 |
... | @@ -68,7 +68,7 @@ udhcpc -i mlan0 |
|
...
|
|
...
|
|
```
|
|
```
|
|
|
|
|
|
### Power On For BT INIT
|
|
### power on init
|
|
|
|
|
|
```plaintext
|
|
```plaintext
|
|
================bluetooth menu=================
|
|
================bluetooth menu=================
|
... | @@ -84,7 +84,7 @@ BTPowerOn |
... | @@ -84,7 +84,7 @@ BTPowerOn |
|
|
|
|
|
Note: Looking for device name (e.g. TAMUL_MARVELL) from mobile, then pair the device with mobile When mobile shows connected succeed, turn off the BT button from mobile, then turn on the BT button from mobile again. At this time, mobile has paired storage with the device.
|
|
Note: Looking for device name (e.g. TAMUL_MARVELL) from mobile, then pair the device with mobile When mobile shows connected succeed, turn off the BT button from mobile, then turn on the BT button from mobile again. At this time, mobile has paired storage with the device.
|
|
|
|
|
|
### Connect to SPP
|
|
### spp connect
|
|
|
|
|
|
```plaintext
|
|
```plaintext
|
|
================ BT Test Menu =================
|
|
================ BT Test Menu =================
|
... | @@ -109,7 +109,7 @@ Note: You can find mobile BT mac from **"Setting->General->About-> Bluetooth"** |
... | @@ -109,7 +109,7 @@ Note: You can find mobile BT mac from **"Setting->General->About-> Bluetooth"** |
|
|
|
|
|
Note: Then, connected.
|
|
Note: Then, connected.
|
|
|
|
|
|
### Write SPP
|
|
### spp write
|
|
|
|
|
|
```plaintext
|
|
```plaintext
|
|
================ BT Test Menu =================
|
|
================ BT Test Menu =================
|
... | | ... | |