diff --git a/Droid/packages.config b/Droid/packages.config
index b1dd9d2..b71e0d6 100644
--- a/Droid/packages.config
+++ b/Droid/packages.config
@@ -9,7 +9,7 @@
-
+
@@ -36,11 +36,11 @@
-
-
-
-
-
+
+
+
+
+
diff --git a/Droid/qController.Droid.csproj b/Droid/qController.Droid.csproj
index 2bef6d0..7245597 100644
--- a/Droid/qController.Droid.csproj
+++ b/Droid/qController.Droid.csproj
@@ -79,22 +79,22 @@
..\packages\Acr.Settings.9.0.1\lib\monoandroid80\Acr.Settings.dll
- ..\packages\Splat.7.0.1\lib\monoandroid81\Splat.dll
+ ..\packages\Splat.7.0.8\lib\monoandroid81\Splat.dll
- ..\packages\System.Reactive.4.1.3\lib\netstandard2.0\System.Reactive.dll
+ ..\packages\System.Reactive.4.1.5\lib\netstandard2.0\System.Reactive.dll
- ..\packages\System.Reactive.Core.4.1.3\lib\netstandard2.0\System.Reactive.Core.dll
+ ..\packages\System.Reactive.Core.4.1.5\lib\netstandard2.0\System.Reactive.Core.dll
- ..\packages\System.Reactive.Interfaces.4.1.3\lib\netstandard2.0\System.Reactive.Interfaces.dll
+ ..\packages\System.Reactive.Interfaces.4.1.5\lib\netstandard2.0\System.Reactive.Interfaces.dll
- ..\packages\System.Reactive.Linq.4.1.3\lib\netstandard2.0\System.Reactive.Linq.dll
+ ..\packages\System.Reactive.Linq.4.1.5\lib\netstandard2.0\System.Reactive.Linq.dll
- ..\packages\System.Reactive.PlatformServices.4.1.3\lib\netstandard2.0\System.Reactive.PlatformServices.dll
+ ..\packages\System.Reactive.PlatformServices.4.1.5\lib\netstandard2.0\System.Reactive.PlatformServices.dll
..\packages\Xamarin.Android.Support.Annotations.28.0.0.1\lib\monoandroid81\Xamarin.Android.Support.Annotations.dll
diff --git a/iOS/packages.config b/iOS/packages.config
index 77fdaf9..447967c 100644
--- a/iOS/packages.config
+++ b/iOS/packages.config
@@ -30,11 +30,11 @@
-
-
-
-
-
+
+
+
+
+
diff --git a/iOS/qController.iOS.csproj b/iOS/qController.iOS.csproj
index d8c6ec9..6ea7d34 100644
--- a/iOS/qController.iOS.csproj
+++ b/iOS/qController.iOS.csproj
@@ -108,19 +108,19 @@
..\packages\Acr.Settings.9.0.0\lib\xamarinios10\Acr.Settings.dll
- ..\packages\System.Reactive.4.1.3\lib\netstandard2.0\System.Reactive.dll
+ ..\packages\System.Reactive.4.1.5\lib\netstandard2.0\System.Reactive.dll
- ..\packages\System.Reactive.Core.4.1.3\lib\netstandard2.0\System.Reactive.Core.dll
+ ..\packages\System.Reactive.Core.4.1.5\lib\netstandard2.0\System.Reactive.Core.dll
- ..\packages\System.Reactive.Interfaces.4.1.3\lib\netstandard2.0\System.Reactive.Interfaces.dll
+ ..\packages\System.Reactive.Interfaces.4.1.5\lib\netstandard2.0\System.Reactive.Interfaces.dll
- ..\packages\System.Reactive.Linq.4.1.3\lib\netstandard2.0\System.Reactive.Linq.dll
+ ..\packages\System.Reactive.Linq.4.1.5\lib\netstandard2.0\System.Reactive.Linq.dll
- ..\packages\System.Reactive.PlatformServices.4.1.3\lib\netstandard2.0\System.Reactive.PlatformServices.dll
+ ..\packages\System.Reactive.PlatformServices.4.1.5\lib\netstandard2.0\System.Reactive.PlatformServices.dll
..\packages\Xamarin.Forms.3.6.0.293080\lib\Xamarin.iOS10\Xamarin.Forms.Core.dll
diff --git a/qController.Standard/Classes/Communication/QReceiver.cs b/qController.Standard/Classes/Communication/QReceiver.cs
index 8fe781a..5e7847b 100644
--- a/qController.Standard/Classes/Communication/QReceiver.cs
+++ b/qController.Standard/Classes/Communication/QReceiver.cs
@@ -19,6 +19,7 @@ namespace qController
public QReceiver(int port)
{
Port = port;
+ udpListener = new UDPListener(port);
thread = new Thread(new ThreadStart(ListenLoop));
thread.Start();
@@ -26,6 +27,7 @@ namespace qController
public void ListenLoop()
{
+ /*
HandleOscPacket callback = delegate (OscPacket packet)
{
var messageReceived = (OscMessage)packet;
@@ -36,6 +38,17 @@ namespace qController
};
udpListener = new UDPListener(Port, callback);
+ */
+ while (true)
+ {
+ OscMessage messageReceived = null;
+ while(messageReceived == null)
+ {
+ messageReceived = (OscMessage)udpListener.Receive();
+ Thread.Sleep(1);
+ }
+ OnUpdateMessageReceived(messageReceived);
+ }
}