Neo_M660 AT Command Set
Copyright © Neoway Technology Co., Ltd
85
17.2 Starting/Stopping Recording: +RECF
Description
To start or stop recording
Format
AT+RECF=<val><CR>
Parameter
<val>:
1: Start recording
0: Stop recording
Return
Value
When the recording buffer is almost full,
+REC:BUFFER FULL
is displayed every 5
blocks form in buffer. Run the
AT+RECR
command at this time.
In the non-buffer mode, each block of data is sent to the UART when the block is
completed during recording.
+Recpack:0,2030,(recording data)
will be returned.
Example
AT+RECF=1
OK
Start recording
AT+RECF=0
OK
Stop recording
Remarks
The recording rate is 5.15 Kbit/s and each block is completed in 6 seconds.
The recording format is
amr
. All recording data is put together and then added the amr
header:
#!AMR\n(2321414D525C6E)
17.3 Reading Recording Data: +RECR
Description
To read recording data in buffer mode
Format
AT+RECR<CR>
Parameter
N/A
Return
Value
See the Example.
Example
AT+RECR
+Recpack:0,2030,(data1)
+Recpack:1,2030,(data2)
+Recpack:2,2030,(data3)
+Recpack:3,2030,(data4)
+Recpack:4,1897,(data5)
OK
Remarks
If you read the recording data after
+REC:BUFFER FULL
is returned, the recording data
block you read can be 5 to 7 blocks because of the delay of the read act. If you do not
obtain the recording data in 10 seconds, the early data will be overwritten.