Changeset 856 for trunk/Modules/NetworkConfigAirOS/Generators/Signal.php
- Timestamp:
- Aug 14, 2018, 5:05:00 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfigAirOS/Generators/Signal.php
r814 r856 15 15 while($Device = $DbResult3->fetch_assoc()) 16 16 { 17 echo($Device['LocalIP']." \n");17 echo($Device['LocalIP'].""); 18 18 $SSHClient = new SSHClient($Device['LocalIP'], $Device['LoginName'], $Device['LoginPassword']); 19 //$SSHClient->Debug = true; 19 20 $Result = $SSHClient->Execute('wstalist'); 20 print_r($Result); 21 if (count($Result) > 0) 22 { 23 //print_r($Result); 21 24 $Array = json_decode(implode("\n", $Result), true); 22 print_r($Array); 25 //print_r($Array); 26 echo('-'); 23 27 foreach($Array as $Properties) 24 28 { … … 36 40 'Value' => $Strength, 'RateRx' => $RateRx, 'RateTx' => $RateTx, 37 41 'Time' => TimeToMysqlDateTime($Time), 'Interface' => $Interface, 'Device' => $Device['Id'])); 42 echo('.'); 38 43 } 44 echo("\n"); 45 } else echo("Empty response\n"); 46 39 47 } 40 48 }
Note:
See TracChangeset
for help on using the changeset viewer.