Class BleCommand

Inheritance
BleCommand
Namespace: MOSAIC.Components.Manager.BLE
Assembly: MOSAIC.dll
Syntax
public class BleCommand

Constructors

BleCommand(string, string, byte[]?)

Constructor for BleCommand.

Declaration
public BleCommand(string service, string characteristic, byte[]? cmd = null)
Parameters
Type Name Description
string service

The service associated with the BLE command.

string characteristic

The characteristic associated with the BLE command.

byte[] cmd

The command data as a byte array. It is an optional parameter and can be null.

Properties

Characteristic

BLE characteristic UUID string.

Declaration
public string Characteristic { get; set; }
Property Value
Type Description
string

Cmd

BLE command as byte array.

Declaration
public byte[] Cmd { get; set; }
Property Value
Type Description
byte[]

Service

BLE service UUID string.

Declaration
public string Service { get; set; }
Property Value
Type Description
string

Search documentation

Start typing to search the documentation.