可以实现led状态获取,也能控制led灯。
// Location Entry
{8, {0x2b, 6, 1, 2, 1, 1, 6, 0},
SNMPDTYPE_OCTET_STRING, 30, {"4F Humax Village"},
NULL, NULL},
// SysServices
{8, {0x2b, 6, 1, 2, 1, 1, 7, 0},
SNMPDTYPE_INTEGER, 4, {""},
NULL, NULL},
// WIZnet LED
{8, {0x2b, 6, 1, 4, 1, 0, 1, 0},
SNMPDTYPE_OCTET_STRING, 30, {""},
getWIZnetLed, NULL},
评论