btstack/platforms/mtk
2015-05-13 10:30:46 +02:00
..
docs added mediatek docu 2015-05-08 11:58:13 +02:00
LEScan
SPPClient use rel path to btstack/java 2015-02-19 16:02:04 +00:00
.gitignore gitignore binaries 2015-04-03 22:23:29 +02:00
bluetoothdrv-stub.c
bluetoothdrv.h
btstack-config.h
BTstackDaemonRespawn.c
deinstaller.sh
hci_transport_h4_mtk.c fix c99 warnings for missing argument of functions with no arguments, fix more warnings 2015-05-13 10:30:46 +02:00
installer.sh
Makefile add platforms/daemon/src to MTK build 2015-05-11 15:52:07 +02:00
package.sh use version+short hash for package name, make independendent from current work dir 2015-04-11 22:28:00 +02:00
readme.txt
restart.sh

//
// BTstack port for RugGear Anrdroid 4.x devices with MediaTek Chipsets
//

It replaces MediaTek's Bluetooth Stack but doesn't integrate with the OS. BTstack libbtstack is required to communicate with the BTstack Server. It supports the LE Central and SPP.

Technical details:
- the binary for the Mediatek Bluetooth Server is replaced by the BTstackDaemonRespawn binary
- It links against MediaTeks's libbluetoothdrv.so that provides a standard HCI Transport implementation via POSIX API


Compilation:
It depends on the Android NDK. Please update NDK, ADB at the beginning of the Makefile
$ make

Install:
$ ./installer.sh
It will try to backup the original mtkbt Bluetooth server. Use at your own risk resp. double check the script first.

Deinstall:
$ ./deinstaller.sh
This tries to put mtkbk back in place.

Quick test:
$ adb shell le_scan
To start an LE discovery

Getting the packet log:
$ make hci_dump