ble/gatt/gatt_android.go

10 lines
196 B
Go
Raw Normal View History

package gatt
func (s Service) IsHRM() bool {
return len(s.UUID) >= 8 && s.UUID[:8] == "0000180d"
}
2019-11-27 10:44:37 -05:00
func (c Characteristic) IsHRV() bool {
return len(c.UUID) >= 0 && c.UUID[:8] == "00002a37"
}