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 21, 2022 by zhao zunqiang's avatar zhao zunqiang
Show whitespace changes
Inline Side-by-side
Showing with 109 additions and 5 deletions
+109 -5
  • DEMO-COMMAND-MAN-PAGE.md DEMO-COMMAND-MAN-PAGE.md +109 -5
  • No files found.
DEMO-COMMAND-MAN-PAGE.md
View page @ a473b55e
......@@ -37,6 +37,7 @@ udhcpc -i mlan0
2.BTPowerOn
3.BTPowerOff
4.SetLocalDevAddrOrName
5.SetFilePath
===============================================
> input num: 4
0.set local name
......@@ -52,6 +53,7 @@ udhcpc -i mlan0
2.BTPowerOn
3.BTPowerOff
4.SetLocalDevAddrOrName
5.SetFilePath
===============================================
> input num: 2
BTPowerOn
......@@ -64,6 +66,7 @@ BTPowerOn
2.BTPowerOn
3.BTPowerOff
4.SetLocalDevAddrOrName
5.SetFilePath
===============================================
> input num: 3
BTPowerOff
......@@ -71,6 +74,30 @@ BTPowerOff
```
Note: Looking for device name (e.g. AnWBT) 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.
## set file path
```
================bluetooth menu=================
1.EXIT
2.BTPowerOn
3.BTPowerOff
4.SetLocalDevAddrOrName
5.SetFilePath
===============================================
> input num: 5
> input path:/usr/zzqdemo/
```
if set path success,you can get the log,for example
```
>>>AnWBTSRV_SetLocalConfigureFilePath
storage_filepath:/usr/zzqdemo/anwbt_storage.bin
mkdir /usr/zzqdemo/btsnoop/
mkdir /usr/zzqdemo/phonebookdb/
mkdir /usr/zzqdemo/CoverArt/
<<<AnWBTSRV_SetLocalConfigureFilePath
```
Note:the Path of input must end with "/"
#common Menu
## start inquiry device
```
......@@ -779,7 +806,10 @@ for example,Host control play music,controlid input 0 to play music(0: CTRL_PLAY
2. AVRCP_Control
3. AVRCP_SetPlayerApplicationSetting
4. AVRCP_GetPlayerApplicationSetting
9. AVRCP_SetCtAbsoluteVolume
5. AVRCP_SetCtAbsoluteVolume
6.AnWBTSRV_AVRCP_BR_Refresh
7.AnWBTSRV_AVRCP_BR_Enter
8.AnWBTSRV_AVRCP_BR_Back
===============================================
input num:2
input target addr(xx:xx:xx:xx:xx:xx):d4:61:da:14:e8:11
......@@ -798,7 +828,10 @@ AnWBTSERVICE_AVRCP_MEDIA_INFO_CHANGED: sizeAlbumName[15] sizeArtistName[15] size
2. AVRCP_Control
3. AVRCP_SetPlayerApplicationSetting
4. AVRCP_GetPlayerApplicationSetting
9. AVRCP_SetCtAbsoluteVolume
5. AVRCP_SetCtAbsoluteVolume
6. AnWBTSRV_AVRCP_BR_Refresh
7. AnWBTSRV_AVRCP_BR_Enter
8. AnWBTSRV_AVRCP_BR_Back
===============================================
input num:3
input target addr(xx:xx:xx:xx:xx:xx):d4:61:da:14:e8:11
......@@ -813,7 +846,10 @@ log will print callback of setting that you set
2. AVRCP_Control
3. AVRCP_SetPlayerApplicationSetting
4. AVRCP_GetPlayerApplicationSetting
9. AVRCP_SetCtAbsoluteVolume
5. AVRCP_SetCtAbsoluteVolume
6. AnWBTSRV_AVRCP_BR_Refresh
7. AnWBTSRV_AVRCP_BR_Enter
8. AnWBTSRV_AVRCP_BR_Back
===============================================
input num:4
input target addr(xx:xx:xx:xx:xx:xx):d4:61:da:14:e8:11
......@@ -823,6 +859,7 @@ log will print callback of setting
AnWBTService_MsgCallback(44)
AnWBTSERVICE_AVRCP_CURRENT_REPEAT_SHUFFLE currentRepeatMode[0] currentShuffleMode[0]
```
## Set Ct Absolute Volume
```
================== avrcp Menu =================
......@@ -830,10 +867,77 @@ AnWBTSERVICE_AVRCP_CURRENT_REPEAT_SHUFFLE currentRepeatMode[0] currentShuffleMo
2. AVRCP_Control
3. AVRCP_SetPlayerApplicationSetting
4. AVRCP_GetPlayerApplicationSetting
9. AVRCP_SetCtAbsoluteVolume
5. AVRCP_SetCtAbsoluteVolume
6. AnWBTSRV_AVRCP_BR_Refresh
7. AnWBTSRV_AVRCP_BR_Enter
8. AnWBTSRV_AVRCP_BR_Back
===============================================
input num:9
input num:5
input target addr(xx:xx:xx:xx:xx:xx):d4:61:da:14:e8:11
```
## BR Refresh
```
================== avrcp Menu =================
1. Exit
2. AVRCP_Control
3. AVRCP_SetPlayerApplicationSetting
4. AVRCP_GetPlayerApplicationSetting
5. AVRCP_SetCtAbsoluteVolume
6. AnWBTSRV_AVRCP_BR_Refresh
7. AnWBTSRV_AVRCP_BR_Enter
8. AnWBTSRV_AVRCP_BR_Back
===============================================
input num:6
input target addr(xx:xx:xx:xx:xx:xx):d4:61:da:14:e8:11
```
you can get the callback message form log,for example
```
AnWBTService_MsgCallback(57)
AnWBTSERVICE_AVRCP_BR_GET_PLAYERLIST: status[12]
```
## BR Enter
```
================== avrcp Menu =================
1. Exit
2. AVRCP_Control
3. AVRCP_SetPlayerApplicationSetting
4. AVRCP_GetPlayerApplicationSetting
5. AVRCP_SetCtAbsoluteVolume
6. AnWBTSRV_AVRCP_BR_Refresh
7. AnWBTSRV_AVRCP_BR_Enter
8. AnWBTSRV_AVRCP_BR_Back
===============================================
input num:7
input target addr(xx:xx:xx:xx:xx:xx):d4:61:da:14:e8:11
input index:0
```
you can get the callback message form log,for example
```
AnWBTService_MsgCallback(63)
AnWBTSERVICE_MAP_STATE_CHANGED: state[117]
```
## BR Back
```
================== avrcp Menu =================
1. Exit
2. AVRCP_Control
3. AVRCP_SetPlayerApplicationSetting
4. AVRCP_GetPlayerApplicationSetting
5. AVRCP_SetCtAbsoluteVolume
6. AnWBTSRV_AVRCP_BR_Refresh
7. AnWBTSRV_AVRCP_BR_Enter
8. AnWBTSRV_AVRCP_BR_Back
===============================================
input num:8
input target addr(xx:xx:xx:xx:xx:xx):d4:61:da:14:e8:11
```
you can get the callback message form log,for example
```
AnWBTService_MsgCallback(55)
AnWBTSERVICE_AVRCP_BR_PLAYER_ITEM_START: numberOfItems[1] uidCounter[0] addr[e6:ad:95:85:52:dc]
AnWBTService_MsgCallback(57)
AnWBTSERVICE_AVRCP_BR_GET_PLAYERLIST: status[0]
```
# A2DP Menu
## Connect avrcp&a2dp
......
Clone repository

SONY TAMUL RELEASENOTE
COMMAND MAN PAGE