sggt/App/BLE/ble.h

21 lines
421 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#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