#ifndef _BLUETOOTH_H #define _BLUETOOTH_H typedef enum { TEXT_NUM_BLUETOOTH_NAME, TEXT_NUM_BLUETOOTH_PHONENAME, TEXT_NUM_PHONE_NUMBER, TEXT_NUM_PHONE_NUMBER_TOTAL, TEXT_NUM_INFORMATION_MCUVER, TEXT_NUM_INFORMATION_SWVERSION, TEXT_NUM_INFORMATION_HW, TEXT_NUM_INFORMATION_OS, TEXT_NUM_INFORMATION_HMI, TEXT_NUM_ROAD_NAME, TEXT_NUM_TOTAL, } TEXT_NUM_ENUM; typedef struct { TEXT_NUM_ENUM TextNum; uint16_t LableNum; uint16_t Vaild; }TEXT_STRUCT; /*QRCode X Y height Width*/ #define QRCode_X 178 #define QRCode_Y 130 #define QRCode_HEIGHT 240 #define QRCode_WIDTH 240 #define QRCode_TYPE Square_Instrument extern void BlueToothService(void); extern _PICID_Struct PicObj; extern _QRCODE_RECT QRCode_Rect; extern uint8_t PhoneNumber[40]; extern uint8_t CurBlueToothPhoneName[100]; extern uint8_t BlueToothName[40]; extern uint8_t PhoneNumberTotal[20]; extern TEXT_STRUCT TextPara[]; #endif