btstack/port/mtk
Matthias Ringwald 2778f48c98 mtk: fix compile
2016-04-20 23:27:58 +02:00
..
docs separate platform specific code and ports for a particular setup 2015-11-13 10:18:04 +01:00
LEScan java: use streamline event names, GAP_LE_EVENT_ADVERTISING_REPORT -> GAP_EVENT_ADVERTISING_REPORT 2016-03-07 17:19:53 +01:00
SPPClient events: RFCOMM_EVENT_OPEN_CHANNEL_COMPLETE -> RFCOMM_EVENT_CHANNEL_OPENED 2016-03-31 23:41:19 +02:00
.gitignore fix compile of l2cap/rfcomm-name examples 2016-01-21 21:20:22 +01:00
bluetoothdrv_stub.c use _ instead of - in file names 2016-01-21 15:47:16 +01:00
bluetoothdrv.h separate platform specific code and ports for a particular setup 2015-11-13 10:18:04 +01:00
btstack_config.h prefix POSIX related HAVE_ defines 2016-03-30 10:59:47 +02:00
BTstackDaemonRespawn.c separate platform specific code and ports for a particular setup 2015-11-13 10:18:04 +01:00
deinstaller.sh separate platform specific code and ports for a particular setup 2015-11-13 10:18:04 +01:00
hci_transport_h4_mtk.c mtk: fix compile 2016-04-20 23:27:58 +02:00
installer.sh fix compile of l2cap/rfcomm-name examples 2016-01-21 21:20:22 +01:00
Makefile mtk: fix compile 2016-04-20 23:27:58 +02:00
package.sh daemon: move examples from example/daemon to platform/daemon/example. fix mtk compile 2016-02-19 10:33:52 +01:00
readme.txt separate platform specific code and ports for a particular setup 2015-11-13 10:18:04 +01:00
restart.sh separate platform specific code and ports for a particular setup 2015-11-13 10:18:04 +01:00

//
// 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