Quantcast
Viewing all articles
Browse latest Browse all 76418

Format of BLE Services in Monkey Robotics

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 76418

Trending Articles