|
|
# AnW_BT_SRV
|
|
|
- AnW Bluetooth Service API, offered two sorts of releases
|
|
|
1. App Release: **btsrv**, excutable **BTDemo**, launcher **btsrv_client.sh**, essentails libraries (**.so**), and App configures (**.xml**)
|
|
|
2. SDK Release: **anwbtsrv_sdk**, open source with **AnWBTServiceDemo.cpp**, imported essentials libraries (**.so**), header (**anwbtservice.h**), and App configures (**.xml**)
|
|
|
AnW Bluetooth Service API, offered two sorts of releases
|
|
|
1. [APP Release (btsrv)](#AppRelease): executable **BTDemo**, launcher **btsrv_client.sh**, essentails libraries (**.so**), and App configures (**.xml**)
|
|
|
2. [SDK Release (anwbtsrv_sdk)](#SDKRelease): open source with **AnWBTServiceDemo.cpp**, imported essentials libraries (**.so**), header (**anwbtservice.h**), and App configures (**.xml**)
|
|
|
|
|
|
# RELEASE NOTE
|
|
|
- 20220118 [TAG:TAMUL_BT_V2](http://192.168.1.51:8088/delly.chen/anw_bt_srv/-/tags/TAMUL_BT_V2)
|
|
|
1. [FUNC]supports iphone carplay connect & write carplay data to iphone
|
|
|
20220118 [TAG:TAMUL_BT_V2](http://192.168.1.51:8088/delly.chen/anw_bt_srv/-/tags/TAMUL_BT_V2)
|
|
|
1. [FUNC]supports iphone carplay connect & write carplay data to iphone
|
|
|
|
|
|
- 20220117 [TAG:TAMUL_BT_V1](http://192.168.1.51:8088/delly.chen/anw_bt_srv/-/tags/TAMUL_BT_V1)
|
|
|
20220117 [TAG:TAMUL_BT_V1](http://192.168.1.51:8088/delly.chen/anw_bt_srv/-/tags/TAMUL_BT_V1)
|
|
|
1. [FUNC] supports basic BT pair & connect
|
|
|
|
|
|
<div style="page-break-after: always;"></div>
|
|
|
|
|
|
# Usage
|
|
|
# USAGE
|
|
|
1. Support HFP, A2DP, AVRCP, PBAP, .. AnW BT stack
|
|
|
2. Support Device Serarch & Pair, Call, Phonebook, Music, ...
|
|
|
|
|
|
## Pre-Requirement
|
|
|
Modify Combo module init script **/etc/init.d/ubloxinit.sh**
|
|
|
Modify combo module init script **/etc/init.d/ubloxinit.sh**
|
|
|
```
|
|
|
echo "[DDMISO] UBLOX Driver"
|
|
|
modprobe jody-w2-sdiouart
|
... | ... | @@ -33,7 +33,7 @@ wpa_supplicant -B -D nl80211 -i mlan0 -c /etc/ublox/wpa_supplicant.conf |
|
|
udhcpc -i mlan0
|
|
|
```
|
|
|
|
|
|
## Run App on targets (tamul_btsrv-.zip)
|
|
|
## Run App on targets (tamul_btsrv-.zip) <a name="AppRelease"></a>
|
|
|
1. unzip
|
|
|
2. Copy results folder /build/btsrv to target /home/btsrv
|
|
|
3. go to target, in terminal entering /btsrv folder
|
... | ... | @@ -121,7 +121,7 @@ AnWBTService_SPP_DATA_IND_S sppData: |
|
|
[ff] [55] [2] [0] [ee] [10]**
|
|
|
```
|
|
|
|
|
|
## Customize on SDK (tamul_release-.zip)
|
|
|
## Customize on SDK (tamul_release-.zip) <a name="SDKRelease"></a>
|
|
|
- unzip
|
|
|
- in terminal entering ./anwbtsrv_sdk/Demo folder
|
|
|
- setup tool-chain by command line (source ...) or edit in ./anwbtsrv_sdk/Demo/build_demo.sh
|
... | ... | @@ -135,7 +135,7 @@ then, result is collected in **./Demo/btsrv** |
|
|
|
|
|
<div style="page-break-after: always;"></div>
|
|
|
|
|
|
# SDK Release Structure (tamul_release-.zip)
|
|
|
# STRUCTURE (tamul_release-.zip)
|
|
|
<pre>
|
|
|
.
|
|
|
└── Demo
|
... | ... | |