// // Created by YY on 2019/10/14. // #ifndef RTKBASESTATION_NATIVE_LIB_H #define RTKBASESTATION_NATIVE_LIB_H #include #include #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); int 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); void SendToBluetooth(const uint8_t *data, int length); void ConnectToBluetooth(const char *addr, const char *pin); void DisconnectBluetooth(void); #endif //RTKBASESTATION_NATIVE_LIB_H