接入基本设备

This commit is contained in:
suntao committed 2021-06-04 13:22:59 +08:00
1 parent 2f84f70a5f
commit 7729332f41
62 files changed
+2880 -86

No files matched your search

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assets.Scripts.Devices.Ble.Extension
{
public static class PrimitiveExtensions
{
public static bool IsBitSet(this byte value, int position)
{
return ((uint)value & (uint)(1 << position)) > 0U;
}
public static bool IsBitSet(this ushort value, int position)
{
return ((uint)value & (uint)(1 << position)) > 0U;
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: d49278e3c0c3a8a43bc1145abf67a5c0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: