WLG/scheduler/short_addr_cfg.hpp

15 lines
374 B
C++
Raw Normal View History

2024-11-05 14:44:08 +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);
2024-11-08 14:23:09 +08:00
static void ClearCfg();
2024-11-05 14:44:08 +08:00
};
#endif // SHORT_ADDR_CFG_HPP_