建立 MAG160C 逆向工程交接仓库

This commit is contained in:
ZXCLI
2026-08-11 19:08:44 +08:00
commit 8409b27ba3
3135 changed files with 534408 additions and 0 deletions
@@ -0,0 +1,27 @@
#ifndef MAG160C_CORE_IR_DEVICE_HPP
#define MAG160C_CORE_IR_DEVICE_HPP
#include "mag160c/mag160c.h"
namespace mag160c::core {
class IrDevice {
public:
IrDevice();
const mag160c_ir_info_t& info() const noexcept;
mag160c_error_t trigger_ffc() const;
mag160c_error_t read_raw_once(
unsigned char* out_bytes,
size_t out_capacity,
size_t* out_size,
int timeout_ms
) const;
private:
mag160c_ir_info_t info_{};
};
} // namespace mag160c::core
#endif