gsm

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 =

retrieve GSM CellId,mnc,mcc using java script

蓝咒 提交于 2019-12-13 21:58:21
问题 i am developing a mobile web application. i want to find the user current location even when device GPS is off. after some google search i found that opencellid database we can retrieve the latitude and longitude of mobile by passing cellId,mnc,mcc to the opencellId. is there any way to get the cellId,mnc,mcc by using java script or java program?please suggest any others ways if possible. This is a mobile web application. Thanks and Regards, vinay 回答1: It is not possible to get telephony

getPsc() using GsmCellLocation always returns -1

早过忘川 提交于 2019-12-13 13:25:36
问题 I'm successfully getting GsmCellLocation and related cid and lac information but the PSC (primary scrambling code) of the serving cell is always coming back with the initialized value -1. Anyone able to get the real PSC value of the serving cell? telephonyManager = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE); GsmCellLocation cellLocation = (GsmCellLocation) telephonyManager.getCellLocation(); psc = cellLocation.getPsc(); Log.d(TAG, "PSC = " + psc); I have all the permissions

Voice call through GSM modem

北城以北 提交于 2019-12-13 11:44:51
问题 I would like to use a GSM modem to make a voice call to a phone number, play a recorded message, wait for a digit to be pressed and then disconnect the call. The system needs to know if the line was busy, if the user answered and which digit was pressed by user (if any). It should drop the line if nothing is pressed in 30 seconds. If user presses the digit before the question is completed then the voice should stop (user doesn't have to wait). Also, it would be nice if system could handle

What are the information that can GSM modem get?

随声附和 提交于 2019-12-13 04:34:38
问题 I want to know about GSM modems . I need low level info. Can the modem get me Layer 3 Messages, Rx and Tx level, Rx Qual. , C/I , BCCH , BISC , ARFCN and ... Edit Note: I'm not asking about embedded modems only, I'm asking on both embedded and external modems. Thanks and Best Regards 回答1: Your best bet for low level information is AT commands. See the answer to this SO question for specific commands for the information that you want. Although it's about Android, you can assess AT commands on

Arduino sending sms in GSM sim900 error

亡梦爱人 提交于 2019-12-13 03:35:09
问题 I have an Arduino Mega 2560 and a sim900 gsm module. I interfaced them successfully and written the code. Its working, but I can only send 1 sms at a time in the while loop. That means when I write a while loop to execute the sendsms() 5 times by using a while loop. Only one sms is sent.. and it stops... The code is below: #include <SoftwareSerial.h> #include <String.h> SoftwareSerial mySerial(52, 53); void setup() { mySerial.begin(19200); // the GPRS baud rate Serial.begin(19200); // the

Simulate cellular network's behaviour on Eclipse emulator

空扰寡人 提交于 2019-12-12 20:53:36
问题 Is there any way to simulate the behaviour of a cellular mobile network (GSM/UMTS) in the Eclipse Android emulator? More specifically: I want to develop an app to show information about the network, such as coverage level, parameters of neighbouring cells etc, as provided by the TelephonyManager and other related classes. I would like to do as much debugging as possible with the emulator, before testing in an actual phone. For that I would need the emulated phone to "see" a functioning

time delay between AT commands for sending sms

血红的双手。 提交于 2019-12-12 18:08:47
问题 I am working on an application that sends SMS through GSM Modem, and i use AT Commands for that. When i debug my application, Then sms is sent to reciever, but when i run the application sms is not sent to Reciever. My code is below and my gsm Modem is D-Link DWM-156. is there any wrong here in my code? thanks. if (SPort.IsOpen) { int i = 0; while (i < msgs.Count) { SPort.DiscardInBuffer(); System.Threading.Thread.Sleep(1000); var res = SPort.ReadExisting(); SPort.DiscardOutBuffer(); System

How to send SMS with GSM module SIM800 and Arduino Uno?

a 夏天 提交于 2019-12-12 17:10:06
问题 I am trying to send a text message from Arduino through a SIM800 GSM module. The message gets to the given number but not in the correct format. It shows "Message format not supported". I am including my code here and a fast reply is much appreciated. #include <SoftwareSerial.h> SoftwareSerial GPRS(11, 12); //11 = TX, 12 = RX unsigned char buffer[64]; //port int count=0; int i = 0; //if i = 0, send SMS. void setup() { GPRS.begin(9600); // the GPRS baud rate Serial.begin(9600); // the Serial