Bluetooth hc05 library
hc05.h
- Committer:
- rainerraul
- Date:
- 2018-08-17
- Revision:
- 1:8d4296aafa55
- Parent:
- 0:15a264bf1590
- Child:
- 2:38f1fb034a75
File content as of revision 1:8d4296aafa55:
#ifndef HC05_H #define HC05_H enum UART {UART1, UART6}; class bt_modul_hc05 { public : void initUART(UART num, unsigned long baudrate, _IRQ interrupt); char *get_version(UART num); char *get_modul_address(UART num); char *get_modul_name(UART num); char *get_device_name(UART num); char *get_modul_role(UART num); char *get_device_class(UART num); char *get_modul_giac(UART num); char *get_modul_inquiry(UART num); char *get_modul_pincode(UART num); char *get_modul_uart(UART num); char *get_modul_inqm(UART num); char *get_modul_init(UART num); char *get_modul_state(UART num); char *get_addr_mode(UART num); char *get_fixed_addr(UART num); char *set_reset(UART num); char *set_default_settings(UART num); char *set_modul_address(UART num, char *addr); char *set_modul_name(UART num, char *name); private : _IRQ t_interrupt; _IRQ t_interrupt1; }; #endif