-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSwitchBotUtil.cs
More file actions
31 lines (26 loc) · 812 Bytes
/
SwitchBotUtil.cs
File metadata and controls
31 lines (26 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System;
namespace SwitchBotUtil;
class SwitchBot
{
public const ushort companyId = 0x0969;
}
class SBDeviceTypes
{
public const byte Bot = 0x48;
public const byte Meter = 0x54;
public const byte Humidifier = 0x65;
public const byte Curtain = 0x63;
public const byte MotionSensor = 0x73;
public const byte ContactSensor = 0x64;
public const byte ColorBulb = 0x75;
public const byte LEDStripLight = 0x72;
public const byte SmartLock = 0x6F;
public const byte PlugMini = 0x67;
public const byte MeterPlus = 0x69;
public const byte OutdoorMeter = 0x77;
public const byte MeterPro = 0x34; // 温度湿度計Pro
}
class Uuids
{
public static readonly Guid meter = new Guid("cba20d00-224d-11e6-9fb8-0002a5d5c51b");
}