Stop the microphone test's recording
POST/api/peripherals/microphones/test/stop
Ends the test named by token on the selected board at once; a token that is not the current test's (a late Stop for an earlier test) stops nothing and returns null. It ends the recording even when arecord has stopped producing audio; what was recorded becomes the result, read through GET as usual. A test stopped before 0.1 s was recorded ends with stopped_early. Returns the test, or null when there is none for the selected board. It never stops another application.
Request
Responses
- 200
- 400
- 409
The test, or null.
The board or a command on it could not be used. code identifies the failure and hint names the recovery step.
The board or a command on it could not be used. code identifies the failure and hint names the recovery step.