GSM AT命令|如何上传.amr音频文件 [英] GSM AT COMMAND | How to upload .amr audio file
问题描述
我可以使用以下命令列出目录. AT + FSLS = \
I can list the directory using below command. AT+FSLS=\
我找到了AT + FSCREATE ="1.amr",3命令来创建目录中的文件,但问题是如何从本地驱动器上载文件.
i found AT+FSCREATE="1.amr",3 command to crate files in directory but the problem is, how to upload the file from my local drive.
推荐答案
我没有任何支持AT+FSWRITE
命令的调制解调器.
但是根据SIMCOM AT指令手册,AT+FSWRITE=
命令以提示符>
响应.
手册没有明确说明如何使用该命令.
I don't have any modem that supports AT+FSWRITE
command.
But based on SIMcom AT-command manual, AT+FSWRITE=
command responds with prompt: >
.
Manual does not clearly tell how to use the command.
但是它的工作方式可能与AT+CMGS=
命令类似:
But it might work similar way than AT+CMGS=
command:
- 发送
AT+FSWRITE=1.arm,0,512,10
命令到调制解调器. - 从调制解调器中等待
>
. - 将文件内容(512字节)写入调制解调器.
- 将Ctrl-Z字符(十六进制0x1A)发送到调制解调器.
- 从调制解调器中等待OK/ERROR.
- Send
AT+FSWRITE=1.arm,0,512,10
command to modem. - Wait
>
from the modem. - Write content of the file (512 bytes) to the modem.
- Send Ctrl-Z char (0x1A hex) to the modem.
- Wait OK/ERROR from the modem.
步骤4可能不需要,因为文件的大小在命令中.
Step 4. may not be needed, because size of the file is in the command.
这篇关于GSM AT命令|如何上传.amr音频文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!