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 24, 2022 by zhao zunqiang's avatar zhao zunqiang
Hide whitespace changes
Inline Side-by-side
Showing with 25 additions and 27 deletions
+25 -27
  • DEMO-COMMAND-MAN-PAGE.md DEMO-COMMAND-MAN-PAGE.md +25 -27
  • No files found.
DEMO-COMMAND-MAN-PAGE.md
View page @ 605a1a76
...@@ -40,7 +40,7 @@ udhcpc -i mlan0 ...@@ -40,7 +40,7 @@ udhcpc -i mlan0
0.set local name 0.set local name
1.set local address 1.set local address
> 0 > 0
> input name: AnWBT (for example) > input name: IamSample(for example)
... ...
``` ```
...@@ -70,9 +70,26 @@ udhcpc -i mlan0 ...@@ -70,9 +70,26 @@ udhcpc -i mlan0
you can get the message of version you can get the message of version
``` ```
-------------------------------------- --------------------------------------
Version:1000111 Version:1.0.1.11
-------------------------------------- --------------------------------------
``` ```
## customize settings path-folder
```
================bluetooth menu=================
...
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
...
<<<AnWBTSRV_SetLocalConfigureFilePath
```
Note: the Path of input must end with "/"
## power on init ## power on init
``` ```
...@@ -99,25 +116,6 @@ BTPowerOff ...@@ -99,25 +116,6 @@ 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 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. 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=================
...
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 # common Menu
## start inquiry device ## start inquiry device
...@@ -356,7 +354,7 @@ LocalDevInfo:btaddr[a5:a5:0:5b:2:0] devClass[2098184] nameLen[6] Name[ANWBT] ser ...@@ -356,7 +354,7 @@ LocalDevInfo:btaddr[a5:a5:0:5b:2:0] devClass[2098184] nameLen[6] Name[ANWBT] ser
``` ```
================ common Menu ================== ================ common Menu ==================
... ...
17.GetBTPowerStatus 17.get BT power status
... ...
=============================================== ===============================================
> input num:17 > input num:17
...@@ -388,11 +386,11 @@ then the log print the status that the device is connected or not connected,for ...@@ -388,11 +386,11 @@ then the log print the status that the device is connected or not connected,for
connect_status[1](0-not connected 1-connected) connect_status[1](0-not connected 1-connected)
``` ```
## View BT Name and address ## view BT name & address
``` ```
================ common Menu ================== ================ common Menu ==================
... ...
20.View BT Name&address 20.get local infomation
=============================================== ===============================================
> input num:20 > input num:20
``` ```
...@@ -533,7 +531,7 @@ AnWBTService_PBAP_CALLLOG_DATA_S callID[123] callTYPE[2] fnLen[0] fn[] number[05 ...@@ -533,7 +531,7 @@ AnWBTService_PBAP_CALLLOG_DATA_S callID[123] callTYPE[2] fnLen[0] fn[] number[05
``` ```
then the pbap SYNC will cancel and stop then the pbap SYNC will cancel and stop
## get contactData ## get contact data
``` ```
================== pbap Menu ================== ================== pbap Menu ==================
... ...
...@@ -548,7 +546,7 @@ You can find the printed data in the log,for example ...@@ -548,7 +546,7 @@ You can find the printed data in the log,for example
``` ```
AnWBTService_PBAP_CONTACT_DATA_S contactID[4] contactTYPE[1] fnLen[12] fn[大头] honorific_suffixesLen[4] honorific_suffixes[aeyy] AnWBTService_PBAP_CONTACT_DATA_S contactID[4] contactTYPE[1] fnLen[12] fn[大头] honorific_suffixesLen[4] honorific_suffixes[aeyy]
``` ```
## get calllogData ## get call log data
``` ```
================== pbap Menu ================== ================== pbap Menu ==================
... ...
...@@ -563,7 +561,7 @@ You can find the printed data in the log,for example ...@@ -563,7 +561,7 @@ You can find the printed data in the log,for example
``` ```
AnWBTService_PBAP_CALLLOG_DATA_S callID[4] callTYPE[1] fnLen[9] fn[李] number[13455322147] timeLen[19] time[2022-01-30T10:05:00] AnWBTService_PBAP_CALLLOG_DATA_S callID[4] callTYPE[1] fnLen[9] fn[李] number[13455322147] timeLen[19] time[2022-01-30T10:05:00]
``` ```
## get telephoneData ## get telephone data
``` ```
================== pbap Menu ================== ================== pbap Menu ==================
... ...
......
Clone repository

SONY TAMUL RELEASENOTE
COMMAND MAN PAGE