BlueLibs documentation

RemoteDevice Members

RemoteDevice overview

Public Static (Shared) Methods

Equals (inherited from Object) Determines whether the specified Object instances are considered equal.
ReferenceEquals (inherited from Object) Determines whether the specified Object instances are the same instance.

Public Instance Fields

OnDeviceAuthRequest This event is fired when device requires authorization. The call back method must return string password.

Public Instance Properties

Address String address of the device
DeviceInfo Device details property
Name String name for this device

Public Instance Methods

ConnectToService This methods establishes physical connection to the device
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetServiceList This method returns services exported by the device.
GetServices This method only reads service UUIDs
GetType (inherited from Object) Gets the Type of the current instance.
IsAuthorized returns true if the device is already authorized
IsConnected returns true if the device is already connected
ToString returns the name of the device

Protected Instance Constructors

RemoteDevice Constructor Initializes a new instance of the RemoteDevice class.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

RemoteDevice Class | BlueLibs.Comm Namespace