GithubHelp home page GithubHelp logo

xamarin / monkey.bluetoothle Goto Github PK

View Code? Open in Web Editor NEW
348.0 348.0 224.0 171.73 MB

BluetoothLE abstraction for use with Xamarin projects, including Xamarin.Forms.

License: Apache License 2.0

C# 100.00%

monkey.bluetoothle's Introduction

Monkey.BluetoothLE - Beta

Monkey.BluetoothLE greatly simplifies the task of using BluetoothLE communications in Xamarin apps.

BluetoothLE overview

Beta

Please Note: Monkey.BluetoothLE is still a beta/work in progress and is not officially supported by Xamarin. It's a passion project put together by folks that love C# and Robotics. We're working on the docs as you read this. If you run into any issues, please file them on GitHub. Thanks for trying it out!

Overview

The Mobile Stack is built in C# and runs on iOS, Android, and UWP via the Xamarin platform and contains features for communicating with IoT devices and wearables (such as health monitoring devices) via BluetoothLE.

The following diagram illustrates the topology of the entire stack:

Stack Topography

Mobile Stack

The Mobile stack consists of three different parts:

  • Low-level Bluetooth LE (BLE) API - A cross-platform API (iOS and Android only right now) that supports communicating with BLE devices.
  • Low-Level Wifi API - A cross-platform API (iOS and Android only right now) that supports connecting to WiFi enabled devices. Note that the WiFi API is still in progress.
  • Messaging Framework - A high-level cross-platform protocol for messaging peripherals via WiFi or BLE.
  • Peripheral Libraries - Strongly typed libraries for communicating with various vendor-specific peripherals such as health monitoring devices, smart watches, and the like.

Documentation and Samples

Check out the API Documentation for reference and API browsing.

Samples

Authors

Bryan Costanich, Frank Krueger, Craig Dunn, David Karlas, Oleg Rakhmatulin, Adrian Stevens

monkey.bluetoothle's People

Contributors

adrianstevens avatar bholmes avatar bryancostanich avatar conceptdev avatar dtaylorus avatar hoppersoft avatar jamesmontemagno avatar joelmartinez avatar lobrien avatar murcho avatar olegra avatar patridge avatar praeclarum avatar shanselman avatar timeyoutakeit avatar timurzanagar avatar topgenorth avatar yenthe666 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

monkey.bluetoothle's Issues

BLE Explorer Sample Droid App Crash

Trying to run the BLE Explorer Sample app droid on Samsung Galaxy Tablet GT-P5210

Android API is 17 I am getting this when deploying to the hardware. The app loads on the device then fails and i receive the following in Xamarin Studio.

Java.Lang.RuntimeException: Unable to start activity ComponentInfo{Robotics.Mobile.BtLEExplorer.Droid/md559bf29f023ca5abe850fc269ea256505.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "md5023215d593d44f50438f36261234faca.Adapter" on path: /data/app/Robotics.Mobile.BtLEExplorer.Droid-1.apk
at --- End of managed exception stack trace ---
at java.lang.RuntimeException: Unable to start activity ComponentInfo{Robotics.Mobile.BtLEExplorer.Droid/md559bf29f023ca5abe850fc269ea256505.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "md5023215d593d44f50438f36261234faca.Adapter" on path: /data/app/Robotics.Mobile.BtLEExplorer.Droid-1.apk
at at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2245)
at at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2295)
at at android.app.ActivityThread.access$700(ActivityThread.java:150)
at at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1280)
at at android.os.Handler.dispatchMessage(Handler.java:99)
at at android.os.Looper.loop(Looper.java:176)
at at android.app.ActivityThread.main(ActivityThread.java:5279)
at at java.lang.reflect.Method.invokeNative(Native Method)
at at java.lang.reflect.Method.invoke(Method.java:511)
at at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
at at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
at at dalvik.system.NativeStart.main(Native Method)
at Caused by: java.lang.ClassNotFoundException: Didn't find class "md5023215d593d44f50438f36261234faca.Adapter" on path: /data/app/Robotics.Mobile.BtLEExplorer.Droid-1.apk
at at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
at at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
at at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
at at md559bf29f023ca5abe850fc269ea256505.MainActivity.n_onCreate(Native Method)
at at md559bf29f023ca5abe850fc269ea256505.MainActivity.onCreate(MainActivity.java:28)
at at android.app.Activity.performCreate(Activity.java:5267)
at at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1097)
at at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2209)
at ... 11 more

IOS adapter not set in BLEExplorer demo

I've managed to get it work with Android, with IOS I get a null reference error because in the Appdelegate the adapter is not set (like in android):

App.SetAdapter(new Robotics.Mobile.Core.Bluetooth.LE.Adapter());

how can I fix it?

Support for advertising

Currently the library supports master/scan/central role, but not the slave/advertise/peripheral role.

Android supports this in the 5.0 (Lollipop) preview, so Xamarin should support it too.

Error executing tool - Cannot find the specified file (Robotics.Micro.Core)

I followed the instructions at Setting up your Netduino + Build Environment and everything worked fine. Then I cloned the Repo and opened up the solution in Xamarin studio on my Mac.

I connected my Netduino to the USB and it connected no problem. I set Robotics.Micro.Robotroller.Netduino as the start up project and debugged the project and received this error.

/Library/Frameworks/Mono.framework/Versions/3.10.0/lib/mono/xbuild/Microsoft/.NET Micro Framework/v4.3/CSharp.Targets: Error: Error executing tool '/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Tools/MetaDataProcessor.exe': ApplicationName='/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Tools/MetaDataProcessor.exe', CommandLine='-loadHints mscorlib "/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Assemblies/le/mscorlib.dll" -loadHints Microsoft.SPOT.Hardware "/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Assemblies/le/Microsoft.SPOT.Hardware.dll" -loadHints Microsoft.SPOT.Hardware.PWM "/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Assemblies/le/Microsoft.SPOT.Hardware.PWM.dll" -loadHints Microsoft.SPOT.Hardware.SerialPort "/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Assemblies/le/Microsoft.SPOT.Hardware.SerialPort.dll" -loadHints Microsoft.SPOT.Native "/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Assemblies/le/Microsoft.SPOT.Native.dll" -loadHints Microsoft.SPOT.TinyCore "/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Assemblies/le/Microsoft.SPOT.TinyCore.dll" -endian be -parse "/workspace/Monkey.Robotics/Sample Apps/Robotroller/Robotics.Micro.Core/bin/Release/be/Robotics.Micro.Core.dll" -minimize -compile "/workspace/Monkey.Robotics/Sample Apps/Robotroller/Robotics.Micro.Core/obj/Release/be/Robotics.Micro.Core.pe" ', CurrentDirectory='/workspace/Monkey.Robotics/Sample Apps/Robotroller/Robotics.Micro.Core', Native error= Cannot find the specified file (Robotics.Micro.Core)

I had a look and found it seems to be related to the link to MetaDataProcessor.exe I tried running the command in terminal and received an error due to the spaces:

mono /Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Tools/MetaDataProcessor.exe -loadHints mscorlib "/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Assemblies/le/mscorlib.dll" -loadHints Microsoft.SPOT.Hardware "/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Assemblies/le/Microsoft.SPOT.Hardware.dll" -loadHints Microsoft.SPOT.Hardware.PWM "/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Assemblies/le/Microsoft.SPOT.Hardware.PWM.dll" -loadHints Microsoft.SPOT.Hardware.SerialPort "/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Assemblies/le/Microsoft.SPOT.Hardware.SerialPort.dll" -loadHints Microsoft.SPOT.Native "/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Assemblies/le/Microsoft.SPOT.Native.dll" -loadHints Microsoft.SPOT.TinyCore "/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Assemblies/le/Microsoft.SPOT.TinyCore.dll" -endian be -parse "/workspace/Monkey.Robotics/Sample Apps/Robotroller/Robotics.Micro.Core/bin/Debug/be/Robotics.Micro.Core.dll" -minimize -compile "/workspace/Monkey.Robotics/Sample Apps/Robotroller/Robotics.Micro.Core/obj/Debug/be/Robotics.Micro.Core.pe"

So i tried this:
'/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Tools/MetaDataProcessor.exe' -loadHints mscorlib "/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Assemblies/le/mscorlib.dll" -loadHints Microsoft.SPOT.Hardware "/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Assemblies/le/Microsoft.SPOT.Hardware.dll" -loadHints Microsoft.SPOT.Hardware.PWM "/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Assemblies/le/Microsoft.SPOT.Hardware.PWM.dll" -loadHints Microsoft.SPOT.Hardware.SerialPort "/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Assemblies/le/Microsoft.SPOT.Hardware.SerialPort.dll" -loadHints Microsoft.SPOT.Native "/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Assemblies/le/Microsoft.SPOT.Native.dll" -loadHints Microsoft.SPOT.TinyCore "/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Assemblies/le/Microsoft.SPOT.TinyCore.dll" -endian be -parse "/workspace/Monkey.Robotics/Sample Apps/Robotroller/Robotics.Micro.Core/bin/Debug/be/Robotics.Micro.Core.dll" -minimize -compile "/workspace/Monkey.Robotics/Sample Apps/Robotroller/Robotics.Micro.Core/obj/Debug/be/Robotics.Micro.Core.pe"

It worked fine, I can see the .pe have been created in the obj folder, is there a set-up step or something else that I can do to correct this issue?

[iOS] Characteristic Update weirdness

Concerning Characteristic.ValueUpdated, I encountered two things:

  1. CharacteristicReadEventArgs.Characteristic instance unrelated to the event?
    In my handler for said event, the Characteristic instance passed in the eventargs apparently always is some other of the characteristics I discovered for a device, not the one that was updated.
    Why would that be?

  2. (sender as ICharacteristic).Value == null
    This one is probably due to our custom BLE device, which is the server, having faults in the GATT profile. But maybe it's not or could be handled better*, so I'll mention it.
    While we have transferred data from a small characteristic (5 bytes payload) via notification from BLE server device to the iPhone, a 20-byte payload one does trigger the Updated event, but the Value property of the characteristic instance passed-in as sender is NULL, I guess this should never happen, somewhere something is broken? When successfully receiving the reply on the 5-byte one, that was on the instance passed as 'sender' - so I suppose that's the correct instance to grab in the ValueUpdated handler.

Do you have any idea under which circumstances this could happen, i.e. what could be wrong in a GATT profile that would make this happen (generate ValueUpdated event with NULL for Characteristic.Value )?

Alas, in Peryton-BLE sniffer, I don't see the message which could be the "broken notification", whereas I do see the one which is received correctly.


*' e.g. if faulty messages are received, there could be an event or other mechanism that notifies the application code that a device is sending non-conformant messages

Desktop support

Modern laptops (with OS X, Linux, BlueZ) are BLE-capable, is there any support planned outside of mobile platforms?

-loadhints parameter ignored

Today I wanted to test how well MFMetaDataProcessor.Console.exe is working so I copied:

Xamarin.Robotics\Source\MFMetaDataProcessor\MFMetaDataProcessor\MFMetaDataProcessor.Console\bin\Debug\MFMetaDataProcessor.Console.exe

to

C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Tools\MetaDataProcessor.exe

And started build process in VisualStudio for simple MicroFramework project. Unfortunately it crashed after investigating why it crashed it turns out Mono.Cecil failed to resolve referenced DLLs. This is probably because -loadhints arguments are not parsed.

I also noticed that VisualStudio build process is calling -minimize which is ignored by MFMetaDataProcessor.Console.exe.

Android Device reconnect exception

For each instance of the IDevice on Android side there is an event subscription. This is done using a Lambda. It is preferred to hook this up to an actual delegate for the purpose of event unsubscription. In the constructor of the Device the DeviceConnected event is being subscribed to. In case of disconnect, this event is not cleared. So the next time the same device is discovered and connected to, previous event gets the first notification. The GATT instance in the initial IDevice is null so it throws an exception.

GetServiceAsync is not thread safe

GetServiceAsync crashes with the following exception, it appears that the collection is being modified at the same time that it is trying to enumerate the services. The exception happens when this line is called

var s = device.Services.First (x => x.ID == id);

System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException (ExceptionResource resource) [0x0000b] in :0
at System.Collections.Generic.List1+Enumerator[Robotics.Mobile.Core.Bluetooth.LE.IService].MoveNextRare () [0x00016] in <filename unknown>:0 at System.Collections.Generic.List1+Enumerator[Robotics.Mobile.Core.Bluetooth.LE.IService].MoveNext () [0x00050] in :0
at System.Linq.Enumerable.First[IService](IEnumerable1 source, System.Func2 predicate, Fallback fallback) [0x00026] in :0
at System.Linq.Enumerable.First[IService](IEnumerable1 source, System.Func2 predicate) [0x00007] in :0
at Robotics.Mobile.Core.Bluetooth.LE.Extensions+c__AnonStorey1.<>m__1 (System.Object sender, System.EventArgs e) [0x0002a] in /Users/cprice1/Projects/Monkey.Robotics/Source/Platform Stacks/Robotics.Mobile.Core/Bluetooth/LE/Extensions.cs:78
at --- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000b] in :0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in :0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in :0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in :0
at System.Runtime.CompilerServices.TaskAwaiter`1[Robotics.Mobile.Core.Bluetooth.LE.IService].GetResult () [0x00000] in :0
at IDS.BluetoothAdapter+c__async0.MoveNext () [0x000a4] in /Users/cprice1/Projects/Control/Control/IDS/IDS.BluetoothAdapter.cs:175
at --- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000b] in :0
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.m__1 (System.Object state) [0x00000] in :0

After a few connection established, device stays connected.

Hello

I have disconnection problem. After a few connection it stays connected and do not effect IAdapter. It changed mobile device to another.

For IOS dont have problem but for android, device stays connected after a few reconnection. I can solve issue by disable and enable tablet bluetooth. But its taking too much time, almost 1 minute.

    BleMan = (BluetoothManager) Android.App.Application.Context.GetSystemService(Android.Content.Context.BluetoothService);
    public void DeviceBluetoothOnOff()
    {
        BleMan.Adapter.Disable();
        System.Threading.Thread.Sleep(100);
        BleMan.Adapter.Enable();
        System.Threading.Thread.Sleep(100);
    }

Platform stacks for Windows

Would you be interested in platform stack implementation for Windows (Phone) 8.1?
I have successfully used Monkey.Robotics on Android and iOS for my cross platform mobile app. I have written custom code for Windows. If needed I'd convert my Windows implementation to be Robotics conform.

Android notification not working

Hey guys,
The device I am working with has several characteristics. There is one that we care about and enabling notification on it won't do much in Android. I see that the onDescriptorWrite returns successful but no value is getting updated. I played around the Charactratics and Gattcallback but it seems nothing can make it work. I see that there are other users who have the same issue. I used the sample that you guys posted and notifications do not work as well.

Write/Read command on Characteristic doesn't work on Android

Hello !

I have this device I need to read data from but the constructor created a custom service.
In order to get informations like DeviceID I need to write a command on a characteristic and read the result from another one.

The two characteristics have the same GUID, the differences are the rights (one can only write, the other can read/update).

While I write my command on the WriteOnly, the event "ValueUpdated" of the other characteristic is triggered but the characteristic value is always null.

var characts = service.Characteristics.Where(c => c.ID == new Guid("81eb77bd-89b8-4494-8a09-7f83d986ddc7"));
writeCharact = characts.FirstOrDefault(c => c.CanWrite && !c.CanRead);
readCharact = characts.FirstOrDefault(c => c.CanRead && c.CanUpdate);
if (writeCharact != null)
{
var cmd = ToMeter("&W "); // Just my command it will send "&W 58287"
readCharact.ValueUpdated += async (sender, e) =>
{
var readValue = readCharact.Value;
var c = await readCharact.ReadAsync();
var id = c.Value;
};
readCharact.StartUpdates();
writeCharact.Write(cmd);
}

This code works on iOS but doesn't on android. I can scan the devices, discover the services, discover the characteristics with no problem. Only this scenario doesn't work.

Any ideas?

Disconnect a device

Hey,
how can I disconnect a device from my CoreProject? IDevice doesnt't contain a Disconnect()-Function, so I am calling adapter.DisconnectDevice(device), but that way the _nativeDevice on iOS never gets disposed... I think that causes Problems for me, but I'am not sure.

Is that a bug or do I do wrong?

Thanks!

Error: Tool executable '/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Tools/MetaDataProcessor' could not be found

Hi,
When I try to build the sample code I get the following error.

Building Solution: NetDuinoTest (Debug)

Building: NetDuinoTest (Debug)

Build started 2/19/2015 6:30:11 PM.

Project "/Users/aliozgur/Desktop/MonkeyRobotics/TestMicroStack/NetDuinoTest/NetDuinoTest/NetDuinoTest.csproj" (Build target(s)):

    Target PrepareForBuild:
        Configuration: Debug Platform: AnyCPU

    Target CoreCompile:
        Tool /Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:full /debug+ /optimize- /out:obj/Debug/NetDuinoTest.exe Program.cs Properties/AssemblyInfo.cs /target:exe /define:"DEBUG;MF_FRAMEWORK_VERSION_V4_3" /nostdlib /reference:"/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Assemblies/le/Microsoft.SPOT.Hardware.dll" /reference:"/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Assemblies/le/SecretLabs.NETMF.Hardware.Netduino.dll" /reference:"/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Assemblies/le/SecretLabs.NETMF.Hardware.dll" /reference:"/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Assemblies/le/Microsoft.SPOT.Native.dll" /reference:"/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Assemblies/le/mscorlib.dll" /warn:4

    Target DeployOutputFiles:
        Copying file from '/Users/aliozgur/Desktop/MonkeyRobotics/TestMicroStack/NetDuinoTest/NetDuinoTest/obj/Debug/NetDuinoTest.exe.mdb' to '/Users/aliozgur/Desktop/MonkeyRobotics/TestMicroStack/NetDuinoTest/NetDuinoTest/bin/Debug/NetDuinoTest.exe.mdb'
        Copying file from '/Users/aliozgur/Desktop/MonkeyRobotics/TestMicroStack/NetDuinoTest/NetDuinoTest/obj/Debug/NetDuinoTest.exe' to '/Users/aliozgur/Desktop/MonkeyRobotics/TestMicroStack/NetDuinoTest/NetDuinoTest/bin/Debug/NetDuinoTest.exe'

    Target CopyExeToEndian:
        Copying file from '/Users/aliozgur/Desktop/MonkeyRobotics/TestMicroStack/NetDuinoTest/NetDuinoTest/obj/Debug/NetDuinoTest.exe' to '/Users/aliozgur/Desktop/MonkeyRobotics/TestMicroStack/NetDuinoTest/NetDuinoTest/bin/Debug/le/NetDuinoTest.exe'
        Copying file from '/Users/aliozgur/Desktop/MonkeyRobotics/TestMicroStack/NetDuinoTest/NetDuinoTest/obj/Debug/NetDuinoTest.exe' to '/Users/aliozgur/Desktop/MonkeyRobotics/TestMicroStack/NetDuinoTest/NetDuinoTest/bin/Debug/be/NetDuinoTest.exe'
        Copying file from '/Users/aliozgur/Desktop/MonkeyRobotics/TestMicroStack/NetDuinoTest/NetDuinoTest/obj/Debug/NetDuinoTest.exe.mdb' to '/Users/aliozgur/Desktop/MonkeyRobotics/TestMicroStack/NetDuinoTest/NetDuinoTest/bin/Debug/le/NetDuinoTest.exe.mdb'
        Copying file from '/Users/aliozgur/Desktop/MonkeyRobotics/TestMicroStack/NetDuinoTest/NetDuinoTest/obj/Debug/NetDuinoTest.exe.mdb' to '/Users/aliozgur/Desktop/MonkeyRobotics/TestMicroStack/NetDuinoTest/NetDuinoTest/bin/Debug/be/NetDuinoTest.exe.mdb'

    Target MetaDataProcessorBE:
/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/xbuild/Microsoft/.NET Micro Framework/v4.3/CSharp.Targets: error : Tool executable '/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Tools/MetaDataProcessor' could not be found
    Task "MetaDataProcessor" execution -- FAILED
    Done building target "MetaDataProcessorBE" in project "/Users/aliozgur/Desktop/MonkeyRobotics/TestMicroStack/NetDuinoTest/NetDuinoTest/NetDuinoTest.csproj".-- FAILED

Done building project "/Users/aliozgur/Desktop/MonkeyRobotics/TestMicroStack/NetDuinoTest/NetDuinoTest/NetDuinoTest.csproj".-- FAILED

Build FAILED.
Errors:

/Users/aliozgur/Desktop/MonkeyRobotics/TestMicroStack/NetDuinoTest/NetDuinoTest/NetDuinoTest.csproj (Build) ->
/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/xbuild/Microsoft/.NET Micro Framework/v4.3/CSharp.Targets (MetaDataProcessorBE target) ->

    /Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/xbuild/Microsoft/.NET Micro Framework/v4.3/CSharp.Targets: error : Tool executable '/Library/Frameworks/Microsoft .NET Micro Framework/v4.3/Tools/MetaDataProcessor' could not be found

     0 Warning(s)
     1 Error(s)

---------------------- Done ----------------------

Build: 1 error, 0 warnings

DisconnectDevice crashes app

Hi guys,

First of all, great project! It works pretty good but I'm now having a problem when I want to disconnect my BLE device.

        public DeviceList (IAdapter adapter)
        {
            InitializeComponent ();
            StartUpJobs(adapter);
            MessagingCenter.Subscribe<CharacteristicDetail_TISensor>(this, "DisconnectDeviceAndRefreshDevices", (sender) =>
            {
                //This prints the name of the device I'm connected with.
                DisplayAlert("Props", "Name: " + currentDevice.Name, "ok");
                //Disconnect it
                adapter.DisconnectDevice(currentDevice);
                StartUpJobs(adapter);
            });
        }

The variable currentDevice gets filled in another method:

 void ServiceList(IAdapter adapter, IDevice device)
        {
this.serviceListadapter = adapter;
            this.serviceListdevice = device;
            this.services = new ObservableCollection<IService>();
            //listView.ItemsSource = services;

            if (services.Count == 0)
            {
                Debug.WriteLine("No services, attempting to connect to device");
                // start looking for the device
                adapter.ConnectToDevice(device);
                currentDevice = device;
            }
         }

When the user clicks on a device he goes to a detailpage. When the user then presses the back button I use the MessageCenter to notify my page to do something:
CharacteristicDetail_TISensor.xaml.cs:

        protected override bool OnBackButtonPressed()
        {
            base.OnBackButtonPressed();
            Xamarin.Forms.MessagingCenter.Send<CharacteristicDetail_TISensor>(this, "DisconnectDeviceAndRefreshDevices");
            Navigation.PopModalAsync();
            return false;
        }

When I execute my app it will crash on this line:

adapter.DisconnectDevice(currentDevice);

Error log:

[MonoDroid] UNHANDLED EXCEPTION:
[MonoDroid] System.NullReferenceException: Object reference not set to an instance of an object
[MonoDroid] at Robotics.Mobile.Core.Bluetooth.LE.Device.Disconnect () <0x00018>
[MonoDroid] at Robotics.Mobile.Core.Bluetooth.LE.Adapter.DisconnectDevice (Robotics.Mobile.Core.Bluetooth.LE.IDevice) <0x0004b>
[MonoDroid] at Robotics.Mobile.BtLEExplorer.DeviceList/<>c__DisplayClass0.<.ctor>b__1 (Robotics.Mobile.BtLEExplorer.CharacteristicDetail_TISensor) <0x0007f>
[MonoDroid] at Xamarin.Forms.MessagingCenter/<>c__DisplayClass4`1<Robotics.Mobile.BtLEExplorer.CharacteristicDetail_TISensor>.<Subscribe>b__3 (object,object) <0x00097>
[MonoDroid] at Xamarin.Forms.MessagingCenter.InnerSend (string,System.Type,System.Type,object,object) <0x0013b>
[MonoDroid] at Xamarin.Forms.MessagingCenter.Send<Robotics.Mobile.BtLEExplorer.CharacteristicDetail_TISensor> (Robotics.Mobile.BtLEExplorer.CharacteristicDetail_TISensor,string) <0x00047>
[MonoDroid] at Robotics.Mobile.BtLEExplorer.CharacteristicDetail_TISensor.OnBackButtonPressed () <0x0002b>
[MonoDroid] at Xamarin.Forms.Page.SendBackButtonPressed () <0x0001f>
[MonoDroid] at Xamarin.Forms.NavigationPage.OnBackButtonPressed () <0x0001f>
[MonoDroid] at Xamarin.Forms.Page.SendBackButtonPressed () <0x0001f>
[MonoDroid] at Xamarin.Forms.Platform.Android.Platform.HandleBackPressed (object,System.EventArgs) <0x0005f>
[MonoDroid] at Xamarin.Forms.Platform.Android.FormsApplicationActivity.OnBackPressed () <0x0004b>
[MonoDroid] at Android.App.Activity.n_OnBackPressed (intptr,intptr) <0x00037>
[MonoDroid] at (wrapper dynamic-method) object.9a29b4dc-78cd-4d75-abb3-df0633e117be (intptr,intptr) <0x0003b>
[art] JNI RegisterNativeMethods: attempt to register 0 native methods for md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable
[InputEventSender] Exception dispatching finished signal.
[MessageQueue-JNI] Exception in MessageQueue callback: handleReceiveCallback
[MessageQueue-JNI] md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable: System.NullReferenceException: Object reference not set to an instance of an object
[MessageQueue-JNI] at Robotics.Mobile.Core.Bluetooth.LE.Device.Disconnect () <0x00018>
[MessageQueue-JNI] at Robotics.Mobile.Core.Bluetooth.LE.Adapter.DisconnectDevice (Robotics.Mobile.Core.Bluetooth.LE.IDevice) <0x0004b>
[MessageQueue-JNI] at Robotics.Mobile.BtLEExplorer.DeviceList/<>c__DisplayClass0.<.ctor>b__1 (Robotics.Mobile.BtLEExplorer.CharacteristicDetail_TISensor) <0x0007f>
[MessageQueue-JNI] at Xamarin.Forms.MessagingCenter/<>c__DisplayClass4`1<Robotics.Mobile.BtLEExplorer.CharacteristicDetail_TISensor>.<Subscribe>b__3 (object,object) <0x00097>
[MessageQueue-JNI] at Xamarin.Forms.MessagingCenter.InnerSend (string,System.Type,System.Type,object,object) <0x0013b>
[MessageQueue-JNI] at Xamarin.Forms.MessagingCenter.Send<Robotics.Mobile.BtLEExplorer.CharacteristicDetail_TISensor> (Robotics.Mobile.BtLEExplorer.CharacteristicDetail_TISensor,string) <0x00047>
[MessageQueue-JNI] at Robotics.Mobile.BtLEExplorer.CharacteristicDetail_TISensor.OnBackButtonPressed () <0x0002b>
[MessageQueue-JNI] at Xamarin.Forms.Page.SendBackButtonPressed () <0x0001f>
[MessageQueue-JNI] at Xamarin.Forms.NavigationPage.OnBackButtonPressed () <0x0001f>
[MessageQueue-JNI] at Xamarin.Forms.Page.SendBackButtonPressed () <0x0001f>
[MessageQueue-JNI] at Xamarin.Forms.Platform.Android.Platform.HandleBackPressed (object,System.EventArgs) <0x0005f>
[MessageQueue-JNI] at Xamarin.Forms.Platform.Android.FormsApplicationActivity.OnBackPressed () <0x0004b>
[MessageQueue-JNI] at Android.App.Activity.n_OnBackPressed (intptr,intptr) <0x00037>
[MessageQueue-JNI] at (wrapper dynamic-method) object.9a29b4dc-78cd-4d75-abb3-df0633e117be (intptr,intptr) <0x0003b>
[MessageQueue-JNI] 
[MessageQueue-JNI]  at md5530bd51e982e6e7b340b73e88efe666e.FormsApplicationActivity.n_onBackPressed(Native Method)
[MessageQueue-JNI]  at md5530bd51e982e6e7b340b73e88efe666e.FormsApplicationActivity.onBackPressed(FormsApplicationActivity.java:94)
[MessageQueue-JNI]  at android.app.Activity.onKeyUp(Activity.java:2456)
[MessageQueue-JNI]  at android.view.KeyEvent.dispatch(KeyEvent.java:2643)
[MessageQueue-JNI]  at android.app.Activity.dispatchKeyEvent(Activity.java:2707)
[MessageQueue-JNI]  at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:2276)
[MessageQueue-JNI]  at android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent(ViewRootImpl.java:4020)
[MessageQueue-JNI]  at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:3982)
[MessageQueue-JNI]  at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3544)
[MessageQueue-JNI]  at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3597)
[MessageQueue-JNI]  at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3563)
[MessageQueue-JNI]  at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3680)
[MessageQueue-JNI]  at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3571)
[MessageQueue-JNI]  at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3737)
[MessageQueue-JNI]  at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3544)
[MessageQueue-JNI]  at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3597)
[MessageQueue-JNI]  at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3563)
[MessageQueue-JNI]  at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3571)
[MessageQueue-JNI]  at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3544)
[MessageQueue-JNI]  at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3597)
[MessageQueue-JNI]  at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3563)
[MessageQueue-JNI]  at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3713)
[MessageQueue-JNI]  at android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent(ViewRootImpl.java:3874)
[MessageQueue-JNI]  at android.view.inputmethod.InputMethodManager$PendingEvent.run(InputMethodManager.java:2208)
[MessageQueue-JNI]  at android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback(InputMethodManager.java:1849)
[MessageQueue-JNI]  at android.view.inputmethod.InputMethodManager.finishedInputEvent(InputMethodManager.java:1840)
[MessageQueue-JNI]  at android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished(InputMethodManager.java:2185)
[MessageQueue-JNI]  at android.view.InputEventSender.dispatchInputEventFinished(InputEventSender.java:141)
[MessageQueue-JNI]  at android.os.MessageQueue.nativePollOnce(Native Method)
[MessageQueue-JNI]  at android.os.MessageQueue.next(MessageQueue.java:143)
[MessageQueue-JNI]  at android.os.Looper.loop(Looper.java:122)
[MessageQueue-JNI]  at android.app.ActivityThread.main(ActivityThread.java:5254)
[MessageQueue-JNI]  at 
[AndroidRuntime] Shutting down VM
[AndroidRuntime] FATAL EXCEPTION: main
[AndroidRuntime] Process: Robotics.Mobile.BtLEExplorer.Droid, PID: 18171
[AndroidRuntime] java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
[AndroidRuntime]    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
[AndroidRuntime] Caused by: java.lang.reflect.InvocationTargetException
[AndroidRuntime]    at java.lang.reflect.Method.invoke(Native Method)
[AndroidRuntime]    at java.lang.reflect.Method.invoke(Method.java:372)
[AndroidRuntime]    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
[AndroidRuntime]    ... 1 more
[AndroidRuntime] Caused by: md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable: System.NullReferenceException: Object reference not set to an instance of an object
[AndroidRuntime] at Robotics.Mobile.Core.Bluetooth.LE.Device.Disconnect () <0x00018>
[AndroidRuntime] at Robotics.Mobile.Core.Bluetooth.LE.Adapter.DisconnectDevice (Robotics.Mobile.Core.Bluetooth.LE.IDevice) <0x0004b>
[AndroidRuntime] at Robotics.Mobile.BtLEExplorer.DeviceList/<>c__DisplayClass0.<.ctor>b__1 (Robotics.Mobile.BtLEExplorer.CharacteristicDetail_TISensor) <0x0007f>
[AndroidRuntime] at Xamarin.Forms.MessagingCenter/<>c__DisplayClass4`1<Robotics.Mobile.BtLEExplorer.CharacteristicDetail_TISensor>.<Subscribe>b__3 (object,object) <0x00097>
...

Assembly reference(s) not found issues (VS) and could not load project errors (XS).

I cant actually get all the references in the monkie.robotics to resolve (i thought it was just resharper at first) but Xamarin studio doesn't recognize the microframework stuff.

in Xamarin studio when opening the RoboController.sln i get the following:
"could not load project '....\source\platform stacks\robotics.micro.core\robotics.micro.core.csproj with unkown item type '{b69e3092-b931-442c-abe7-7e7b65f2a37f}'" and "could not load project 'robotics.micro.robotroller\robotics.micro.robotroller.netduino.csproj with unkown item type '{b69e3092-b931-442c-abe7-7e7b65f2a37f}'"

below is the error log when opening the project in Visual Studio:
Severity Code Description Project File Line
Error CS0246 The type or namespace name 'Connection' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 134
Error CS0246 The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core\Bluetooth\LE\KnownCharacteristics.cs 4
Error CS0246 The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core\Bluetooth\LE\KnownDescriptors.cs 4
Error CS0246 The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core\Bluetooth\LE\KnownServices.cs 5
Error CS0246 The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core\Bluetooth\LE\KnownServices.cs 6
Error CS0246 The type or namespace name 'CoreBluetooth' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\BluetoothLE\BluetoothLEManager.cs 6
Error CS0246 The type or namespace name 'CoreFoundation' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\BluetoothLE\BluetoothLEManager.cs 7
Error CS0246 The type or namespace name 'CBDiscoveredPeripheralEventArgs' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\BluetoothLE\BluetoothLEManager.cs 23
Error CS0246 The type or namespace name 'CBPeripheralEventArgs' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\BluetoothLE\BluetoothLEManager.cs 24
Error CS0246 The type or namespace name 'CBPeripheralErrorEventArgs' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\BluetoothLE\BluetoothLEManager.cs 25
Error CS0246 The type or namespace name 'CBPeripheral' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\BluetoothLE\BluetoothLEManager.cs 49
Error CS0246 The type or namespace name 'CBPeripheral' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\BluetoothLE\BluetoothLEManager.cs 53
Error CS0246 The type or namespace name 'CBPeripheral' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\BluetoothLE\BluetoothLEManager.cs 59
Error CS0246 The type or namespace name 'CBPeripheral' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\BluetoothLE\BluetoothLEManager.cs 63
Error CS0246 The type or namespace name 'CBCentralManager' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\BluetoothLE\BluetoothLEManager.cs 65
Error CS0246 The type or namespace name 'CBCentralManager' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\BluetoothLE\BluetoothLEManager.cs 69
Error CS0246 The type or namespace name 'CBPeripheral' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\BluetoothLE\BluetoothLEManager.cs 166
Error CS0246 The type or namespace name 'CoreBluetooth' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Adapter.cs 8
Error CS0246 The type or namespace name 'CoreFoundation' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Adapter.cs 9
Error CS0246 The type or namespace name 'CBCentralManager' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Adapter.cs 27
Error CS0246 The type or namespace name 'CBCentralManager' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Adapter.cs 29
Error CS0246 The type or namespace name 'CBCentralManagerState' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Adapter.cs 124
Error CS0246 The type or namespace name 'CBPeripheral' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Adapter.cs 198
Error CS0246 The type or namespace name 'CoreBluetooth' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Characteristic.cs 7
Error CS0246 The type or namespace name 'Foundation' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Characteristic.cs 8
Error CS0246 The type or namespace name 'CBCharacteristic' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Characteristic.cs 21
Error CS0246 The type or namespace name 'CBPeripheral' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Characteristic.cs 22
Error CS0246 The type or namespace name 'CBCharacteristic' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Characteristic.cs 24
Error CS0246 The type or namespace name 'CBPeripheral' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Characteristic.cs 24
Error CS0246 The type or namespace name 'CBCharacteristicEventArgs' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Characteristic.cs 165
Error CS0246 The type or namespace name 'CBCharacteristicEventArgs' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Characteristic.cs 173
Error CS0246 The type or namespace name 'CBUUID' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Characteristic.cs 180
Error CS0246 The type or namespace name 'CoreBluetooth' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Descriptor.cs 4
Error CS0246 The type or namespace name 'CBDescriptor' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Descriptor.cs 17
Error CS0246 The type or namespace name 'CBDescriptor' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Descriptor.cs 33
Error CS0246 The type or namespace name 'CoreBluetooth' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Device.cs 5
Error CS0246 The type or namespace name 'Foundation' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Device.cs 6
Error CS0246 The type or namespace name 'CBPeripheral' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Device.cs 18
Error CS0246 The type or namespace name 'CBPeripheral' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Device.cs 20
Error CS0246 The type or namespace name 'CBService' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Device.cs 147
Error CS0246 The type or namespace name 'CoreBluetooth' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Service.cs 5
Error CS0246 The type or namespace name 'CBService' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Service.cs 16
Error CS0246 The type or namespace name 'CBPeripheral' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Service.cs 17
Error CS0246 The type or namespace name 'CBService' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Service.cs 19
Error CS0246 The type or namespace name 'CBPeripheral' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Service.cs 19
Error CS0246 The type or namespace name 'CBUUID' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Service.cs 85
Error CS0234 The type or namespace name 'Messaging' does not exist in the namespace 'Robotics' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestBLEMini.cs 7
Error CS0234 The type or namespace name 'Devices' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestBLEMini.cs 8
Error CS0234 The type or namespace name 'Generators' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestBLEMini.cs 9
Error CS0234 The type or namespace name 'Motors' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestBLEMini.cs 10
Error CS0234 The type or namespace name 'Sensors' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestBLEMini.cs 11
Error CS0234 The type or namespace name 'SpecializedBlocks' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestBLEMini.cs 12
Error CS0234 The type or namespace name 'Devices' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestButton.cs 3
Error CS0234 The type or namespace name 'Sensors' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestButton.cs 6
Error CS0234 The type or namespace name 'Messaging' does not exist in the namespace 'Robotics' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestRCCar.cs 7
Error CS0234 The type or namespace name 'Devices' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestRCCar.cs 8
Error CS0234 The type or namespace name 'Generators' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestRCCar.cs 9
Error CS0234 The type or namespace name 'Motors' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestRCCar.cs 10
Error CS0234 The type or namespace name 'Sensors' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestRCCar.cs 11
Error CS0234 The type or namespace name 'SpecializedBlocks' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestRCCar.cs 12
Error CS0234 The type or namespace name 'Devices' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestSensors.cs 5
Error CS0234 The type or namespace name 'Sensors' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestSensors.cs 6
Error CS0234 The type or namespace name 'Sensors' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestSensors.cs 7
Error CS0234 The type or namespace name 'Sensors' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestSensors.cs 8
Error CS0234 The type or namespace name 'Sensors' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestSensors.cs 9
Error CS0234 The type or namespace name 'SpecializedBlocks' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestSensors.cs 10
Error CS0234 The type or namespace name 'Devices' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 5
Error CS0234 The type or namespace name 'Generators' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 6
Error CS0234 The type or namespace name 'Motors' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 7
Error CS0234 The type or namespace name 'Sensors' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 8
Error CS0234 The type or namespace name 'SpecializedBlocks' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 9
Error CS0234 The type or namespace name 'Motors' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobotShield.cs 3
Error CS0234 The type or namespace name 'Generators' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobotShield.cs 5
Error CS0234 The type or namespace name 'Devices' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TwoWheeledRobot.cs 5
Error CS0234 The type or namespace name 'Generators' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TwoWheeledRobot.cs 6
Error CS0234 The type or namespace name 'Motors' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TwoWheeledRobot.cs 7
Error CS0234 The type or namespace name 'Sensors' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TwoWheeledRobot.cs 8
Error CS0234 The type or namespace name 'SpecializedBlocks' does not exist in the namespace 'Robotics.Micro' (are you missing an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TwoWheeledRobot.cs 9
Error CS0246 The type or namespace name 'Block' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TwoWheeledRobot.cs 13
Error CS0246 The type or namespace name 'IDCMotor' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TwoWheeledRobot.cs 15
Error CS0246 The type or namespace name 'IDCMotor' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TwoWheeledRobot.cs 16
Error CS0246 The type or namespace name 'InputPort' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TwoWheeledRobot.cs 21
Error CS0246 The type or namespace name 'InputPort' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TwoWheeledRobot.cs 26
Error CS0246 The type or namespace name 'InputPort' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TwoWheeledRobot.cs 32
Error CS0246 The type or namespace name 'IDCMotor' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TwoWheeledRobot.cs 34
Error CS0246 The type or namespace name 'IDCMotor' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TwoWheeledRobot.cs 34
Error CS0103 The name 'JValue' does not exist in the current context Robotics.Mobile.Core C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core\Bluetooth\LE\KnownCharacteristics.cs 38
Error CS0246 The type or namespace name 'JProperty' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core\Bluetooth\LE\KnownCharacteristics.cs 40
Error CS0246 The type or namespace name 'JProperty' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core\Bluetooth\LE\KnownCharacteristics.cs 40
Error CS0103 The name 'JValue' does not exist in the current context Robotics.Mobile.Core C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core\Bluetooth\LE\KnownDescriptors.cs 38
Error CS0246 The type or namespace name 'JProperty' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core\Bluetooth\LE\KnownDescriptors.cs 40
Error CS0246 The type or namespace name 'JProperty' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core\Bluetooth\LE\KnownDescriptors.cs 40
Error CS0103 The name 'JValue' does not exist in the current context Robotics.Mobile.Core C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core\Bluetooth\LE\KnownServices.cs 42
Error CS0246 The type or namespace name 'JProperty' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core\Bluetooth\LE\KnownServices.cs 44
Error CS0246 The type or namespace name 'JProperty' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core\Bluetooth\LE\KnownServices.cs 44
Error CS0246 The type or namespace name 'CBPeripheral' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\BluetoothLE\BluetoothLEManager.cs 53
Error CS0246 The type or namespace name 'CBPeripheral' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\BluetoothLE\BluetoothLEManager.cs 63
Error CS0246 The type or namespace name 'CBCentralManager' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\BluetoothLE\BluetoothLEManager.cs 83
Error CS0103 The name 'DispatchQueue' does not exist in the current context Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\BluetoothLE\BluetoothLEManager.cs 83
Error CS0246 The type or namespace name 'CBDiscoveredPeripheralEventArgs' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\BluetoothLE\BluetoothLEManager.cs 84
Error CS0246 The type or namespace name 'CBPeripheralEventArgs' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\BluetoothLE\BluetoothLEManager.cs 95
Error CS0246 The type or namespace name 'CBPeripheralErrorEventArgs' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\BluetoothLE\BluetoothLEManager.cs 108
Error CS0246 The type or namespace name 'CBPeripheral' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\BluetoothLE\BluetoothLEManager.cs 133
Error CS0246 The type or namespace name 'CBCentralManager' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Adapter.cs 62
Error CS0103 The name 'DispatchQueue' does not exist in the current context Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Adapter.cs 62
Error CS0246 The type or namespace name 'CBDiscoveredPeripheralEventArgs' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Adapter.cs 64
Error CS0246 The type or namespace name 'CBPeripheralEventArgs' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Adapter.cs 79
Error CS0246 The type or namespace name 'CBPeripheralErrorEventArgs' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Adapter.cs 91
Error CS0246 The type or namespace name 'CBPeripheralErrorEventArgs' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Adapter.cs 107
Error CS0103 The name 'CBCentralManagerState' does not exist in the current context Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Adapter.cs 138
Error CS0246 The type or namespace name 'CBUUID' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Adapter.cs 142
Error CS0103 The name 'CBUUID' does not exist in the current context Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Adapter.cs 144
Error CS0246 The type or namespace name 'CBUUID' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Adapter.cs 145
Error CS0246 The type or namespace name 'CBPeripheral' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Adapter.cs 179
Error CS0246 The type or namespace name 'PeripheralConnectionOptions' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Adapter.cs 179
Error CS0246 The type or namespace name 'CBPeripheral' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Adapter.cs 194
Error CS0246 The type or namespace name 'CBCharacteristicEventArgs' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Characteristic.cs 99
Error CS0246 The type or namespace name 'CBCharacteristicEventArgs' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Characteristic.cs 100
Error CS0103 The name 'NSData' does not exist in the current context Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Characteristic.cs 119
Error CS0246 The type or namespace name 'CBCharacteristic' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Characteristic.cs 120
Error CS0103 The name 'CBCharacteristicWriteType' does not exist in the current context Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Characteristic.cs 123
Error CS0103 The name 'CBCharacteristicWriteType' does not exist in the current context Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Characteristic.cs 124
Error CS0246 The type or namespace name 'NSErrorEventArgs' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Device.cs 24
Error CS0246 The type or namespace name 'CBServiceEventArgs' could not be found (are you missing a using directive or an assembly reference?) Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Device.cs 40
Error CS0103 The name 'CBPeripheralState' does not exist in the current context Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Device.cs 136
Error CS0103 The name 'CBPeripheralState' does not exist in the current context Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Device.cs 138
Error CS0103 The name 'CBPeripheralState' does not exist in the current context Robotics.Mobile.Core.iOS C:\Monkey.Robotics-master\Source\Platform Stacks\Robotics.Mobile.Core.iOS\Bluetooth\LE\Device.cs 140
Error CS0246 The type or namespace name 'ControlServer' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestBLEMini.cs 25
Error CS0246 The type or namespace name 'DigitalInputPin' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestButton.cs 18
Error CS0246 The type or namespace name 'DigitalOutputPin' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestButton.cs 19
Error CS0246 The type or namespace name 'DigitalInputPin' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestButton.cs 39
Error CS0246 The type or namespace name 'PushButton' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestButton.cs 40
Error CS0246 The type or namespace name 'DigitalOutputPin' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestButton.cs 41
Error CS0246 The type or namespace name 'ControlServer' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestRCCar.cs 27
Error CS0103 The name 'HBridgeMotor' does not exist in the current context Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestRCCar.cs 40
Error CS0103 The name 'HBridgeMotor' does not exist in the current context Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestRCCar.cs 41
Error CS0246 The type or namespace name 'DebugScope' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestSensors.cs 18
Error CS0246 The type or namespace name 'Memsic2125' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestSensors.cs 21
Error CS0246 The type or namespace name 'DigitalInputPin' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestSensors.cs 22
Error CS0246 The type or namespace name 'DigitalInputPin' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestSensors.cs 23
Error CS0246 The type or namespace name 'Grove3AxisDigitalCompass' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestSensors.cs 27
Error CS0246 The type or namespace name 'AnalogInputPin' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestSensors.cs 32
Error CS0246 The type or namespace name 'SharpGP2D12' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestSensors.cs 35
Error CS0246 The type or namespace name 'Thermistor' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestSensors.cs 39
Error CS0246 The type or namespace name 'CelsiusToFahrenheit' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestSensors.cs 43
Error CS0246 The type or namespace name 'Bmp085' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestSensors.cs 48
Error CS0246 The type or namespace name 'CelsiusToFahrenheit' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestSensors.cs 51
Error CS0246 The type or namespace name 'DebugScope' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 17
Error CS0103 The name 'HBridgeMotor' does not exist in the current context Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 22
Error CS0103 The name 'HBridgeMotor' does not exist in the current context Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 25
Error CS0246 The type or namespace name 'SharpGP2D12' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 31
Error CS0246 The type or namespace name 'SharpGP2D12' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 32
Error CS0246 The type or namespace name 'AnalogInputPin' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 33
Error CS0246 The type or namespace name 'AnalogInputPin' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 34
Error CS0246 The type or namespace name 'TransformFunction' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 47
Error CS0246 The type or namespace name 'Transform' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 58
Error CS0246 The type or namespace name 'Transform' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 62
Error CS0103 The name 'HBridgeMotor' does not exist in the current context Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 72
Error CS0103 The name 'HBridgeMotor' does not exist in the current context Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 73
Error CS0246 The type or namespace name 'SineWave' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 77
Error CS0246 The type or namespace name 'SineWave' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 78
Error CS0103 The name 'HBridgeMotor' does not exist in the current context Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 89
Error CS0103 The name 'HBridgeMotor' does not exist in the current context Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 90
Error CS0246 The type or namespace name 'DebugScope' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 96
Error CS0246 The type or namespace name 'AnalogInputPin' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 97
Error CS0246 The type or namespace name 'SharpGP2D12' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 99
Error CS0246 The type or namespace name 'Transform' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 107
Error CS0246 The type or namespace name 'Switch' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 125
Error CS0246 The type or namespace name 'Connection' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 127
Error CS0246 The type or namespace name 'Connection' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 128
Error CS0246 The type or namespace name 'SineWave' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 128
Error CS0246 The type or namespace name 'Connection' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 129
Error CS0246 The type or namespace name 'Constant' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 129
Error CS0246 The type or namespace name 'Connection' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 132
Error CS0246 The type or namespace name 'Constant' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 132
Error CS0246 The type or namespace name 'Connection' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 133
Error CS0246 The type or namespace name 'Constant' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 133
Error CS0246 The type or namespace name 'Constant' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 134
Error CS0246 The type or namespace name 'Transform' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobot.cs 137
Error CS0246 The type or namespace name 'AdafruitMotorShield' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobotShield.cs 13
Error CS0246 The type or namespace name 'SineWave' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobotShield.cs 16
Error CS0246 The type or namespace name 'SineWave' could not be found (are you missing a using directive or an assembly reference?) Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TestTwoWheeledRobotShield.cs 17
Error CS0103 The name 'AddInput' does not exist in the current context Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TwoWheeledRobot.cs 39
Error CS0103 The name 'Units' does not exist in the current context Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TwoWheeledRobot.cs 39
Error CS0103 The name 'AddInput' does not exist in the current context Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TwoWheeledRobot.cs 40
Error CS0103 The name 'Units' does not exist in the current context Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TwoWheeledRobot.cs 40
Error CS0103 The name 'AddInput' does not exist in the current context Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TwoWheeledRobot.cs 41
Error CS0103 The name 'Units' does not exist in the current context Robotics.Micro.Robotroller.Netduino C:\Monkey.Robotics-master\Sample Apps\Robotroller\Robotics.Micro.Robotroller\TwoWheeledRobot.cs 41

Not finding any device

When I click to scan in the sample app nothing appears in the listview and timeout.

I have bluetooth devices arround.
sorry for my bad English

Am i missing something??

I am following all the steps provided but where does the iPhone come into place? I do not see anywhere to create the app to control the car.

Consider spinning out the Ble / wearable functionality

I almost missed it!

I'm looking for bluetooth and wearable capabilities and Id missed this package twice before I decided to take a closer look at bluetooth. This specific functionality is valuable by itself and I know others will skip by something that appears only for robotics.

Question on how to reference Monkey.Robotics from PCL project

Looking through Robotics.Mobile.BtLEExplorer.Core, it references the Mobile stack via project reference. If I want to use the Mobile stack for my Core project, what's a good way to reference it?

Would I add a git submodule to pull down all of Monkey.Robotics and add project reference just like BLE Explorer? Or is there a cleaner NuGet approach?

Cheers,
Steven

Write to Characteristics (Droid) throws object reference not set to an instance exception.

Hi,

Iam trying to write a byte[] value to a specific characteristics using the method

characteristics.Write(command); // command = byte[2] / [0] = 0x30, [1] = 0

This ends with the following output:

12-11 13:48:38.273 I/mono-stdout(17978): OnServicesDiscovered: Success
12-11 13:48:38.333 D/Mono (17978): Assembly Ref addref Robotics.Mobile.Core[0x79339798] -> System.Threading.Tasks[0x7b57b940]: 3
12-11 13:48:42.327 D/BluetoothGatt(17978): writeCharacteristic() - uuid: 6bed05a0-1bab-11e3-82ea-0002a5d5c51b
.....Write
12-11 13:48:42.327 I/mono-stdout(17978): .....Write
12-11 13:48:42.377 D/BluetoothGatt(17978): onCharacteristicWrite() - Device=D0:5F:B8:52:24:56 UUID=6aed05a0-1bab-11e4-82ea-0002a7d5c51b Status=0
[0:]
Object reference not set to an instance of an object
[0:] Object reference not set to an instance of an object
12-11 13:48:44.849 I/mono-stdout(17978): Object reference not set to an instance of an object

According to your code this method is not tested under Droid but the "...Write" debug output is at the end of the method. Do I miss something?

Robotroller.iOS Stream failed error while connecting to BLE

Hi,

I am working my way through the Xamarin's Monkey Robotics Robotroller example.
I followed the tutorial steps, deployed the Netduino (v3) code now I'm getting following error

Adapter: Waiting for state: PoweredOn
adapter.StartScanningForDevices()
Adapter: Starting a scan for devices.
Scan timeout
Connecting to BT05...
CCC: c1b4827c-c473-3f3f-3136-47520fc4c02b Connected
Trying to read...
LEStream: Looking for service 713d0000-503e-4c75-ba94-3148f18d941e...
ControlClient.GetVariablesAsync

Stream failed
System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: Sequence contains no matching element
at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] predicate) [0x00011] in <9f6d2ffd578943fd8c55693018c29a85>:0
at Robotics.Mobile.Core.Bluetooth.LE.Extensions+<>c__DisplayClass3_0.b__1 (System.Object sender, System.EventArgs e) [0x00014] in /Users/..../Monkey.Robotics-master/Source/Platform Stacks/Robotics.Mobile.Core/Bluetooth/LE/Extensions.cs:78
--- End of stack trace from previous location where exception was thrown ---

Seems to me like the app is able to discover the BLE device but failed to establish a connection with it.

ServiceId = new Guid ("713D0000-503E-4C75-BA94-3148F18D941E") is not being found on the BLE device, which has "Device Information" and "TI SensorTag Smart Keys" services.

Have I made a silly wiring/right device mistake?

Lots of conflicts with Xamarin Forms Labs

I use Xamarin Forms Labs and there are few conflicts between the binaries.

FWIW It might make more sense for you guys to help those guys out with this code. Your code and samples fill a void, especially in the bluetooth section.

Can't build Micro Framework projects in Xamarin Studio

Xamarin Studio 5.9.431, Microframework Add-in v0.3.9

If you try to build a micro framework project, you get the following err:

Building: Robotics.Micro.Core (Debug)

Build started 4/30/2015 3:44:59 PM.


Project "/Users/bryancostanich/xam_code/Monkey.Robotics/Source/Platform Stacks/Robotics.Micro.Core/Robotics.Micro.Core.csproj" (Build target(s)):

Target PrepareForBuild:
    Configuration: Debug Platform: AnyCPU

Target GetFrameworkPaths:

/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/mono/xbuild/Microsoft/.NET Micro Framework/v4.3/CSharp.Targets: error : No access to the given key at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, System.String basedir, Boolean is_volatile) [0x00000] in :0
at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, System.String basedir) [0x00000] in :0
at Microsoft.Win32.KeyHandler.Lookup (Microsoft.Win32.RegistryKey rkey, Boolean createNonExisting) [0x00000] in :0
at Microsoft.Win32.UnixRegistryApi.OpenSubKey (Microsoft.Win32.RegistryKey rkey, System.String keyname, Boolean writable) [0x00000] in :0
at Microsoft.Win32.RegistryKey.OpenSubKey (System.String name, Boolean writable) [0x00000] in :0
at Microsoft.Win32.RegistryKey.OpenSubKey (System.String name) [0x00000] in :0
at (wrapper remoting-invoke-with-check) Microsoft.Win32.RegistryKey:OpenSubKey (string)
at Microsoft.SPOT.Tasks.GetDeviceFrameworkPaths.OpenDeviceFrameworkKey (Microsoft.Win32.RegistryKey topLevelKey, System.String runtimeVersion, System.String subkey, Boolean fWow64) [0x00000] in :0
at Microsoft.SPOT.Tasks.GetDeviceFrameworkPaths.OpenDeviceFrameworkKey (Microsoft.Win32.RegistryKey topLevelKey, System.String runtimeVersion, System.String subkey) [0x00000] in :0
at Microsoft.SPOT.Tasks.GetDeviceFrameworkPaths.GetDeviceFrameworkValue (Microsoft.Win32.RegistryKey topLevelKey, System.String runtimeVersion, System.String subkey, System.String valueName) [0x00000] in :0
at Microsoft.SPOT.Tasks.GetDeviceFrameworkPaths.GetDeviceFrameworkValue (System.String runtimeVersion, System.String subkey, System.String valueName) [0x00000] in :0
at Microsoft.SPOT.Tasks.GetDeviceFrameworkPaths.Execute () [0x00000] in :0
Task "GetDeviceFrameworkPaths" execution -- FAILED
Done building target "GetFrameworkPaths" in project "/Users/bryancostanich/xam_code/Monkey.Robotics/Source/Platform Stacks/Robotics.Micro.Core/Robotics.Micro.Core.csproj".-- FAILED

Done building project "/Users/bryancostanich/xam_code/Monkey.Robotics/Source/Platform Stacks/Robotics.Micro.Core/Robotics.Micro.Core.csproj".-- FAILED

Build FAILED.
Errors:

/Users/bryancostanich/xam_code/Monkey.Robotics/Source/Platform Stacks/Robotics.Micro.Core/Robotics.Micro.Core.csproj (Build) ->
/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/mono/xbuild/Microsoft/.NET Micro Framework/v4.3/CSharp.Targets (GetFrameworkPaths target) ->

/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/mono/xbuild/Microsoft/.NET Micro Framework/v4.3/CSharp.Targets: error : No access to the given key  at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, System.String basedir, Boolean is_volatile) [0x00000] in <filename unknown>:0 

at Microsoft.Win32.KeyHandler..ctor (Microsoft.Win32.RegistryKey rkey, System.String basedir) [0x00000] in :0
at Microsoft.Win32.KeyHandler.Lookup (Microsoft.Win32.RegistryKey rkey, Boolean createNonExisting) [0x00000] in :0
at Microsoft.Win32.UnixRegistryApi.OpenSubKey (Microsoft.Win32.RegistryKey rkey, System.String keyname, Boolean writable) [0x00000] in :0
at Microsoft.Win32.RegistryKey.OpenSubKey (System.String name, Boolean writable) [0x00000] in :0
at Microsoft.Win32.RegistryKey.OpenSubKey (System.String name) [0x00000] in :0
at (wrapper remoting-invoke-with-check) Microsoft.Win32.RegistryKey:OpenSubKey (string)
at Microsoft.SPOT.Tasks.GetDeviceFrameworkPaths.OpenDeviceFrameworkKey (Microsoft.Win32.RegistryKey topLevelKey, System.String runtimeVersion, System.String subkey, Boolean fWow64) [0x00000] in :0
at Microsoft.SPOT.Tasks.GetDeviceFrameworkPaths.OpenDeviceFrameworkKey (Microsoft.Win32.RegistryKey topLevelKey, System.String runtimeVersion, System.String subkey) [0x00000] in :0
at Microsoft.SPOT.Tasks.GetDeviceFrameworkPaths.GetDeviceFrameworkValue (Microsoft.Win32.RegistryKey topLevelKey, System.String runtimeVersion, System.String subkey, System.String valueName) [0x00000] in :0
at Microsoft.SPOT.Tasks.GetDeviceFrameworkPaths.GetDeviceFrameworkValue (System.String runtimeVersion, System.String subkey, System.String valueName) [0x00000] in :0
at Microsoft.SPOT.Tasks.GetDeviceFrameworkPaths.Execute () [0x00000] in :0

 0 Warning(s)
 1 Error(s)

Time Elapsed 00:00:00.0442380

---------------------- Done ----------------------

Build: 1 error, 0 warnings

Robotroller Solution

I do not understand how the Robotroller Solution is brought into Xamarin? First time working with it.
Are the files already built into Xamarin and need to be opened up in the solution or do the code files on this page need to be loaded in? Thanks!

Issue Manually Configuring IService

I want to connect to a device using the standard Heart Rate profile. So I would like to skip the standard enumeration step and force define that service. What format is the service defined in? I have the following line:
var service = e.SelectedItem as IService;, which I would like to change to var service = "HeartRateService" as IService; - but what would "HeartRateService" actually be?
It seems to be the same as the UUID - 0x180D, if this is the case, what is the difference? Similarly, conversion from int to Robotics.Mobile.Core.Bluetooth.LE.IService throws a compiler error.

Notifications issue on Android

I noticed that notifications under Android are not working correctly (under iOS are working correctly).

In the following code, I write a value inside a characteristic (c) that enable the notifications.
if (c.CanWrite)
{
c.Write(new byte[] { 0x01 });
AddLog("Notif enabled");
valueUpdatedHandler = (s, ea) =>
{
Device.BeginInvokeOnMainThread(() =>
{
AddLog("NOTIFICATION");
});
};
c.ValueUpdated += valueUpdatedHandler;
c.StartUpdates();
}

Once enabled the notifications, every time i write a value inside a second characteristic, I should receive a notification from the first (c).
Under iOS all is working with no problem but under Android i don't receive notification.

The strange thing is that on Android, with the notifications enabled, when I read a value from the first characteristic (c.ReadAsync();), the method return the correct value and I also receive a notification!

If you need other informations, I'll provide it

Thank you very much

Marco

Stream failed

Hi,
iOS app detects BLE Mini but when I go to device details I get "Stream Failed" error with "System.InvalidOperationException: Operation is not valid due to the current state of the object" error message.

Anyone has this issue and any advice for resolution?

IOS Bluetooth LE Descriptors list is never initialized

In the Robotics.Mobile.Core.iOS->Bluetooth->LE->Descriptor.cs line71

The this._descriptors is never initialized. It looks like the check should be if (this._descriptors == null) instead of if (this._descriptors != null). This is the only place the new is called

    public IList<IDescriptor> Descriptors {
        get {
            // if we haven't converted them to our xplat objects
            if (this._descriptors != null) {
                this._descriptors = new List<IDescriptor> ();
                // convert the internal list of them to the xplat ones
                foreach (var item in this._nativeCharacteristic.Descriptors) {
                    this._descriptors.Add (new Descriptor (item));
                }
            }
            return this._descriptors;
        }
    }

How to confirm TestBLEMini?

Hello,

I would like to run the TestBLEMini but am not sure how to test it as written.

If I use COM1, I connect the Tx and Rx of the mini to D0 and D1 of the netduino.

What do the referenced analog pins connect to? What is the expectation of this test?

        var a0 = new AnalogInput (AnalogChannels.ANALOG_PIN_A0, -1);
        var a1 = new AnalogInput (AnalogChannels.ANALOG_PIN_A1, -1);

        var uptimeVar = server.RegisterVariable ("Uptime (s)", 0);

        server.RegisterVariable ("Speed", 0, v => { });
        server.RegisterVariable ("Turn", 0, v => { });

        var a0Var = server.RegisterVariable ("Analog 0", 0);
        var a1Var = server.RegisterVariable ("Analog 1", 0);

        var magicCmd = server.RegisterCommand ("Magic", () => {
            Debug.Print ("MAAAGIIICC");
            return 42;
        });

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.