gsm

Class 0 SMS (flash SMS) on Android

萝らか妹 提交于 2019-11-28 08:31:28
As I know that Nokia and some others phone (like iPhone) are able to sent and receive class 0 SMS , is it possible for android ? Do Android have the API? What is flash SMS? Flash SMS is an SMS which is displayed on the phone screen immediately upon arrival. Unless you choose to save the flash message, it will disappear upon navigating away and will not be saved in your inbox. If several flash messages are sent to one phone, only the latest message will be displayed, and all the previous ones will be overwritten. Class 0 : Indicates that this message is to be displayed on the MS immediately and

How to properly triangulate GSM cell towers to get a location?

怎甘沉沦 提交于 2019-11-28 02:48:30
First of all, I am trying to do all this disaster in c# (.net 4) so if you come up with some code to help me that would be appreciated but really anything would help at this point. I have a situation where I have a device that can only get GSM Cell information (incidentally via the AT+KCELL command) so I have a collection of values about cell towers (each has LAC, MCC, MNC, Cell ID, Signal Strength and the first Timing Advance). I think, therefore, I am in a good place to be able to come up with some sort of longitude and latitude coordinate (albeit inaccurate, but, well meh). This is where I

Call a GSM Service #123*

余生颓废 提交于 2019-11-28 01:40:30
I want to call a GSM-Servicenumber of my provider, but the iPhone won't give a reaction. When I try the same with a regular number it works. [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:#123*1*4#"] ]; Have anyone an idea to get the Phone dial the GSM-Code? endo.anaconda it is not possible to use gsm-codes with public methods See Apples Documentation about Phone Links : To prevent users from maliciously redirecting phone calls or changing the behavior of a phone or account, the Phone app supports most, but not all, of the special characters in the tel scheme.

GSM Modem Send Message in UCS2 format error

大城市里の小女人 提交于 2019-11-28 01:33:55
I'm using java to communicate with a gsm modem (Siemens) using AT commands. I set the encoding of modem to "UCS2". When sending messages as soon as I send the phone number I get ERROR from the device: AT+CSCS=UCS2 OK AT+CSMP=17,167,0,8 OK AT+CMGF=1 OK AT+CMGS="0919xxxxxxx" ERROR HELP ME, PLEEEEEEASE! :( I think you are encoding the <da> address argument to AT+CMGS incorrectly. You refer to 91 and 92 style, but are you actually referring to the '81'/'82' format as explained in the Coding of Alpha fields in the SIM for UCS2 blog post about encoding as specified in 3GPP TS 11.11 ? After you run

Sending Unicode Messages (such as in Persian and Arabic) in C# using AT Commands through GSM Modem

*爱你&永不变心* 提交于 2019-11-27 23:50:43
I am developing an application for GSM Modems (D-Link DWM-156) in C#.Net using AT commands. I have a problem sending Unicode messages (Such as messages written in Persian or Arabic). Here it is the core of my program: SerialPort GSMPort = new SerialPort(); GSMPort.PortName = "COM6"; GSMPort.BaudRate = 9600; GSMPort.Parity = Parity.None; GSMPort.DataBits = 8; GSMPort.StopBits = StopBits.One; GSMPort.Handshake = HandShake.RequestToSend; GSMPort.DtrEnable = true; GSMPort.RtsEnable = true; GSMPort.Open(); GSMPort.Write("AT\r"); Thread.Sleep(1000); GSMPort.Write("AT+CMGF=1\r"); Thread.Sleep(1000);

How to check if iPhone supports CDMA or GSM

独自空忆成欢 提交于 2019-11-27 21:58:26
问题 Is there any way to identify if iPhone supports CDMA or GSM network. Any Apple API in Objective-C which can provide this information. 回答1: You might examine model id with the function (credits): #include <sys/types.h> #include <sys/sysctl.h> NSString* machine () { size_t size; // Set 'oldp' parameter to NULL to get the size of the data // returned so we can allocate appropriate amount of space sysctlbyname("hw.machine", NULL, &size, NULL, 0); // Allocate the space to store name char *name =

Which Values (High or Low) are better in Android's getGsmSignalStrength()

瘦欲@ 提交于 2019-11-27 18:14:26
问题 I'm playing around with reading the signal strengths in a small Android App, and was wondering if anyone has tested this (or just knows) of the documented values (0-31, 99) which value is better. By asking which is better, I mean, does 0 represent no signal, or perfect signal. I'm running an HTC Incredible on Verizon, so I can confirm the 99 is no GSM antenna, but I could not find any other items on GSM 回答1: The values are defined in the GSM standard TS 27.007, section 8.5 (Google it, or see

How to Detect Non “GSM 7 bit alphabet” characters in input field

て烟熏妆下的殇ゞ 提交于 2019-11-27 06:11:18
问题 I am trying to detect if a text input field has any character that doesn't belong to the GSM 7 bit alphabet. The table with the characters is here http://www.dreamfabric.com/sms/default_alphabet.html After a lot of searching I found this (What regular expression do I need to check for some non-latin characters?) that its pretty close to what I want to accomplish because It detects Non latin characters. How can I alter the regular expression to include the GSM 7 bit alphabet? <!DOCTYPE HTML>

'Reliable' SMS Unicode & GSM Encoding in PHP

你。 提交于 2019-11-27 05:37:44
问题 ( Updated a little ) I'm not very experienced with internationalization using PHP, it must be said, and a deal of searching didn't really provide the answers I was looking for. I'm in need of working out a reliable way to convert only 'relevant' text to Unicode to send in an SMS message, using PHP (just temporarily, whilst service is rewritten using C#) - obviously, messages sent at the moment are sent as plain text. I could conceivably convert everything to the Unicode charset (as opposed to

How in codesys call an “at command” for gsm modem? Not standart send_sms and e.t.c

馋奶兔 提交于 2019-11-27 02:13:35
I have a gsm-modem and plc, plc sees a modem (I use a *.lib and functional block "openPort"), but I don't understand how write in modem an "at command", for example, "ate0". First, to increase your understanding of AT commands in general, read the V. 250 specification . That will go a long way in making you an AT command expert. Then for the actual implementation, I do not know codesys, so the following is pseudo code of the structure you should have for handling AT commands: the_modem = openPort(); ... // start sending ATE0 writePort(the_modem, "ATE0\r"); do { line = readLinePort(the_modem);