Ignore:
Timestamp:
Jul 21, 2014, 11:09:35 PM (10 years ago)
Author:
chronos
Message:
  • Přidáno: Zprovozněno měření signálu přes RouterOS API.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/NetworkConfigRouterOS/RouterboardAPI.php

    r671 r674  
    1111  var $Timeout;        // Connection attempt timeout and data read timeout
    1212  var $Socket;             // Variable for storing socket resource
     13  var $Debug;
    1314
    1415  function __construct()
     
    1920    $this->Port = 8728;
    2021    $this->Timeout = 3;
     22    $this->Debug = false;
    2123  }
    2224
     
    182184        $Response[] = $Line;
    183185      }
    184       echo($Line."\n");
     186      if($this->Debug) echo($Line);
    185187      // If we get a !done, make a note of it.
    186188      if ($Line == "!done") $ReceivedDone = true;
Note: See TracChangeset for help on using the changeset viewer.