monotooth : monotooth.Model.Device Namespace

LinuxDevice Class

The linux implementation of IDevice

public class LinuxDevice : ILocalDevice


Remarks

To be added.

Members

See Also: Inherited members from object.

Constructors

The default constructor for linux implementation

Properties

Address
monotooth.Model.BluetoothAddress . Implemented properties from IDevice, this property defines address.
Device_Indentifier [read-only]
int . Device identifier, it gets its value from hci_get_route().
FriendlyName
string . Implemented properties from IDevice, this property defines FriendlyName of the device.

Methods

AddressAsString () : string
Returns the devices address as string.
static AddressAsString (monotooth.Model.BluetoothAddress) : string
Returns an address as string.
Inquire () : DevicePool
Inquire devices from the surrounding area, uses a native method to achieve good inquiry.
StringAsAddress (string) : monotooth.Model.BluetoothAddress
Returns a monotooth.Model.BluetoothAddress from a string, using a native function.
static StringAsAddressStatic (string) : monotooth.Model.BluetoothAddress
Returns an address as string.

Member Details

LinuxDevice Constructor

public LinuxDevice ()

The default constructor for linux implementation

Remarks

To be added.

Address Property

public monotooth.Model.BluetoothAddress Address { set; get; }

Implemented properties from IDevice, this property defines address.

Value

To be added.

Remarks

To be added.

AddressAsString Method

public string AddressAsString ()

Returns the devices address as string.

Returns

A string with the native address of the device.

Remarks

To be added.

AddressAsString Method

public static string AddressAsString (monotooth.Model.BluetoothAddress ba)

Returns an address as string.

Parameters

ba
To be added.

Returns

A string from the address.

Remarks

To be added.

Device_Indentifier Property

public int Device_Indentifier { get; }

Device identifier, it gets its value from hci_get_route().

Value

An integer describing the identifier of the device.

Remarks

To be added.

FriendlyName Property

public string FriendlyName { set; get; }

Implemented properties from IDevice, this property defines FriendlyName of the device.

Value

To be added.

Remarks

To be added.

Inquire Method

public DevicePool Inquire ()

Inquire devices from the surrounding area, uses a native method to achieve good inquiry.

Returns

A DevicePool, in which all the devices are added, if any.

Remarks

To be added.

StringAsAddress Method

public monotooth.Model.BluetoothAddress StringAsAddress (string addr)

Returns a monotooth.Model.BluetoothAddress from a string, using a native function.

Parameters

addr
To be added.

Returns

New address.

Remarks

Will return a 0-address, if the address string is not in the 48-bit form.

StringAsAddressStatic Method

public static monotooth.Model.BluetoothAddress StringAsAddressStatic (string addr)

Returns an address as string.

Parameters

addr
string presentation of the address.

Returns

A string from the address.

Remarks

To be added.