Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghost opened this issue Nov 21, 2017 · 0 comments
Open

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

ghost opened this issue Nov 21, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Nov 21, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants