yy1717
2020-10-23 c484cbb09d445e2ab30ea011c6d2ffd87202bb26
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//
// Created by YY on 2019/10/14.
//
 
#ifndef RTKBASESTATION_NATIVE_LIB_H
#define RTKBASESTATION_NATIVE_LIB_H
 
#include <cstdint>
#include <string>
 
#include "test_common/Geometry.h"
 
typedef struct {
    int seq;
    void (*callback)(int);
} tts_back_t;
 
char * GetImei(void);
 
int DESEncrypt(const uint8_t *key, int key_length,
               const uint8_t *plaintext, int plaintext_length,
               uint8_t **ciphertext);
 
 
void TextOsd(int type, const char *text);
void DrawScreen(const Polygon *map, const Polygon *car);
void SendMsgToMainProc(int cmd, const char *value);
int PlayTTS(const char *string, void (*callback)(int));
int PlayTTS(std::string &tts, void (*callback)(int));
void PlayRing(void);
 
#endif //RTKBASESTATION_NATIVE_LIB_H