From d0143de1ab74bc95dd7560a6e0fe3f615e589335 Mon Sep 17 00:00:00 2001 From: Laszlo Deak Date: Thu, 21 Oct 2021 23:05:01 +0200 Subject: [PATCH] On master: Issue 13 Some lights are not found Changing initial identifier value from 1 to 2 to match with the documentation of the Lifx LAN API FrameHeader's source field. (ref: https://lan.developer.lifx.com/docs/packet-contents#frame-header) --- src/LifxNet/LifxClient.Discovery.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LifxNet/LifxClient.Discovery.cs b/src/LifxNet/LifxClient.Discovery.cs index 3f5b402..1c324c1 100644 --- a/src/LifxNet/LifxClient.Discovery.cs +++ b/src/LifxNet/LifxClient.Discovery.cs @@ -10,7 +10,7 @@ namespace LifxNet { public partial class LifxClient : IDisposable { - private static uint identifier = 1; + private static uint identifier = 2; private static object identifierLock = new object(); private UInt32 discoverSourceID; private CancellationTokenSource? _DiscoverCancellationSource;