Net_Wifi
[ class tree: Net_Wifi ] [ index: Net_Wifi ] [ all elements ]

Source for file Config.php

Documentation is available at Config.php

  1. <?php
  2.  
  3. /**
  4. *   Configuration settings of a wifi network interface.
  5. *
  6. *   @author Christian Weiske <cweiske@php.net>
  7. */
  8. class Net_Wifi_Config
  9. {
  10.     /**
  11.     *   If the interface is activated.
  12.     *   Some notebooks have a button which deactivates wifi, this is recognized here.
  13.     *   Note that this setting can't be read by all drivers, and so
  14.     *    it's "true" if it can't be determined. You can be sure that it's deactivated
  15.     *    if this setting is false, but not that it's activated if it's true
  16.     *   @var boolean 
  17.     */
  18.     var $activated  = true;
  19.  
  20.     /**
  21.     *   If the interface is connected to an access point or an ad-hoc network.
  22.     *   @var boolean 
  23.     */
  24.     var $associated = false;
  25.  
  26.     /**
  27.     *   MAC address of the associated access point.
  28.     *   @var string 
  29.     */
  30.     var $ap         = null;
  31.  
  32.     /**
  33.     *   "Service Set IDentifier" of the cell which identifies current network.
  34.     *   Max. 32 alphanumeric characters
  35.     *   example: "My Network" (without quotes)
  36.     *   @var string 
  37.     */
  38.     var $ssid       = null;
  39.  
  40.     /**
  41.     *   Network type.
  42.     *   Can be "master" or "ad-hoc" (without quotes)
  43.     *   @var string 
  44.     */
  45.     var $mode       = null;
  46.  
  47.     /**
  48.     *   The nickname which the interface (computer) uses.
  49.     *   Something like a computer name
  50.     *   @var string 
  51.     */
  52.     var $nick       = null;
  53.  
  54.     /**
  55.     *   The bit rate of the connection.
  56.     *   @var float 
  57.     */
  58.     var $rate       = null;
  59.  
  60.     /**
  61.     *   Power setting of the interface.
  62.     *   @var int 
  63.     */
  64.     var $power      = null;
  65.  
  66.     /**
  67.     *   Protocol version which is used for connection.
  68.     *   example: "IEEE 802.11g" without quotes
  69.     *   @var string 
  70.     */
  71.     var $protocol   = null;
  72.  
  73.     /**
  74.     *   Signal strength.
  75.     *   example: -59
  76.     *   @var int 
  77.     */
  78.     var $rssi       = null;
  79. }//class Net_Wifi_Config
  80. ?>

Documentation generated on Mon, 11 Mar 2019 14:48:01 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.