at-command

Arduino Sim900 with no echo but SMS was sent out

送分小仙女□ 提交于 2020-01-06 17:36:44
问题 I just got a new Sim900 and connected to an Arduino Uno. I used the code below to send a text to myself. I received the text on my cell, but I did not receive any echo on my serial monitor (ie. "OK"). I have tried swapping the RX/TX pins and different baud rates with no success. void setup() { Serial.begin(9600); //Baud rate of the GSM/GPRS Module Serial.println(""); delay(2000); Serial.println("AT+CMGF=1"); delay(1000); Serial.println("AT+CMGS=\"+120########\""); //Number to which you want

GSM AT COMMAND | How to upload .amr audio file

若如初见. 提交于 2020-01-06 14:57:29
问题 I can list the directory using below command. AT+FSLS=\ 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. 回答1: 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. But it might work similar way than AT+CMGS= command: Send AT+FSWRITE=1.arm,0,512,10 command to modem. Wait >

How to send SMS with GSM Click Modem?

别说谁变了你拦得住时间么 提交于 2020-01-05 09:38:02
问题 I can finally make a phone call, receive, and answer it. But if I try to send an SMS I receive CMS ERROR: 500 . The GSM modem I am using is Telit GL865-Quad module. Since the Call function is working, what's preventing the SMS to work? please enlightenment me. The Sim Card works fine on my phone to rule out some of the problems. I am using a hyperterminal to type the commands at 19200 speed. This is the user guide with commands for your own convenience. To send an SMS: AT+CMGF=1 // Select

ESP266 Timed out waiting for packet header

帅比萌擦擦* 提交于 2020-01-04 02:57:08
问题 I am trying to flash the AT firmware in esp8266 but I am always getting the error of timed out waiting for packet header. Note : I am using esptool.py to flash the the chip and I already have some code uploaded to it, which I uploaded using Arduino IDE Here is the error which i am getting while writing flash: root@mayank-HP-Notebook:/home/mayank/Desktop# esptool.py -b 115200 -p /dev/ttyACM0 write_flash 0x000000 "ESP_8266_BIN0.92.bin" esptool.py v1.2-dev Connecting... Running Cesanta flasher

A C# Class to work with AT commands?

旧时模样 提交于 2020-01-01 14:29:11
问题 Is there a class for AT communication with devices? Like a class which encapsulates AT commands into a .NET interface ? It needs to be also able to parse AT responses such as Network Lists . Example : +COPS=? returns a list of carriers and it would take some pretty complex regex to actually parse it. Instead of writing my own lib I want to use a premade one. AT Commands I am refereeing to are these : http://en.wikipedia.org/wiki/Hayes_command_set 回答1: Try this one: GSM Communication Library.

Trying to use the AT command with an Huawei E3531

非 Y 不嫁゛ 提交于 2020-01-01 05:50:09
问题 I want to read the RSSI of my Huawei E3531. So I found some documentations that show an easy way to get those informations using the AT command. The problem is that I can't even connect to my Huawei E3531. I mean, it works really well as a modem. I have a good connection. But when I am looking for the device in dev, I just find 2 devices ("sdb" and "sgm") which seem to be 2 disc, but nothing to do with serial port. So I tried somethin I found: -After I plugged the Huawei, I find the Idvendor

Why do the outputs differ when I run this code using NetBeans 6.8 and Eclipse?

对着背影说爱祢 提交于 2019-12-30 10:57:49
问题 When I am running the following code using Eclipse and NetBeans 6.8. I want to see the available COM ports on my computer. When running in Eclipse it is returning me all available COM ports but when running it in NetBeans, it does not seem to find any ports .. public static void test(){ Enumeration lists=CommPortIdentifier.getPortIdentifiers(); System.out.println(lists.hasMoreElements()); while (lists.hasMoreElements()) { CommPortIdentifier cn=(CommPortIdentifier)lists.nextElement(); if (

Trouble setting “Preferred Message Storage” with AT+CPMS on Samsung Galaxy

↘锁芯ラ 提交于 2019-12-29 09:19:11
问题 When connecting Samsung Galaxy S via USB to Hyperterminal, I cannot retrieve any messages from the modem. The commands AT and AT+CMGF=1 work, and AT+CPMS=? returns different memories available. But when I try to execute the following command: AT+CPMS="SM" (or any other memory) I get: cms error 321 . Can anybody help me? Thanks! Additional info: AT+CPMS=? +CPMS: ("BM","ME","SM","SR"),("ME","SM"),("BM","ME","SM","SR") AT+CPMS="SM" +CMS ERROR: 321 回答1: From 27.005 +CMS ERROR 321 means invalid

DLINK DWM 157 Extra operator report during each operation

偶尔善良 提交于 2019-12-25 18:39:18
问题 I was working with a D-Link dwm-157 with Firmware Version 1.0.1du, I could send SMS with at commands and everything were ok, recently I have bought D-Link dwm-157 with Firmware Version 4.0.2MES, because the old module has been stopped production. There are little changes between calling a commands in these two modules. In the old one, when I call this: AT+CUSD=1,"*140#" I get this output: OK +CUSD= 2, "the result of USSD call", 15 But in new module the result is : +SPNWNAME: "432", "11", "Mci

ESP8266 AT firmware doesn't say it's ready

微笑、不失礼 提交于 2019-12-25 18:14:19
问题 I'm using ESP12E module. I uploaded v1.1.1.1 AT Firmware.bin, connected pin 0 from ground to 3.3 V, restarted the module. When monitoring the COM port I see : In the end id doesn't say that it's ready and therefore none of the AT commands work. Any ideas how to fix it? 回答1: At the end of the image in your question, we see some garbage. On top it says ,rst cause:2, boot mode:(3,7) This tells us the device had an external reset and configured to boot from flash. Thus your pin connections are