at-command

Why I am not able to receive sms using AT commands?

亡梦爱人 提交于 2019-12-01 19:50:34
I want to send / receive sms using AT commands from my computer to my mobile phone. I connected my phone to my computer using a USB port. My computer detects the modem and I am able to send sms from the computer to mobile phone. However, I am not able to receive sms in my computer.. I am presenting a sample of what I get from AT editor AT+CMGF=1 OK AT+CNMI=1,2,0,0,0 Error What can I do to send this prob and why am I getting this Error? Every phone has different capabilities so you should check which values for each parameter are valid for your phone by sending it a AT+CNMI=? For example my

Can't save baud rate settings?

落爺英雄遲暮 提交于 2019-12-01 18:04:11
The GSM modem I have is set to 115200 baud-rate by default. I have PIC18 Microcontroller connected to it with 19200 baud-rate. I changed the modem baud-rate to 19200 then saved the settings but every time I reset the modem, the baud-rate changes back to 115200. These are the following commands I used. Change baudrate AT+IPR=19200 Then I reopened the hyper-terminal (Putty) with 19200 baud-rate to save the current settings. Save settings AT&W But upon reset of the modem, the baud-rate changes back to 115200. I am using M6000 GSM/GPS Module(Tk115 Gps Tracker) but there isn't a lot of support for

Can't save baud rate settings?

别等时光非礼了梦想. 提交于 2019-12-01 17:38:22
问题 The GSM modem I have is set to 115200 baud-rate by default. I have PIC18 Microcontroller connected to it with 19200 baud-rate. I changed the modem baud-rate to 19200 then saved the settings but every time I reset the modem, the baud-rate changes back to 115200. These are the following commands I used. Change baudrate AT+IPR=19200 Then I reopened the hyper-terminal (Putty) with 19200 baud-rate to save the current settings. Save settings AT&W But upon reset of the modem, the baud-rate changes

Run command after 1 hour in Linux

☆樱花仙子☆ 提交于 2019-12-01 15:37:45
I just want to echo my string after 1 hour . I saw at command but it can run script at specific time ( HH:MM ). I want my echo command to run after 1 hour whatever the time it is. It is sleep 60m && ls You can also use at (at is very good at understanding times, see this page for a lot of good examples). > at now + 1 hour at> echo 'my string' > /dev/stdout at> ^D After you input the at time specification it will take you to the at prompt (your OS my or my not show the at> prompt, OSX doesn't for example). You then type whatever commands you want executed and press Control-D to exit the at

Run command after 1 hour in Linux

£可爱£侵袭症+ 提交于 2019-12-01 15:12:50
问题 I just want to echo my string after 1 hour . I saw at command but it can run script at specific time ( HH:MM ). I want my echo command to run after 1 hour whatever the time it is. 回答1: It is sleep 60m && ls 回答2: You can also use at (at is very good at understanding times, see this page for a lot of good examples). > at now + 1 hour at> echo 'my string' > /dev/stdout at> ^D After you input the at time specification it will take you to the at prompt (your OS my or my not show the at> prompt,

AT Commands PHP

只愿长相守 提交于 2019-12-01 14:43:07
I want to send messages from php by using a GSM modem. I have configured the modem and tested it using Hyperterminal. Now I want to execute AT commands using php. Is there any open source library available for that, or some other solution? Since my php application is hosted on an Apache webserver, I used python, pyserial and mod_wsgi to send the SMS, thanks for all the help. I haven't used this myself but someone i know used it a while ago. http://code.google.com/p/php-serial/ 来源: https://stackoverflow.com/questions/5938471/at-commands-php

why I get just numbers in UCS2 how can I fixed at commands and c#?

冷暖自知 提交于 2019-12-01 12:53:27
I am having a problem with reading my sms through putty, Its beacuse I type AT+CMGL="ALL" but the message(text) and number are just numbers, I read that my gms modem nokia s10 uses UCS2, but I dont know what to do here? how can I read my message intead of just seeing numbers?? help please Also I am using this code from codeproject and I changed this line but It is the same result as putty just number in ucs2 public ShortMessageCollection ReadSMS(SerialPort port, string p_strCommand) { // Set up the phone and read the messages ShortMessageCollection messages = null; try { #region Execute

ADB shell script to send AT commands to a modem-cannot return control to a shell and capture output

[亡魂溺海] 提交于 2019-12-01 11:46:45
I already posted similar question, but still could not get my job done, so this a a second attempt, where I would like to more clearly state my stumbling block. So basically I am in Android phone's adb shell, communicating with the GPRS modem by sending AT commands. I am able to do it by redirecting at command to the device file representing the modem; and I can read back the response using cat utility running on the background (started earlier). I implemented it in a script which can send a single AT command and read back the response. For example, here is the script to send at+cops? to get

Sending AT Commands in Android Using atinout library

本小妞迷上赌 提交于 2019-12-01 11:44:51
As the question title suggest, I'm going to use atinout library in my android application to be able to send AT Commands to my device's gsm modem and get the response back. I've searched the SO and other blogs and the best code I got is something like this, which does not cauese anything to be written to output : Runtime r = Runtime.getRuntime(); Process process = r.exec(new String[] {"su", "-c", "echo -n -e 'AT\r' > /dev/smd0"}); BufferedReader in = new BufferedReader( new InputStreamReader(process.getInputStream())); String line = ""; while ((line = in.readLine()) != null) { output+= line ;

Error on checking balance via USSD

a 夏天 提交于 2019-12-01 10:42:30
I've been trying to check my balance from by 3g modem via AT commands and seem to be stuck. The device infomation is as follows: Manufacturer: QUALCOMM INCORPORATED Model: M6281 Revision: SSD_M6281A-0.0.1 1 [Oct 02 2008 07:00:00] The modem has USSD capability (advertised and also present in the factory installed dashboard). I am connecting via putty to COM4 serial port which is my modems application port. All AT commands are working fine but I am getting an error on issuing the following via putty: AT+CUSD=1,"*111#",15 This returns a simple "ERROR". *111# is my carrier's balance check code. I