mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-01 00:28:18 +00:00
21 lines
431 B
C
21 lines
431 B
C
// stub library to allow linking against libbluetoothdrv.so without having a copy of it
|
|
#include "bluetoothdrv.h"
|
|
|
|
// @returns fd for Bluetooth UART if successfull
|
|
int mtk_bt_enable(void){
|
|
return 0;
|
|
}
|
|
|
|
// disables Bluetooth
|
|
void mtk_bt_disable(int fd){
|
|
}
|
|
|
|
//
|
|
int mtk_bt_write(int fd, uint8_t * buffer, size_t len){
|
|
return 0;
|
|
}
|
|
|
|
// @returns number of bytes read
|
|
int mtk_bt_read(int fd, uint8_t * buffer, size_t len){
|
|
return 0;
|
|
} |