xref: /btstack/port/mtk/bluetoothdrv_stub.c (revision bc37f7b0d0a3eaa5763a873c5730bc14b849aaa0)
1 // stub library to allow linking against libbluetoothdrv.so without having a copy of it
2 #include "bluetoothdrv.h"
3 
4 // @returns fd for Bluetooth UART if successfull
5 int mtk_bt_enable(void){
6 	return 0;
7 }
8 
9 // disables Bluetooth
10 void mtk_bt_disable(int fd){
11 }
12 
13 //
14 int mtk_bt_write(int fd, uint8_t * buffer, size_t len){
15 	return 0;
16 }
17 
18 // @returns number of bytes read
19 int mtk_bt_read(int fd, uint8_t * buffer, size_t len){
20 	return 0;
21 }