at-command

Send Unicode (USC2) SMS with AT commands

时光怂恿深爱的人放手 提交于 2019-12-17 20:27:27
问题 I am trying to send Unicode SMS using at commands and USC2 encoding. But it doesn't work, as I get errors. Here is my inputs: AT OK AT+CSCS = ? +CSCS: ("IRA","GSM","UCS2") AT+CSCS="UCS2" OK AT+CMGF=1 OK AT+CSMP=1,167,0,8 //So this one doesnt work, let's try with 17,167,0,8 ERROR AT+CSMP=17,167,0,8 OK AT+CMGS="+370********" ERROR Or maybe I should use PDU mode to achieve this? I have tried using older modem, and USC2 works in that one, however not in one im using. But im sure this conflicting

SMS by AT commands with GSM mobile is giving error

风流意气都作罢 提交于 2019-12-17 16:43:22
问题 I am sending SMS by AT commands with GSM mobile phone. I wanna send bulk of message like thousands. I read that by GSM mobile we can send 6-8 sms per minute. But when I send messages then someone are going and someone not. I am getting information from excel file means destination number and message text. Can you tell me why some sms are going and some not. My code is SmsFields smsObj = null; List<SmsFields> smsColl = null; SerialPort serialport = null; StringBuilder strbuild = new

AT^SYSINFO and a C++ terminal program

余生长醉 提交于 2019-12-17 06:56:27
问题 I have written a program that comminucates serially with a USB 3g Modem. When I open the port and write the AT command AT To the modem, I get the normal "OK" response and can read it using a serial read function. In a terminal, when I write the command AT^SYSINFO I get the following response: ^SYSINFO:#,#,#,#,#,# With the #'s being numbers. However, when I attempt to write the same command serially using my program, I read only this reponse: AT^SYSINFO I try to then read another line of

Store value in variable after HTTPREAD

放肆的年华 提交于 2019-12-17 03:44:33
问题 I am working with a GSM SIM900 and an Arduino Uno. I am using AT commands for the SIM900. I am successfully getting data from GET requests and showing on the serial monitor, but after the AT+HTTPREAD command I want to store data into a variable. How can I do this? I am getting a JSON Object from the web server and I want to get the Status property from that object and save it into a variable. #include <SoftwareSerial.h> SoftwareSerial gprsSerial(2,3); void setup() { gprsSerial.begin(9600);

Unable to send SMS through C# code using System.IO.Ports using gsm modem

余生长醉 提交于 2019-12-16 22:17:16
问题 A button, when clicked, sends an sms to the number entered in NumTxt textbox, and sends the text entered in SMSTxt textbox. Port name entered in texbox ComPort Here's the event handler of the button click event. using System.IO.Ports; private void button1_Click(object sender, EventArgs e) { try { int mSpeed = 1; serialport.PortName = ComPort.Text; serialport.BaudRate = 96000; serialport.Parity = Parity.None; serialport.DataBits = 8; serialport.StopBits = StopBits.One; serialport.Handshake =

Python Pyserial Windows No Port Found

廉价感情. 提交于 2019-12-13 20:05:37
问题 I have just tried to connect to usb mobile to send sms through it using AT commands. But when i use pyserial to connect to it in a windows os, i get error could not open port, the file specified cannot be found. >>> import serial >>> ser = serial.Serial(0) # open first serial port >>> print ser.name # check which port was really used >>> ser.write("hello") # write a string >>> ser.close() even if i replace the 0 with any other value, like 0 -10 or 'com0','com1' etc, i still get error file

how to send sms via a dual sim mobile using serial port

。_饼干妹妹 提交于 2019-12-13 09:10:16
问题 I am sending sms to recipients using following code private void button1_Click(object sender, EventArgs e) { var com5 = new SerialPort("COM5"); if (!com5.IsOpen) com5.Open(); com5.WriteLine("AT" + Environment.NewLine); com5.WriteLine("AT+CMGF=1" + Environment.NewLine); com5.WriteLine("AT+CMGS=\"" + 03132449297 + "\"" + Environment.NewLine); com5.WriteLine("Kashif bhai aap mujhsay kiya kehna chah rahay hen?" + (char)26); com5.Close(); } my problem is: If i use a single sim mobile usb modem to

Use AT command in shell script

旧时模样 提交于 2019-12-13 09:06:11
问题 I'm using gsm modem to send sms, via a terminal there's no problem but i want to write a shell script (called by php) and i want to know how insert AT command in. Example : call the script.sh the script open minicom (sudo..) type : AT+CMGS="num" + ENTER + "Message" + ctrl+Z and send the sms to the num. Thank you Victor 回答1: For the time being 1 I think your best option here is to use the programming language expect. It is written to monitor growing text output and support scenarios like Wait

AT+CUSD command standard response

匆匆过客 提交于 2019-12-13 07:10:18
问题 For those interested in background of this question, Please see this question My Question : I found a new GSM modem ( Wavecom Q24 ) which does the following in response to AT+CUSD command: Returns an intermediate OK response. After 2 or 3 seconds(the normal network delay in ussd commands) it gives the actual response. Is this standard behaviour? 回答1: No, according to GSM 07.07 the network response should be returned before final result code. Having said that, I work with Cinterion modules and

Send SMS with STM32l152 and SIM900

為{幸葍}努か 提交于 2019-12-13 05:03:32
问题 I send the SMS "Hello World", but on my cellular I get this message ATAT+CMGS="xxxxxx">HelloWorld instead. What can be causing this? void controlAT() { clearString(); wait_ms(100); SIM900.printf("AT\r"); wait_ms(1000); if(result=="\r\nOK\r\n") { pc.printf("\r\n----OK AT----\r\n"); }else { pc.printf("-- ERROR AT --"); } pc.printf("%s",result.c_str()); } /*send SMS */ void sendSMS_Raw() { clearString(); SIM900.printf("AT+CMGS="); SIM900.printf("\""); SIM900.printf("+xxxxxxxxxxxxx"); SIM900