接入蓝牙基本结构
This commit is contained in:
1 parent
84e8b50bbf
commit
2f84f70a5f
152 files changed
+6426
-56
No files matched your search
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Assets.Scripts.Ble.Win.CPPBridge
|
||||
{
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
internal struct GattCharacteristics
|
||||
{
|
||||
// Token: 0x0400135C RID: 4956
|
||||
[MarshalAs(UnmanagedType.U1)]
|
||||
public byte Count;
|
||||
|
||||
// Token: 0x0400135D RID: 4957
|
||||
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 255)]
|
||||
public GattCharacteristic[] Chars;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user