WLG/scheduler/short_addr_cfg.hpp

15 lines
388 B
C++
Raw Normal View History

2025-01-04 15:10:54 +08:00
#ifndef SHORT_ADDR_CFG_HPP_
#define SHORT_ADDR_CFG_HPP_
#include <stdint.h>
#include <map>
#define BASE_RELATION "/opt/configenv/base_relation.json"
class ShortAddrCfg {
public:
static int ReadCfg(std::map<uint16_t, int> &short_addr_map);
static int WriteCfg(std::map<uint16_t, int> &short_addr_map);
static void ClearCfg();
};
2024-11-05 14:44:08 +08:00
#endif // SHORT_ADDR_CFG_HPP_