Skip to content
This repository was archived by the owner on Jun 19, 2024. It is now read-only.
This repository was archived by the owner on Jun 19, 2024. It is now read-only.

Robotroller.iOS Stream failed error while connecting to BLE #68

Description

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions