21 lines
400 B
C#
21 lines
400 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Assets.Scripts.Devices.Ble.Interfaces
|
|
{
|
|
public interface ICharacteristic
|
|
{
|
|
Guid Uuid { get; }
|
|
Guid ServiceUuid { get; }
|
|
|
|
bool IsOptional { get; }
|
|
|
|
void HandleAttributeReceived(byte[] data);
|
|
|
|
void SetUnavailable();
|
|
}
|
|
}
|