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

Source for file Cell.php

Documentation is available at Cell.php

  1. <?php
  2.  
  3. /**
  4. *   Cell information from a wifi scan.
  5. *
  6. *   @author Christian Weiske <cweiske@php.net>
  7. */
  8. class Net_Wifi_Cell
  9. {
  10.     /**
  11.     *   The current cell number.
  12.     *   Has nothing to say.
  13.     *   @var int 
  14.     */
  15.     var $cell       = null;
  16.  
  17.     /**
  18.     *   MAC address of the cell (access point or ad-hoc station).
  19.     *   example: 00:40:05:28:EB:45
  20.     *   @var string 
  21.     */
  22.     var $mac        = null;
  23.  
  24.     /**
  25.     *   "Service Set IDentifier" of the cell which identifies the network.
  26.     *   Max. 32 alphanumeric characters
  27.     *   example: "My Network" (without quotes)
  28.     *   @var string 
  29.     */
  30.     var $ssid       = null;
  31.  
  32.     /**
  33.     *   Network type.
  34.     *   can be "master" or "ad-hoc" (without quotes)
  35.     *   @var string 
  36.     */
  37.     var $mode       = null;
  38.  
  39.     /**
  40.     *   Channel number used for communication.
  41.     *   number from 1 to 12 or so
  42.     *   @var int 
  43.     */
  44.     var $channel    = null;
  45.  
  46.     /**
  47.     *   If encryption is used.
  48.     *   @var boolean 
  49.     */
  50.     var $encryption = null;
  51.  
  52.     /**
  53.     *   Channel frequency.
  54.     *   example: 2.412GHz
  55.     *   @var string 
  56.     */
  57.     var $frequency  = null;
  58.  
  59.     /**
  60.     *   The protocol version used.
  61.     *   example: IEEE 802.11b
  62.     *   @var string 
  63.     */
  64.     var $protocol   = null;
  65.  
  66.     /**
  67.     *   Bit rate which is used (when connected).
  68.     *   @var float 
  69.     */
  70.     var $rate       = null;
  71.  
  72.     /**
  73.     *   Array of supported bit rates.
  74.     *   @var array(float) 
  75.     */
  76.     var $rates      = array();
  77.  
  78.     /**
  79.     *   Signal strength.
  80.     *   example: -59
  81.     *   @var int 
  82.     */
  83.     var $rssi       = null;
  84.  
  85.     /**
  86.     *   The time since the last beacon (time sync) frame has been sent, in ms.
  87.     *   @var int 
  88.     */
  89.     var $beacon     = null;
  90. }//class Net_Wifi_Cell
  91.  
  92. ?>

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