Open
Description
I've been having this issue (no need to read) with a "hanging" scan, meaning it never terminates.
I've been poking around the source, and was puzzled about something (I cannot directly relate this to my issue though):
- Only one scan can be handled at a time.
- The callback handler is assigned (== blocked) at line 894
- If I'm not mistaking, the scan is started at line 944
- The callback handler is released at line 369 when the scan is "culminated"
- Between assigning the callback handler (2) (and with that, blocking all later scans), and starting the scan (3), there are three
return
statements which would cause the scan to never be started at all (and thus, never free'ing the callback handler (4) allowing later scans)
Forgive me if I've missed something, embedded programming can be hard to keep an overview of for me 😬.