接入蓝牙基本结构

This commit is contained in:
suntao committed 2021-06-04 13:22:59 +08:00
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 GattServices
{
// Token: 0x04001360 RID: 4960
[MarshalAs(UnmanagedType.U1)]
public byte Count;
// Token: 0x04001361 RID: 4961
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 255)]
public GattService[] Services;
}
}