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
  • USER MANUAL

USER MANUAL · Changes

Page history
Update USER MANUAL authored Oct 31, 2022 by delly chen's avatar delly chen
Hide whitespace changes
Inline Side-by-side
Showing with 44 additions and 29 deletions
+44 -29
  • USER-MANUAL.md USER-MANUAL.md +44 -29
  • No files found.
USER-MANUAL.md
View page @ 02039924
...@@ -9,6 +9,23 @@ AnW Bluetooth Service API, offered two sorts of releases ...@@ -9,6 +9,23 @@ AnW Bluetooth Service API, offered two sorts of releases
1. Support HFP, A2DP, AVRCP, PBAP, .. AnW BT stack 1. Support HFP, A2DP, AVRCP, PBAP, .. AnW BT stack
2. Support Device Search & Pair, Call, Phonebook, Music, ... 2. Support Device Search & Pair, Call, Phonebook, Music, ...
# APP Package
## structure(sta5_btsrv_app.zip)
<pre>
.
└── btsrv
├── BTDemo (sample program)
├── btsrv_client.sh (launcher for BTDemo)
└── etc
└──anwbtservice
├── btmonitor-config.xml (app configures, e.g. log switch)
├── anw_*_setting.cfg (phone link app settings, e.g. CP/AA)
├── anw_*_setting.xml (phone link app settings, e.g. CP/AA)
└── lib
└── *.so (essentials libraries)
</pre>
## Run App on targets (sta5_btsrv_app.zip) ## Run App on targets (sta5_btsrv_app.zip)
1. unzip 1. unzip
2. Copy results folder "/build/btsrv" to target "/home/btsrv" 2. Copy results folder "/build/btsrv" to target "/home/btsrv"
...@@ -17,7 +34,7 @@ AnW Bluetooth Service API, offered two sorts of releases ...@@ -17,7 +34,7 @@ AnW Bluetooth Service API, offered two sorts of releases
``` ```
>./btsrv_client.sh >./btsrv_client.sh
``` ```
## Install ### install
``` ```
Please select the function to test: Please select the function to test:
1. Install AnWBTService Sdk 1. Install AnWBTService Sdk
...@@ -33,37 +50,19 @@ bt service install successfully. ...@@ -33,37 +50,19 @@ bt service install successfully.
AnWBTService Sdk install successfully root path: /home/root/btsrv AnWBTService Sdk install successfully root path: /home/root/btsrv
``` ```
**NOTICE!! The system is required to power off (hard reset) for alsa driver's correct reload.** **NOTICE!! The system is required to power off (hard reset) for alsa driver's correct reload.**
### structure(sta5_btsrv_app.zip)
<pre>
.
└── btsrv
├── BTDemo (sample program)
├── btsrv_client.sh (launcher for BTDemo)
└── etc
└──anwbtservice
├── btmonitor-config.xml (app configures, e.g. log switch)
├── anw_*_setting.cfg (phone link app settings, e.g. CP/AA)
├── anw_*_setting.xml (phone link app settings, e.g. CP/AA)
└── lib
└── *.so (essentials libraries)
</pre>
## Customize on SDK (sta5_btsrv_sdk.zip)
1. unzip
2. in terminal entering ./anwbtsrv_sdk/Demo folder
3. setup tool-chain by command line (source ...) or edit in ./anwbtsrv_sdk/Demo/build_demo.sh
4. run make or build_demo.sh
### launch **BTDemo**
``` ```
> cd ./build/anwbtsrv_sdk/Demo Please select the function to test:
> source /opt/poky-**/2.5.1/environment-setup-cortexa9hf-neon-poky-linux-gnueabi 1. Install AnWBTService Sdk
> make 2. Start btsrv
or 3. Stop btsrv
>./build_demo.sh 99. Exit btsrv Client.
>2
``` ```
then, result is collected in **./Demo/btsrv**
<div style="page-break-after: always"></div>
### structure(sta5_btsrv_sdk.zip) # SDK Package
## structure(sta5_btsrv_sdk.zip)
<pre> <pre>
. .
└── Demo └── Demo
...@@ -80,4 +79,20 @@ then, result is collected in **./Demo/btsrv** ...@@ -80,4 +79,20 @@ then, result is collected in **./Demo/btsrv**
│ ├── anwbtservice.h (service api header) │ ├── anwbtservice.h (service api header)
│ └── \*.so (include libraries) │ └── \*.so (include libraries)
└── btsrv (ouput for produced, e.g. BTDemo) └── btsrv (ouput for produced, e.g. BTDemo)
</pre> </pre>
\ No newline at end of file
## Customize on SDK (sta5_btsrv_sdk.zip)
1. unzip
2. in terminal entering ./anwbtsrv_sdk/Demo folder
3. setup tool-chain by command line (source ...) or edit in ./anwbtsrv_sdk/Demo/build_demo.sh
4. run make or build_demo.sh
```
> cd ./build/anwbtsrv_sdk/Demo
> source /opt/poky-**/2.5.1/environment-setup-cortexa9hf-neon-poky-linux-gnueabi
> make
or
>./build_demo.sh
```
then, result is collected in **./Demo/btsrv**
<div style="page-break-after: always"></div>
Clone repository

RELEASENOTE
USER MANUAL
Q & A
COMMAND MAN PAGE