페이지 선택
Generic selectors
Exact matches only
Search in title
Search in content
Search in pages
AT Commands For AUDIO

  

Command Description
AT+CREC Record wav audio file
AT+CRECAMR Record amr audio file
AT+CCMXPLAYWAV Play wav audio file
AT+CCMXSTOPWAV Stop playing wav audio file
AT+CCMXPLAY Play audio file
AT+CCMXSTOP Stop playing audio file

 

 

 

 

AT+CREC     Record Wav Audio File

 

R) AT+CREC?

+ CREC: <status>

 

OK

W) AT+CREC=<record_path>,<filename>

+CREC:1

OK

or

ERROR

W) AT+CREC=<mode>

+CREC:0

OK

+RECSTATE: crec stop

Parameter Saving Mode
Maximum Response Time
Reference
 

 

<status>

Indicate whether the recording is going on.

0 – free, not recording

1 – busy, recording

<record_path>

Source of recorded sound

1 – local path

2  – remote path

3  – local and remote sound mixing

<filename> The location and name of wav file.
<mode>

Stop recording wav audio file

0 –stop

 

NOTE

<filename>,The file should be put into the “E:/”.

Maximum filename length is 240 bytes. (including “”)

<record_path>,Only during the call, <record_path> can be set to 2 or 3

 

Example

AT+CREC=1,”e:/rec.wav”

+CREC:1

 

OK

AT+CREC=0

+CREC:0

 

OK

 

+RECSTATE: crec stop

 

 

 

 

AT+CRECAMR     Record Amr Audio File

 
R) AT+CRECAMR?

+ CRECAMR: <status>

 

OK

W) AT+CRECAMR=<record_path>,<filename>

+CRECAMR:<status>

OK

or

ERROR

W) AT+CRECAMR=<mode>

+CRECAMR:<status>

OK

+RECSTATE: crecamr stop

Parameter Saving Mode
Maximum Response Time
Reference

 

 

<status>

Indicate whether the recording is going on.

0 – free, not recording

1 – busy, recording

<record_path>

Source of recorded sound

1 – local path

2 – remote path

<filename> The location and name of amr file.
<mode>

Stop recording wav audio file

0 –stop

 

NOTE

<filename>,The file should be put into the “E:/”.

Maximum filename length is 240 bytes. (including “”)

<record_path>,Only during the call, <record_path> can be set to 2

 

Example

AT+CRECAMR=1,”e:/rec.amr”

+CRECAMR:1

 

OK

AT+CRECAMR=0

+CRECAMR:0

 

OK

 

+RECSTATE: crecamr stop

 

 

 

 

AT+CCMXPLAYWAV     Play Wav Audio File

 

R) AT+CCMXPLAYWAV?

+CCMXPLAYWAV:<play_path>,<repeat>

 

OK

W) AT+CCMXPLAYWAV=<filename>,<play_path>[,<repeat>]

+WAVSTATE: wav play

 

OK

 

+WAVSTATE: wav play stop

or

ERROR

Parameter Saving Mode
Maximum Response Time
Reference

 

 

<play_path>

Play to local or to remote.

1 – remote

2 – local

<repeat>

How much times can be played.

Default    0

<filename> The location and name of wav file.

 

NOTE

<filename>,The wav audio file should be located at “E:/”.

Maximum filename length is 240 bytes. (including “”)

<play_path>,Only during the call, <play_path> can be set to 1 successfully.Only 8k 16bit wav audio can be played to remote successful at present.

<repeat>,This parameter is reserved, not used at present, you can input this parameter or not. (0–255)

 

Example

AT+CCMXPLAYWAV=?

+CCMXPLAYWAV: (1-2),(0-255)

 

OK

AT+CCMXPLAYWAV=”E:/rec.wav”,2

+WAVSTATE: wav play

 

OK

 

+WAVSTATE: wav play stop

 

 

 

 

AT+CCMXSTOPWAV     Stop Playing Wav Audio File

 

R) AT+CCMXSTOPWAV=? OK
W) AT+CCMXSTOPWAV

+CCMXSTOPWAV:

OK

+WAVSTATE: wav play stop

Parameter Saving Mode
Maximum Response Time
Reference

 

 

 

 

Example

AT+CCMXSTOPWAV

+CCMXSTOPWAV:

 

OK

 

+WAayVSTATE: wav pl stop

 

 

 

 

AT+CCMXPLAY     Play Audio File

 

R) AT+CCMXPLAY?

+CCMXPLAY:<play_path>,<repeat>

 

OK

W) AT+CCMXPLAY=<filename> [,<play_path>][,<repeat>]

+CCMXPLAY:

OK

+AUDIOSTATE: audio play

+AUDIOSTATE: audio play stop

or

ERROR

or

+CCMXPLAY:

OK

+AUDIOSTATE: audio play

+AUDIOSTATE: audio play error

Parameter Saving Mode
Maximum Response Time
Reference

 

 

<play_path>

Play to local or to remote. Default 0

0 – local

1 – remote

<repeat>

How much times can be played.

Default 0

<filename> The location and name of wav file.

 

NOTE

<filename>,The wav audio file should be located at “E:/”.

Maximum filename length is 240 bytes. (including “”).

Support audio file format mp3, aac, amr, wav.

<play_path>,Only during the call, <play_path> can be set to 1 successfully.Only 8k 16bit wav audio and amr audio can be played to remote at present.

<repeat>,This parameter is reserved, not used at present, you can input this parameter or not. (0–255)

 

Example

AT+CCMXPLAY=?

+CCMXPLAY: (0-1),(0-255)

 

OK

AT+CCMXPLAY=”E:/rec.mp3”,0,0

+CCMXPLAY:

 

OK

 

+AUDIOSTATE: audio play

 

+AUDIOSTATE: audio play stop

 

 

 

 

AT+CCMXSTOP      Stop Playing Audio File

 

R) AT+CCMXSTOP=? OK
W) AT+CCMXSTOP

+CCMXSTOP:

OK

+AUDIOSTATE: audio play stop

Parameter Saving Mode
Maximum Response Time
Reference

 

 

 

 

Example

AT+CCMXSTOP

+CCMXSTOP:

 

OK

 

+AUDIOSTATE: audio play stop

 

Adsense

EMW3070

Viewed Page List