yy1717
2021-01-12 683b1595260e638d1d3c6cc0d6543a72f6d6f925
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//
// Created by YY on 2019/12/21.
//
 
#ifndef RTKDRIVERTEST_MCU_IF_H
#define RTKDRIVERTEST_MCU_IF_H
 
#include <cstdint>
 
void McuCommModeSel(int mode);
void ConfigMCU(bool ayDevice);
void SendRtkToMcu(const uint8_t *data, int length);
void ParseMcuInit(void);
void ParseMcu(const uint8_t *data, int length);
void SendMcuCommand(uint16_t id, const uint8_t *data, int length);
 
void UploadDfuFileEnd(void);
void UploadDfuFile(const uint8_t *file, int length);
void ReadCard(void);
void ShutdownInd(int timeout);
 
#endif //RTKDRIVERTEST_MCU_IF_H