123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- #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
|