BleDevice Class

HIDSharp
Represents a Bluetooth Low Energy device.
Inheritance Hierarchy

SystemObject
  HidSharpDevice
    HidSharp.ExperimentalBleDevice

Namespace:  HidSharp.Experimental
Assembly:  HidSharp (in HidSharp.dll) Version: 2.6.3
Syntax

public abstract class BleDevice : Device

The BleDevice type exposes the following members.

Properties

  NameDescription
Public propertyDevicePath
The operating system's name for the device. If you have multiple devices with the same Vendor ID, Product ID, Serial Number, etc., this may be useful for differentiating them.
(Inherited from Device.)
Top
Methods

  NameDescription
Public methodGetFileSystemName
Returns the file system path of the device. This can be used to check permissions on Linux hidraw, for instance.
(Inherited from Device.)
Public methodGetFriendlyName
Returns a name appropriate for display.
(Inherited from Device.)
Public methodGetManufacturer
Returns the manufacturer name.
(Inherited from Device.)
Public methodGetManufacturer(GetStringFlags)
Returns the manufacturer name.
(Inherited from Device.)
Public methodGetProductName
Returns the product name.
(Inherited from Device.)
Public methodGetProductName(GetStringFlags)
Returns the product name.
(Inherited from Device.)
Public methodGetSerialNumber
Returns the device serial number.
(Inherited from Device.)
Public methodGetSerialNumber(GetStringFlags)
Returns the device serial number.
(Inherited from Device.)
Public methodGetServiceOrNull
Public methodGetServices
Public methodHasImplementationDetail (Overrides DeviceHasImplementationDetail(Guid).)
Public methodHasService
Public methodOpen
Public methodOpen(BleService)
Public methodOpen(OpenConfiguration)
Public methodOpen(BleService, OpenConfiguration)
Public methodToString (Overrides ObjectToString.)
Public methodTryGetService
Public methodTryOpen(DeviceStream)
Tries to make a connection to the device.
(Inherited from Device.)
Public methodTryOpen(OpenConfiguration, DeviceStream) (Inherited from Device.)
Public methodTryOpen(OpenConfiguration, DeviceStream, Exception) (Inherited from Device.)
Top
See Also

Reference