gsm

Android: How do I get GSM signal strength for all available network operators

一世执手 提交于 2019-11-26 09:27:09
问题 I am working on a little app to check the signal strength of various network operators in my area. My current operators signal is quite unstable and I want to look into the strength of other GSM operators. Sofar I\'ve been using the TelephonyManager and a PhoneStateListener with the onSignalStrengthsChanged call back to get the GSM Signal strength of the current network operator, but it seems that this class only gives me info on the signal strength of the network attached to my SIM card. I\

Answer incoming call using android.telecom and InCallService

我只是一个虾纸丫 提交于 2019-11-26 07:45:22
问题 Since API 21, Google has been adding features to android.telecom in general, especially by implementing more members of TelecomManager and the addition of InCallService. This last one is is supposed to allow non-system, 3rd-party apps to provide and replace the functionality of the system Calls app in-call screen - the Window that pops up and allows action on EXTRA_STATE_OFFHOOK or EXTRA_STATE_RINGING broadcasts (i.e. incoming and outgoing phone calls). Currently, only this screen has full

Get CellID, MCC, MNC, LAC, and Network in iOS 5.1

假如想象 提交于 2019-11-26 06:20:58
问题 I need to retrieve CellID, MCC, MNC, LAC and Network (GSM, 3G) of the current Serving Cell Tower in iOS 5.1 (iPhone 4S). I know this information is available because I can see it in FieldTest Mode (accessible after calling ****3001#12345#****). I suppose it to be accessible via Private/Undocumented iOS Frameworks. In the question iphone, check values of cellId / Lac the author indicates I can get radio Informations cellId, Lac, MNC, MCC on iOS , but no information on how to do this is

GSM SM5100B C M E E R R O R : 4 error

≯℡__Kan透↙ 提交于 2019-11-26 00:26:07
问题 I am using Arduino to control an SM5100B GSM device, everything works except when I want to send an SMS after receiving another. I get this, Error code: O K > + C M G S : 2 5 O K + C M E E R R O R : 4 My code for handling the aforementioned received SMS: #include <SoftwareSerial.h> //Include the NewSoftSerial library to send serial commands to the cellular module. char inchar; //Will hold the incoming character from the Serial Port. SoftwareSerial cell(2,3); char mobilenumber[] = \"0597010129

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

邮差的信 提交于 2019-11-25 22:54:36
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 = Handshake.XOnXOff; serialport.DtrEnable = true; serialport.RtsEnable = true; serialport.NewLine =