|
|
#define | VIVOE_MIB_BASE 1,3,6,1,4,1,35990,3,1,1 |
|
#define | VIVOE_DEVICE_DESC VIVOE_MIB_BASE,1 |
|
#define | VIVOE_DEVICE_MANUFACTURER VIVOE_MIB_BASE,2 |
|
#define | VIVOE_DEVICE_PART_NUMBER VIVOE_MIB_BASE,3 |
|
#define | VIVOE_DEVICE_SERIAL_NUMBER VIVOE_MIB_BASE,4 |
|
#define | VIVOE_DEVICE_HW_VERSION VIVOE_MIB_BASE,5 |
|
#define | VIVOE_DEVICE_SW_VERSION VIVOE_MIB_BASE,6 |
|
#define | VIVOE_DEVICE_FW_VERSION VIVOE_MIB_BASE,7 |
|
#define | VIVOE_DEVICE_MIB_VERSION VIVOE_MIB_BASE,8 |
|
#define | VIVOE_DEVICE_TYPE VIVOE_MIB_BASE,9 |
|
#define | VIVOE_DEVICE_USER_DESC VIVOE_MIB_BASE,10 |
|
#define | VIVOE_ETHERNET_IF_NUMBER VIVOE_MIB_BASE,11 |
|
#define | VIVOE_DEVICE_NATO_STOCK VIVOE_MIB_BASE,13 |
|
#define | VIVOE_DEVICE_MODE VIVOE_MIB_BASE,14 |
|
#define | VIVOE_DEVICE_RESET VIVOE_MIB_BASE,15 |
|
#define | VIVOE_ETHERNET_IF_TABLE 1,3,6,1,4,1,35990,3,1,1,12 |
|
#define | VIVOE_ETHERNET_IF_ENTRY VIVOE_ETHERNET_IF_TABLE,1 |
|
#define | VIVOE_VIDEO_FORMAT_NUMBER 1,3,6,1,4,1,35990,3,1,2,1 |
|
#define | VIVOE_VIDEO_FORMAT_TABLE 1,3,6,1,4,1,35990,3,1,2,2 |
|
#define | VIVOE_VIDEO_FORMAT_ENTRY VIVOE_VIDEO_FORMAT_TABLE,1 |
|
#define | VIVOE_CHANNEL_RESET 1,3,6,1,4,1,35990,3,1,3,1 |
|
#define | VIVOE_CHANNEL_NUMBER 1,3,6,1,4,1,35990,3,1,3,2 |
|
#define | VIVOE_CHANNEL_TABLE 1,3,6,1,4,1,35990,3,1,3,3 |
|
#define | VIVOE_CHANNEL_ENTRY VIVOE_CHANNEL_TABLE,1 |
|
#define | VIVOE_CHANNEL_TABLE_BASE 1,3,6,1,4,1,35990,3,1,3,3,1 |
|
#define | VIVOE_VIDEO_FORMAT_BASE 1,3,6,1,4,1,35990,3,1,2,2,1 |
VIVOE MIB SNMP Server - TEMPLATE EXAMPLE IMPLEMENTATION.
*** THIS IS A TEMPLATE EXAMPLE FOR VIVOE MIB SERVER ***
This implementation provides a complete example of handling VIVOE MIB SNMP requests for a simulated Rheinmetall Trailblaizer camera system.
EXAMPLE IMPLEMENTATION INCLUDES:
- All mandatory VIVOE MIB device information objects
- Dual video channel configuration (day/night)
- H.264 video format specifications
- Ethernet interface simulation
- Standard VIVOE OID structure compliance
USER CUSTOMIZATION SECTIONS: Look for comments marked with "USER CUSTOMIZATION SECTION" to find areas where you should modify the code for your specific device:
- Device Information (lines ~280-350)
- Channel Configuration (lines ~370-420)
- Video Format Setup (lines ~440-480)
- Network Interface Data (lines ~500-530)
- MIB Handler Logic (throughout handler functions)
TESTING INSTRUCTIONS:
- Build: make
- Run: sudo ./build/bin/vivoe_mib_server
- Test with ToolX SNMP Walk feature
- Or use: snmpwalk -v2c -c public localhost 1.3.6.1.4.1.35990