0
0

Initial commit from DCSP - 2025/12/30 17:01:58

This commit is contained in:
xb
2025-12-30 17:01:58 +08:00
commit 3a4fea17a1
37 changed files with 3992 additions and 0 deletions

19
ObcHS.h Normal file
View File

@@ -0,0 +1,19 @@
#include <stdint.h>
#include <string>
#include <vector>
void ObcHSWriteLog(const std::string &msg);
void ObcHS_init(uint8_t domainid, std::string appname);
void command_callback(std::string src, std::string dest, std::string type,
std::string reserve1, std::string reserve2,
std::vector<uint8_t>& data);
void telemetry_callback(std::string src, std::string dest, std::string type,
std::string reserve1, std::string reserve2,
std::vector<uint8_t>& data);
void ObcHS_command_Pub(uint8_t* data, std::string dest, uint16_t len);
void ObcHS_telemetry_Pub(uint8_t* data, std::string dest, uint16_t len);