RDK Documentation (Open Sourced RDK Components)
snmpAdapter.cpp File Reference

This source file contains the APIs for getting device information. More...

#include "snmpAdapter.h"
#include <fstream>
#include "safec_lib.h"
#include <vector>
#include <cstring>
Include dependency graph for snmpAdapter.cpp:

Go to the source code of this file.

Macros

#define TR181_SNMPOID_FILE   "/etc/tr181_snmpOID.conf"
 
#define interface_STB   "STB"
 
#define interface_CM   "CM"
 
#define SNMP_AGENT_CM_IP_ADDRESS   "192.168.100.1"
 
#define SNMP_AGENT_STB_IP_ADDRESS   "127.0.0.1"
 
#define SNMP_COMMUNITY   "hDaFHJG7"
 
#define CMD(cmd, length, args...)   ({ snprintf(cmd, length, args); })
 

yes

This source file contains the APIs for getting device information.

SNMP RDKCENTRAL API Implementation.

This is the implementation of the DeviceInfo API.

Document
TBD Relevant design or API documentation.

Definition in file snmpAdapter.cpp.