noble/bleno

Only first indication received when running on Linux

Aperta

#242 aperta il 1 nov 2016

 (1 commento) (1 reazione) (0 assegnatari)JavaScript (465 fork)batch import
help wanted

Metriche repository

Star
 (2083 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

I have a Characteristic with an indicate property. When a central subscribes to it and I start sending data using the updateValueCallback property, I only get one indication back. Subsequent indications are not received. This only happens on Linux, Raspbian in my case, not on macOS (10.11.6).

Example Project: https://github.com/mattsson/bleno-onindicate-bug.git

There's also a small Xcode Project in there which will build an iOS app that connects to the peripheral and logs out received data.

Debug logs: https://gist.github.com/mattsson/e15f62789661bf7b6e1941be1308d4ba hcidump: https://gist.github.com/mattsson/2da888db72b502fdc36f2b2897777d13

Guida contributor