Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Format of BLE Services in Monkey Robotics

$
0
0

I am working on the monkey.robotics component for my xamarin.forms BLE app. 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.


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>