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