Format of BLE Services in Monkey Robotics

GeorgeEdwardsGeorgeEdwards GBMember ✭✭
edited September 2015 in Xamarin.Forms

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.


Sign In or Register to comment.