#ifndef __BLE_CORE_H
#define __BLE_CORE_H

#ifdef __cplusplus
extern "C" {
#endif
#ifdef __BLE_CORE_H_GLOBAL
#define __BLE_CORE_H_EXTERN
#else
#define __BLE_CORE_H_EXTERN extern
#endif

/************************************************************************************************
 *                                          Version                                              *
 ************************************************************************************************/

/************************************************************************************************
 *                                          How to use                                           *
 ************************************************************************************************/

/************************************************************************************************
 *                                          Enable config                                         *
 ************************************************************************************************/

/************************************************************************************************
 *                                          Includes                                             *
 ************************************************************************************************/

#include "uart.h"

/************************************************************************************************
 *                                          Defines                                              *
 ************************************************************************************************/
#define BT_BUSY_IND_PORT GPIOB
#define BT_BUSY_IND_PIN  GPIO_Pin_12
#define BT_CONN_IND_PORT GPIOB
#define BT_CONN_IND_PIN  GPIO_Pin_13
#define BT_RST_PORT      GPIOC
#define BT_RST_PIN       GPIO_Pin_2

void ble_init(void);
void ble_send(void);
/************************************************************************************************
 *                                          Defines                                              *
 ************************************************************************************************/
#ifdef __cplusplus
};
#endif

#endif // __BLE_CORE_H