Bluetooth hc05 library

Dependents:   Nucleo_bt

hc05.h

Committer:
rainerraul
Date:
2018-08-16
Revision:
0:15a264bf1590
Child:
1:8d4296aafa55

File content as of revision 0:15a264bf1590:

#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 *set_reset(UART num);
    char *set_default_settings(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);
private :
    _IRQ t_interrupt;
    _IRQ t_interrupt1;
};

#endif