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
  • RELEASENOTE_TAMUL

Last edited by Yingbin Li 1 year ago
Page history
This is an old version of this page. You can view the most recent version or browse the history.

RELEASENOTE_TAMUL

AnW_BT_SRV

AnW Bluetooth Service API, offered two sorts of releases

  1. [APP Release (tamul_btsrv_app)]: executable BTDemo, launcher btsrv_client.sh, essentails libraries (.so), and App configures (.xml)
  2. SDK Release (tamul_btsrv_sdk): open source with AnWBTServiceDemo.cpp, imported essentials libraries (.so), header (anwbtservice.h), and App configures (.xml)

RELEASE NOTE

20220128 TAG:1.0.0.1

  1. [FUNC]supports pbap downloading & data callback
  2. [DEMO]update service demo
  3. [DOC]update SDK API Document

20220121 TAG:0.0.03

  1. [FUNC]supports android auto connect & write data to android
  2. [FUNC]Add some functions, For details, refer to anwbtservice.h

20220118 TAG:TAMUL_BT_V2

  1. [FUNC]supports iphone carplay connect & write carplay data to iphone

20220117 TAG:TAMUL_BT_V1

  1. [FUNC] supports basic BT pair & connect

USAGE

  1. Support HFP, A2DP, AVRCP, PBAP, .. AnW BT stack
  2. Support Device Search & Pair, Call, Phonebook, Music, ...

Pre-Requirement

Modify combo module init script /etc/init.d/ubloxinit.sh

echo "[DDMISO] UBLOX Driver"
modprobe jody-w2-sdiouart
ifconfig uap0 192.168.1.10
hostapd /etc/ublox/hostapd.conf -B
udhcpd /etc/ublox/udhcpd.conf
ifconfig uap0 up
wpa_supplicant -B -D nl80211 -i mlan0 -c /etc/ublox/wpa_supplicant.conf
#modprobe jody-w2-sdiouart-bt
#hciattach /dev/ttyAMA1 any 3000000 flow
#hciconfig -a hci0 up
#hciconfig -a hci0
udhcpc -i mlan0

Run App on targets (tamul_btsrv_app.zip)

  1. unzip
  2. Copy results folder "/build/btsrv" to target "/home/btsrv"
  3. go to target, in terminal entering /btsrv folder
  4. run btsrv_client.sh to launch BTDemo demo app and following the menu commands or
> export LD_LIBRARY_PATH="/home/btsrv/etc/anwbtservice/lib"
>./BTDemo

Customize on SDK (tamul_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-tamul/2.5.1/environment-setup-cortexa9hf-neon-poky-linux-gnueabi
> make or ./build_demo.sh

then, result is collected in ./Demo/btsrv

structure(tamul_btsrv_sdk-.zip)

.
└── Demo
    ├── AnWBTServiceDemo.cpp (examples to use anwbtservice)
    ├── build_demo.sh (build script, call to make)
    ├── makefile (makefile for BTDemo)    
    ├── btsrv_client.sh (launcher for BTDemo) 
    ├── etc
    │   └──anwbtservice
    │        ├── \*.xml, \*.cfg (app settings)  
    │        └── lib   
    │             └── \*.so (essentials libraries)
    ├── import (anwbtservice)
    │   ├── anwbtservice.h (service api header)
    │   └── \*.so (include libraries)
    └── btsrv (ouput for produced, e.g. BTDemo)
Clone repository

SONY TAMUL RELEASENOTE
COMMAND MAN PAGE