Partial android implementation, including Enable(), readyToScan(),
scan(), stopScan(), connectPeripheral(), cancelConnection(), and DiscoverServices().
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package gatt
|
||||
|
||||
func (s Service) IsHRM() bool {
|
||||
return len(s.UUID) >= 8 && s.UUID[:8] == "0000180d"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package gatt
|
||||
|
||||
func (s Service) IsHRM() bool {
|
||||
return s.UUID == "180D"
|
||||
}
|
||||
Reference in New Issue
Block a user