14 lines
346 B
C++
14 lines
346 B
C++
|
|
#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);
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // SHORT_ADDR_CFG_HPP_
|