接入蓝牙基本结构
This commit is contained in:
1 parent
84e8b50bbf
commit
2f84f70a5f
152 files changed
+6426
-56
No files matched your search
@@ -0,0 +1,20 @@
|
||||
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 GattService
|
||||
{
|
||||
// Token: 0x0400135E RID: 4958
|
||||
public GattUuid Uuid;
|
||||
|
||||
// Token: 0x0400135F RID: 4959
|
||||
[MarshalAs(UnmanagedType.U2)]
|
||||
public ushort Handle;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user