BlueTooth.h 883 Bytes
Newer Older
1 2 3
#ifndef _BLUETOOTH_H
#define _BLUETOOTH_H

4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
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;

26 27 28



29
/*QRCode X Y height Width*/
30 31
#define QRCode_X 178
#define QRCode_Y 130
32 33 34 35 36 37
#define QRCode_HEIGHT 240
#define QRCode_WIDTH 240
#define QRCode_TYPE Square_Instrument


extern void BlueToothService(void);
38
extern _PICID_Struct PicObj;
39
extern _QRCODE_RECT QRCode_Rect;
40 41 42
extern uint8_t PhoneNumber[40];
extern uint8_t CurBlueToothPhoneName[100];
extern TEXT_STRUCT TextPara[];
43 44

#endif