ble/gatt/gatt_android.go
Greg 86e724cc8c Partial android implementation, including Enable(), readyToScan(),
scan(), stopScan(), connectPeripheral(), cancelConnection(), and
DiscoverServices().
2019-11-22 16:15:02 -05:00

6 lines
101 B
Go

package gatt
func (s Service) IsHRM() bool {
return len(s.UUID) >= 8 && s.UUID[:8] == "0000180d"
}