solum
solum copied to clipboard
Shutting down the ultrasound probe through the power button doesn't always invoke the Power down callback
Describe the bug
After following the correct order of operations to receive ultrasound frames, pressing and holding the power button doesn't always invoke the power down callback (CusPowerDownFn
) defined in solumInit
.
To Reproduce Steps to reproduce the behavior:
- After invoking
solumInit
, connect to the probe (solumConnect
), set a certificate, and load an application. - Unfreeze the probe and scan for a few seconds
- Wait until the probe freezes, manually freeze the stream, or wait for the frame rate to drop
- Hold the power button on the probe until the probe shuts down
- Power Down callback may or may not be called
Notes
- I can't tell if the behavior is related to the frame rate, but it doesn't happen when the probe is scanning at a high frame rate.
- During my testing, sometimes
solum
will automatically reconnect to the probe when the probe comes back online on the same network. This happens only if the power-down callback hasn't been invoked (see #44 )
Environment:
- SDK variant: Windows
- Development platform: Visual Studio
- SDK version: v11.0.0
- Firmware: v11.0.0-525+bf1bbd364b