... | ... | @@ -40,7 +40,7 @@ udhcpc -i mlan0 |
|
|
0.set local name
|
|
|
1.set local address
|
|
|
> 0
|
|
|
> input name: AnWBT (for example)
|
|
|
> input name: IamSample(for example)
|
|
|
...
|
|
|
```
|
|
|
|
... | ... | @@ -70,9 +70,26 @@ udhcpc -i mlan0 |
|
|
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
|
|
|
```
|
... | ... | @@ -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
|
|
|
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
|
|
|
## start inquiry device
|
... | ... | @@ -356,7 +354,7 @@ LocalDevInfo:btaddr[a5:a5:0:5b:2:0] devClass[2098184] nameLen[6] Name[ANWBT] ser |
|
|
```
|
|
|
================ common Menu ==================
|
|
|
...
|
|
|
17.GetBTPowerStatus
|
|
|
17.get BT power status
|
|
|
...
|
|
|
===============================================
|
|
|
> input num:17
|
... | ... | @@ -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)
|
|
|
```
|
|
|
|
|
|
## View BT Name and address
|
|
|
## view BT name & address
|
|
|
```
|
|
|
================ common Menu ==================
|
|
|
...
|
|
|
20.View BT Name&address
|
|
|
20.get local infomation
|
|
|
===============================================
|
|
|
> input num:20
|
|
|
```
|
... | ... | @@ -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
|
|
|
|
|
|
## get contactData
|
|
|
## get contact data
|
|
|
```
|
|
|
================== pbap Menu ==================
|
|
|
...
|
... | ... | @@ -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]
|
|
|
```
|
|
|
## get calllogData
|
|
|
## get call log data
|
|
|
```
|
|
|
================== pbap Menu ==================
|
|
|
...
|
... | ... | @@ -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]
|
|
|
```
|
|
|
## get telephoneData
|
|
|
## get telephone data
|
|
|
```
|
|
|
================== pbap Menu ==================
|
|
|
...
|
... | ... | |