2020-07-26 18:28:44 +00:00
|
|
|
void bt_reset();
|
|
|
|
void bt_loadfirmware();
|
2020-08-05 20:30:54 +00:00
|
|
|
void bt_setbaud();
|
|
|
|
void bt_setbdaddr();
|
|
|
|
void bt_getbdaddr(unsigned char *bdaddr);
|
|
|
|
void bt_init();
|
2020-07-26 18:28:44 +00:00
|
|
|
unsigned int bt_isReadByteReady();
|
|
|
|
unsigned char bt_readByte();
|
2020-08-11 15:16:18 +00:00
|
|
|
unsigned char bt_waitReadByte();
|
2020-08-05 20:30:54 +00:00
|
|
|
void setLEeventmask(unsigned char mask);
|
|
|
|
void startActiveScanning();
|
2020-08-10 19:20:13 +00:00
|
|
|
void stopScanning();
|
2020-08-05 20:30:54 +00:00
|
|
|
void startActiveAdvertising();
|
2020-08-10 19:20:13 +00:00
|
|
|
void connect(unsigned char *addr);
|
2020-08-11 16:48:00 +00:00
|
|
|
void sendACLsubscribe(unsigned int handle);
|