10 lines
196 B
Go
10 lines
196 B
Go
package gatt
|
|
|
|
func (s Service) IsHRM() bool {
|
|
return len(s.UUID) >= 8 && s.UUID[:8] == "0000180d"
|
|
}
|
|
|
|
func (c Characteristic) IsHRV() bool {
|
|
return len(c.UUID) >= 0 && c.UUID[:8] == "00002a37"
|
|
}
|