byteblowerll.byteblower.DeviceInfo

class byteblowerll.byteblower.DeviceInfo(*args, **kwargs)

Device information of the wireless endpoint.

Contains all usefull device information of a wireless endpoint like OS, Network, Battery etc…

New in version 2.6.0.

Example

from byteblowerll.byteblower import ByteBlower
meetingPoint = bb.MeetingPointAdd('byteblower-tutorial-1300.lab.byteblower.excentis.com')
weDevice = meetingPoint.DeviceGet('5D96F1C6-AAF3-43E3-9816-5DFAC1D2E812')
deviceInfo = weDevice.DeviceInfoGet()
print(deviceInfo.BatteryLevelGet())
__init__(*args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

Methods

BatteryLevelGet() Returns the device’s battery level.
DescriptionGet(*args) Gets a textual description for the current object
GivenNameGet() Returns the user-provided device name.
NetworkInfoGet() Return the networkInfoObject containing all the network information of the Wireless Endpoint.
NetworkInfoMonitorAdd() Creates a NetworkInfo monitor to be used during a scenario
NetworkInfoMonitorGet() Get the created NetworkInfo monitors
NetworkInfoMonitorRemove(arg2) Removes the specified NetworkInfoMonitor
OsTypeGet() Returns the OS type.
OsVersionGet() Returns the OS version.
ParentGet() Returns the parent object.
Refresh() Retrieves the latest data from the server for this object.
TypeGet() Returns the type of device.
__init__(*args, **kwargs) Initialize self.

Attributes

thisown The membership flag