Ekahau::Response::DeviceProperties - Properties of a device tracked by Ekahau


Ekahau documentation Contained in the Ekahau distribution.

Index


Code Index:

NAME

Top

Ekahau::Response::DeviceProperties - Properties of a device tracked by Ekahau

SYNOPSIS

Top

Contains the properties of a device visible to Ekahau.

DESCRIPTION

Top

Constructor

Generally you will not want to construct these objects yourself; they are created by Ekahau::Response, and use its constructor.

Methods

get_props ( @prop_names )

Inherited from Ekahau::Response::get_props. Returns a hash containing the values for the list of Properties in @prop_names. If @prop_names is empty, all properties will be returned.

get_prop ( $prop_name )

Inherited from Ekahau::Response::get_prop. Returns the value for one of this object's Properties, specified by $prop_name. If no property named $prop_name exists, undef is returned.

device_id ( )

Returns the identifier for this device, which can be used to start or stop tracking.

type ( )

Returns the string DeviceProperties, to identify the type of this object.

Properties

Properties can be retreived with get_prop or get_props. The list of properties below may not be complete, and not all properties will be available for all objects. Property names are case-sensitive.

ECLIENT.WLAN_MODEL

The model of wireless card contained in the device.

ECLIENT.COMMON_INTERNALNAME

The name of the Ekahau driver used on the device.

NETWORK.MAC

The MAC address of the device.

NETWORK.DNS_NAME

The network name of the device.

NETWORK.IP-ADDRESS

The IP address of the device.

AUTHOR

Top

Scott Gifford <gifford@umich.edu>, <sgifford@suspectclass.com>

Copyright (C) 2005 The Regents of the University of Michigan.

See the file LICENSE included with the distribution for license information.

SEE ALSO

Top

Ekahau::Response, Ekahau::DeviceList (Ekahau::DeviceList), Ekahau::Base.


Ekahau documentation Contained in the Ekahau distribution.
package Ekahau::Response::DeviceProperties;
use base 'Ekahau::Response'; our $VERSION=Ekahau::Response::VERSION;

# Written by Scott Gifford <gifford@umich.edu>
# Copyright (C) 2004 The Regents of the University of Michigan.
# See the file LICENSE included with the distribution for license
# information.

use strict;
use warnings;

# Internal method
sub init
{
    warn "Created Ekahau::Response::DeviceProperties object\n"
	if ($ENV{VERBOSE});
}

sub device_id
{
    my $self = shift;
    
    return $self->{args}[0];
}

sub type
{
    'DeviceProperties';
}


1;