14 lines
270 B
PHP
Raw Normal View History

2015-04-02 08:50:43 +01:00
<?php
2015-07-13 20:10:26 +02:00
$canopy_type = snmp_get($device, 'boxDeviceType.0', '-Oqv', 'WHISP-BOX-MIBV2-MIB');
2015-04-06 23:03:19 +01:00
2015-07-13 20:10:26 +02:00
if (stristr($canopy_type, 'MIMO OFDM')) {
2015-04-06 23:03:19 +01:00
$hardware = 'PMP 450';
2015-07-13 20:10:26 +02:00
}
else if (stristr($canopy_type, 'OFDM')) {
2015-04-06 23:03:19 +01:00
$hardware = 'PMP 430';
2015-07-13 20:10:26 +02:00
}
else {
2015-04-06 23:03:19 +01:00
$hardware = 'PMP 100';
}