Bluetooth hc05 library
Diff: hc05.h
- Revision:
- 14:1b81b957214a
- Parent:
- 13:85c3dac25599
- Child:
- 16:8c5c8d0a1cfb
diff -r 85c3dac25599 -r 1b81b957214a hc05.h --- a/hc05.h Sat Aug 25 21:46:43 2018 +0000 +++ b/hc05.h Sun Aug 26 10:53:14 2018 +0000 @@ -40,7 +40,7 @@ char *set_modul_inquiry(char *inqparams); char *set_modul_name(char *name); char *set_modul_uart(char *uartparams); - char *set_to_addr(char *address); + char *set_addr_fixed(char *address); char *set_addr_mode(CMODE mode); char *search_device(char *address); char *set_device_paired(char *address, int timeout); @@ -52,11 +52,14 @@ bool data_send(char *data); char *data_receive(); void flush(); - char *search(); + + char *search_device(); char *link_device_any(char *address); char *link_device_fixed(char *address); char *link_device_paired(char *address); + void init_master_fixed(char *pin, char *name, char *address); + void init_slave(char *pin, char *name); private : _IRQ t_interrupt; _IRQ t_interrupt1;