Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • AnW_BT_SRV AnW_BT_SRV
  • Project information
    • Project information
    • Activity
    • Members
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Wiki
    • Wiki
  • Activity
Collapse sidebar
  • delly chen
  • AnW_BT_SRVAnW_BT_SRV
  • Wiki
  • DEMO COMMAND MAN PAGE

DEMO COMMAND MAN PAGE · Changes

Page history
Update DEMO COMMAND MAN PAGE authored Feb 25, 2022 by delly chen's avatar delly chen
Show whitespace changes
Inline Side-by-side
Showing with 26 additions and 17 deletions
+26 -17
  • DEMO-COMMAND-MAN-PAGE.md DEMO-COMMAND-MAN-PAGE.md +26 -17
  • No files found.
DEMO-COMMAND-MAN-PAGE.md
View page @ 73565ee5
......@@ -33,7 +33,7 @@ udhcpc -i mlan0
```
================bluetooth menu=================
...
4.SetLocalDevAddrOrName
4. SetLocalDevAddrOrName
...
===============================================
> input num: 4
......@@ -48,7 +48,7 @@ udhcpc -i mlan0
```
================bluetooth menu=================
...
4.SetLocalDevAddrOrName
4. SetLocalDevAddrOrName
...
===============================================
> input num: 4
......@@ -58,26 +58,24 @@ udhcpc -i mlan0
> input addr(xx:xx:xx:xx:xx:xx): 48:b8:a3:d5:8f:33 (for example)
...
```
## view version
## get sdk version
```
================bluetooth menu=================
...
6.View version
6. Version
...
===============================================
> input num:6
```
you can get the message of version
```
--------------------------------------
Version:1.0.1.11
--------------------------------------
Version:1.0.1.20
```
## customize settings path-folder
```
================bluetooth menu=================
...
5.SetFilePath
5. SetFilePath
===============================================
> input num: 5
> input path:/usr/zzqdemo/
......@@ -95,7 +93,7 @@ Note: the Path of input must end with "/"
```
================bluetooth menu=================
...
2.BTPowerOn
2. BTPowerOn
...
===============================================
> input num: 2
......@@ -106,7 +104,7 @@ BTPowerOn
```
================bluetooth menu=================
...
3.BTPowerOff
3. BTPowerOff
...
===============================================
> input num: 3
......@@ -161,7 +159,7 @@ Note: You can find mobile BT mac from "Setting->General->About-> Bluetooth" (iph
> input profile_mask: 0x00000040 (Take spp as an example)
```
Note: Then, connected.Querying the mobile phone shows that the connection is successful
profile_mask:
profile mask table:
HFP_HF = 0x00000001;
HFP_AG = 0x00000002;
A2DP_SINK = 0x00000004;
......@@ -185,7 +183,7 @@ ALL = 0xFFFF
> input connect addr(xx:xx:xx:xx:xx:xx): 11:e8:14:da:61:d4 (for example)
```
Note: You can find mobile BT mac from "Setting->General->About-> Bluetooth" (iphone)
### carplay spp settings
### CarPlay spp settings
```
>input SPP_data:ff,55,2,0,ee,10 (for example)
```
......@@ -385,19 +383,30 @@ then the log print the status that the device is connected or not connected,for
```
connect_status[1](0-not connected 1-connected)
```
## view BT name & address
## get connected SPP information (CarPlay /AndroidAuto)
```
================ common Menu ==================
...
20.get local infomation
20.Get connect SPP Info(CarPlay/AndroidAuto)
===============================================
> input num:20
```
then you can get the local device message ,for example
then you can get the local device message, for example
```
[0xff],[0x55],[0x02],[0x00],[0xee],[0x10]
```
## view BT name & address
```
================ common Menu ==================
...
21.Local BT Name & Address
===============================================
> input num:21
```
then you can get the local device BT name & address, for example
```
---------------------------------------
Local Host Name:ddd
Local Host Name:IamSample
Local Host Address:[48:b8:a3:d5:8f:33]
---------------------------------------
......
Clone repository

SONY TAMUL RELEASENOTE
COMMAND MAN PAGE