gsm

Sending SMS in PHP using GSM modem

坚强是说给别人听的谎言 提交于 2020-01-01 03:45:09
问题 Am new to PHP. Am working in a recent project which needs to notify clients via sms. I know there are sms services we can use but my boss wants to try using a GSM modem. Is it possible to send SMS using a GSM modem ? Any tutorials will be really helpful. Thanks 回答1: you can use following code, it works on my gsm modem. its zyxel <?php //SMS via GSM Modem - A PHP class to send SMS messages via a GSM modem attached to the computers serial port. //Windows only (tested on XP with PHP 5.2.6) /

My GPS can't share the location by SMS

青春壹個敷衍的年華 提交于 2019-12-31 05:16:05
问题 I have some problem with my project. I am using SIM800L and GPS Neo6MV2 with arduino genuine uno. My project is sending GPS location by message. But, the message i received only contained long = 0,000000 lat = 0, 000000. Here is my code: #include <TinyGPS++.h> TinyGPSPlus gps; //float latitude, longitude; int myled=13; #include <SoftwareSerial.h> SoftwareSerial SIM800L(7, 8); //SoftwareSerial gps_serial(2,3); String response; int lastStringLength = response.length(); String latitude,

android: NeighboringCellInfo always empty !? why?

邮差的信 提交于 2019-12-30 08:18:11
问题 i'm trying to get info about the neighboring cells my phone can "see" atm. so far so good. i do this like this: telManager = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); //... ArrayList<NeighboringCellInfo> neighboringCellList = (ArrayList<NeighboringCellInfo>) telManager.getNeighboringCellInfo(); unfortunately, this list turns out to be empty all the time. even in different places. i live in berlin, so i don't think it's because there is actually just the one cell

How to get the telephone number associated with the SIM in a GSM phone? [duplicate]

你离开我真会死。 提交于 2019-12-29 06:33:50
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: How to fetch own mobile number in android How to get the telephone number associated with the SIM in a GSM phone? 回答1: try following code TelephonyManager tMgr=(TelephonyManager)mAppContext.getSystemService(Context.TELEPHONY_SERVICE); mPhoneNumber = tMgr.getLine1Number(); and with following permission in your xml READ_PHONE_STATE 来源: https://stackoverflow.com/questions/5163803/how-to-get-the-telephone-number

What are the best practices for building an SMS server

本小妞迷上赌 提交于 2019-12-28 05:40:13
问题 I am trying to build a system in which I have terminal nodes capable of sending/receiving SMS messages over a GSM network. I now need to construct a server solution which would send SMS messages acting as a gateway between a webserver holding my business logic and the clients (nodes). The communication is both ways. I've read something about complete SMS server solutions (that act as a GSM gateway, possibly), but they turn out to be too expensive. I've thought about attaching a mobile phone

How to find the tower location in android

青春壹個敷衍的年華 提交于 2019-12-26 08:43:50
问题 I need to find the address of the tower under which the android phone is located. I don't need to find the latitude or longitude or Location Area Code but I need the Address . Please help me out. 回答1: In order to do that, you need a DB of GSM tower ids and their coordinates. Using the coordinate you can get the addresses. Probably this helps Getting Tower GSM location lat lng 来源: https://stackoverflow.com/questions/28107550/how-to-find-the-tower-location-in-android

How to find the tower location in android

一曲冷凌霜 提交于 2019-12-26 08:43:00
问题 I need to find the address of the tower under which the android phone is located. I don't need to find the latitude or longitude or Location Area Code but I need the Address . Please help me out. 回答1: In order to do that, you need a DB of GSM tower ids and their coordinates. Using the coordinate you can get the addresses. Probably this helps Getting Tower GSM location lat lng 来源: https://stackoverflow.com/questions/28107550/how-to-find-the-tower-location-in-android

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

Does TLS version have a relationship with cellular communication technology? [closed]

丶灬走出姿态 提交于 2019-12-25 08:42:53
问题 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 2 years ago . I am a user of Telit GE910-QUAD V3 modem (2G). The below table explains the Telit cellular modems and the TLS protocols they support. Product SSLV3 TLSV1.0 TLSV1.1 TLSV1.2 (2G) N/A YES N/A N/A (3G) YES YES YES N/A (4G) YES YES YES YES After seeing this, I doubt whether cellular technology (2G/3G/4G) plays any

How to read data from serial port in vb.net?

梦想与她 提交于 2019-12-25 06:59:39
问题 I made a class and there is this sub named SendUSSD, when this is called it sends a ussd code like *123# to a COM port where a gsm mobile is connected. This ussd is supposed to return the mobile balance. If IsOpen = True Then 'checks if the port is open SMSPort.WriteLine("AT+CUSD=1,""*123#""" vbCr) 'this sends the ussd code Form1.TextBox2.Text = SMSPort.ReadLine().ToString() 'this shows the response End If Now the problem is sometimes I get the full response like "Your current balance is so