XBee C# library API reference

Show / Hide Table of Contents

Class XBee

Helper class used to create a bluetooth connection interface.

Inheritance
System.Object
XBee
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: XBeeLibrary.Xamarin
Assembly: XBeeLibrary.Xamarin.dll
Syntax
public class XBee

Methods

CreateConnectionInterface(IDevice)

Retrieves a bluetooth connection interface for the provided device.

Declaration
public static IConnectionInterface CreateConnectionInterface(IDevice device)
Parameters
Type Name Description
Plugin.BLE.Abstractions.Contracts.IDevice device

Bluetooth device to connect to.

Returns
Type Description
IConnectionInterface

The connection interface of the Bluetooth device.

See Also
IConnectionInterface
Plugin.BLE.Abstractions.Contracts.IDevice

CreateConnectionInterface(String)

Retrieves a bluetooth connection interface for the device with the provided GUID.

Declaration
public static IConnectionInterface CreateConnectionInterface(string deviceAddress)
Parameters
Type Name Description
System.String deviceAddress

The address of the Bluetooth device. It must follow the format 00112233AABB or 00:11:22:33:AA:BB.

Returns
Type Description
IConnectionInterface

The connection interface of the Bluetooth device.

Exceptions
Type Condition
System.ArgumentException

If deviceAddress does not follow the format 00112233AABB or 00:11:22:33:AA:BB.

See Also
IConnectionInterface
Product page More documentation Official site About Digi Contact us Support
©2019 Digi International Inc. All rights reserved.
Digi International Inc.