2016-05-02 15:42:13 +00:00
|
|
|
<?php
|
|
|
|
|
2017-05-02 20:04:44 -03:00
|
|
|
/*
|
2016-05-02 15:42:13 +00:00
|
|
|
BDCOM(tm) S2524C Software, Version 2.1.0A Build 5721
|
|
|
|
Compiled: 2011-11-1 15:57:26 by SYS
|
|
|
|
ROM: System Bootstrap,Version 0.3.2,Serial num:27072980
|
2017-05-02 20:04:44 -03:00
|
|
|
*/
|
2016-05-02 15:42:13 +00:00
|
|
|
|
2018-01-07 05:00:47 +00:00
|
|
|
preg_match('/BDCOM\(tm\) ([A-Z0-9]+) Software, Version (.*)\nCompiled: (.*)\n(.*),Serial num:([0-9]+)/', $device['sysDescr'], $matches);
|
2016-05-02 15:42:13 +00:00
|
|
|
|
2017-05-02 20:04:44 -03:00
|
|
|
$hardware = $matches['1'];
|
2016-05-02 15:42:13 +00:00
|
|
|
$version = $matches['2'];
|
|
|
|
$serial = $matches['5'];
|