paypal / gatt

Gatt is a Go package for building Bluetooth Low Energy peripherals
BSD 3-Clause "New" or "Revised" License
1.13k stars 284 forks source link

Error while running examples/server.go #29

Closed wujiang closed 8 years ago

wujiang commented 9 years ago

Please let me know if you need more information. Thank you.

roylee17 commented 9 years ago

@wujiang Thanks for reporting, could you help to confirm the fix works for you as well?

wujiang commented 9 years ago

@roylee17, thank you for responding so fast.

The original problem is gone. But when I used LightBlue to interrogate it, I got this error: img_1815

It looks like the d.subscribers in line https://github.com/paypal/gatt/blob/a1218a6773043bc92bb2581a9686e03ac373017f/device_darwin.go#L311 is an empty map. Not sure if this is an issue.

roylee17 commented 8 years ago

haven't seen it for a long time. I'm closing this issue now, but feel free to reopen it if any one see this again.