#ifndef __BLE_H_ #define __BLE_H_ typedef enum{ UNVAIL, BLE_BASE_CONNECT, BLE_AUD_CONNECT, }BLE_STATUE; typedef struct{ //BLE_STATUE Ble_Statue; unsigned char BleRingInit:1; //指环清除列表 //unsigned char BleIswork:1; // unsigned char Base_Conected:1; unsigned char Audio_Conected:1; }Sut_BLE; extern Sut_BLE Sut_ble; extern const char Ble_IO2AT[5];//从IO控制模式切换到AT模式 void gpioBleConfigOutput(void); void BLE_at_process(char *r_buffer,int read_size); void bleCb(void *param); void Ble_Match_IOCTR(bool ctr); void BT_Match_IOctr(bool ctr); void Ble_handler(unsigned int interval); void BLE_Open(); void BLE_Close(); #endif