Skip to content

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,
},
}

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",
},
},
}

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",
},
},
}