![Sierra Wireless AirPrime WP75 Series At Command Reference Download Page 236](http://html1.mh-extra.com/html/sierra-wireless/airprime-wp75-series/airprime-wp75-series_at-command-reference_1266754236.webp)
AirPrime WP8548 / WP75xx / WP76xx / WP77xx AT Command Reference
236
Proprietary and Confidential - Contents subject to change
4118047
Command reference
Table 12-2: Audio Command Details
Command
Description
!AVAUDIO
Play/record audio file (.wav format)
Play an audio file (locally or for both sides of a voice call), or record to an audio file (from the
microphone only, or both sides of a voice call).
Each <operation> type is started and stopped independently. For example, to simultaneously
play a file for both ends of a voice call and record that call to another file:
1.
Start recording to a file and start playing an existing audio file for both ends of the call:
AT!AVAUDIO=4,1,/usr/recording1.wav
AT!AVAUDIO=3,1,/data/outgoing1.wav
2.
When ready to stop playing the outgoing file and recording the call:
AT!AVAUDIO=3,0
AT!AVAUDIO=4,0
Note: Only .wav format audio files are supported.
Supporting devices:
Audio-capable WPx5xx/WP76xx devices
Password required:
No
Usage:
•
Execution:
AT!AVAUDIO=<operation>, <switch>[, <file_path>]
Response:
OK
Purpose:
Start or stop the playback or recording of an audio file.
Note: <file_path> is required when <switch> = 1, and optional when
<switch> = 0.
•
Query List:
AT!AVAUDIO=?
Purpose:
Display valid execution format and parameter values.
Parameters:
<operation> (Play or record)
•
1=Audio play. Play the specified .wav file (<filepath>) locally. If a voice call is in
progress, the file is not played for the far end of the call.
•
2=Audio record. Record the local microphone input to the specified .wav file
(<filepath>). If a voice call is in progress, the far end of the call is not recorded.
•
3=WWAN play. Play the specified .wav file (<filepath>) for both ends of a voice call.
•
4=WWAN record. Record both ends of a voice call to the specified .wav file
(<filepath>).
<switch> (Stop or start playing/recording)
•
0=Stop
•
1=Start
<filepath> (Absolute pathname of file to play/record)
•
ASCII string. Note that the string must not use quotation marks.
•
Example: /usr/avfile.wav
Note: Relative pathnames are not supported.
•
Required when <switch> = 1 (starting to play or record a file), and optional when
<switch> = 0.