sim800

SIM800C GSM AT COMMAND How to upload .amr audio file programmatically

你说的曾经没有我的故事 提交于 2021-01-28 11:57:28
问题 I am desperatly trying to upload some audio file to the internal memory of a SIM800C, so far this is what I've been able to do, but the uploaded file seems void, and doesnt play any sound. But with AT+FSLS=C:\\ I can see the file is there. Here are the AT commands I am using: AT+FSCREATE=tts2.amr AT+FSWRITE=tts2.amr,0,5030,10 AT+FSLS=C:\\ I made a nodeJS program to do the job, but I am openned to any other language that works on linux. modem.executeCommand('AT+FSCREATE=tts2.amr',(result) => {

strstr cannot find substring but buffer contains the value [closed]

这一生的挚爱 提交于 2019-12-11 18:34:19
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I was trying UART using STM32F407V6T6 and CubeMx . My UART is working fine. The problem I'm getting while comparing the buffer: I am using strstr() to check that my buffer contains valid substring or not. Here is the code: uint8_t buff[10]; int main(void) { HAL_Init(); SystemClock_Config(); MX_GPIO_Init(); MX

SIM 800 GPRS modem for HTTP GET and POST to AWS IoT and AWS API gateway

爷,独闯天下 提交于 2019-12-01 11:23:18
问题 I was trying to POST and GET some JSON data to and from the AWS cloud respectively using the SIM 800 module. I'm initially trying it out directly from my PC over a terminal UART software and inputting AT commands in manually. HTTP GET is working fine over SSL ( AT+HTTPSSL=1 ) for websites like Google and Quora, as in, they return back <html> data. 1) I looked into first going through the AWS IoT route using HTTP as mentioned in the link here. But it requires not only a single certificate for