21 lines
421 B
C
21 lines
421 B
C
#ifndef _BLE_H_
|
||
#define _BLE_H_
|
||
|
||
#include "usart.h"
|
||
#include "data_type_def.h"
|
||
#include "apps_gather.h"
|
||
|
||
void ble_send(UART_HandleTypeDef *huart, uint8_t *data);
|
||
|
||
//DEVICE <---SIG---> PC
|
||
//将来自设备的BLUETOOTH数据装载至com485_tx,将comblue_tx的数据发送至设备
|
||
void transparent_bluetooth(st_scom *scom);
|
||
|
||
int8_t write_ble_id(char *id);
|
||
|
||
void write_ble_cmd(char *cmd);
|
||
|
||
uint8_t ble_init(void);
|
||
|
||
#endif
|