Audio Results Uplink Data
After an audio playback or recording request (devcfg.audioout.ref
or devcfg.audioin.ref), the device sends the result of the
operation.
Key paths: devdata.audioout, devdata.audioin
To request current values:
{ "devdata": { "audioout": null, "audioin": null, },}audioout.ref_result
Section titled “audioout.ref_result”Result of the last playback request.
Configuration variables
- Type: string (enum)
- Sent on: Playback completion
| Value | Meaning |
|---|---|
PLAY |
Playback in progress |
OK |
Playback completed successfully |
FAIL |
Playback failed |
FAILS |
Playback failed (short/corrupted file) |
{ "devdata": { "audioout": { "ref_result": "OK", }, },}audioin.ref_result
Section titled “audioin.ref_result”Result of the last recording request.
Configuration variables
- Type: string (enum)
- Sent on: Recording completion
| Value | Meaning |
|---|---|
RUN |
Recording in progress |
OK |
Recording completed successfully |
FAIL |
Recording failed |
FAILS |
Recording failed (disk full, etc.) |
{ "devdata": { "audioin": { "ref_result": "OK", }, },}Related
Section titled “Related”- Audio Config (Downlink) — playback/recording settings
- App Actions —
beepaction