bluetooth icon indicating copy to clipboard operation
bluetooth copied to clipboard

macOS support multiple services and notification

Open nobonobo opened this issue 4 years ago • 0 comments

target: macOS

The following code clears cache for characteristics that device-object has. https://github.com/tinygo-org/bluetooth/blob/release/gattc_darwin.go#L91

If you call service.DiscoverCharacteristics() twice or more for multiple services, the previously built cache will be cleared. Characteristics notification implementation depends on this cache. Previous characteristics notification does not work.

#56

nobonobo avatar Mar 09 '21 04:03 nobonobo