apache / mynewt-nimble

Apache mynewt
https://mynewt.apache.org/
Apache License 2.0
691 stars 394 forks source link

npl/linux: Callout gets stuck in active state #1771

Closed rojer closed 4 weeks ago

rojer commented 5 months ago

ble_npl_callout.c_active is not reset after callout is executed, so only the first callout fires and subsequent are not scheduled at all.

ble_npl_callout_timer_cb() should set c->c_active = false here.

rojer commented 1 month ago

this has now been tested extensively and appears to work, so i've put up https://github.com/apache/mynewt-nimble/pull/1856 for review