rpi4-osdev/part7-bluetooth/bt.h

17 lines
455 B
C
Raw Normal View History

void bt_reset();
void bt_loadfirmware();
void bt_setbaud();
void bt_setbdaddr();
void bt_getbdaddr(unsigned char *bdaddr);
void bt_init();
unsigned int bt_isReadByteReady();
unsigned char bt_readByte();
unsigned char bt_waitReadByte();
void setLEeventmask(unsigned char mask);
void startActiveScanning();
2020-08-10 19:20:13 +00:00
void stopScanning();
void startActiveAdvertising();
2020-08-10 19:20:13 +00:00
void connect(unsigned char *addr);
2020-08-11 08:09:13 +00:00
void bt_flushrx();
void sendACLsubscribe(unsigned int handle);