gsm

Android: How to read low level network info (RSCP, EcN0, Layer 3 Signalling)?

只愿长相守 提交于 2019-12-21 17:54:53
问题 I'm trying to create android app for measuring 2G 3G network similar to QualiPoc. I'm aware that there is basic Android API for gathering Network Info, for example: How to know Location Area Code and Cell ID in android phone However, this API is rather limited, and not sufficient (for example: on my phone RSCP values are refreshed every 10 seconds...) Since my phone is rooted, I've managed to run basic AT commands on the qualcomm modem /dev/smd0 How to send a command to android and then get

When I encode/decode SMS PDU (GSM 7 Bit) user data, do I need prepend the UDH first?

廉价感情. 提交于 2019-12-20 10:44:36
问题 While I can successfully encode and decode the user data part of an SMS message when a UDH is not present, I'm having trouble doing so when a UDH is present (in this case, for concatenated SMS). When I decode or encode the user data, do I need to prepend the UDH to the text before doing so? This article provides an encoding routine sample that compensates for the UDH with padding bits (which I still don't completely understand) but it doesn't give an example of data being passed to the

How To Implement An App That Can Transmit and Search for A Designated Frequency (That The Antenna Can Support)

半城伤御伤魂 提交于 2019-12-20 04:50:44
问题 I'm trying to find a way (or find out whether it's possible) to create an android app that can control transmissions on a cellphone's aerial and get it to transmit a desired frequency within the limitations of that particular phone. What is transmitted does not matter -- what matters is that a transmission at a certain frequency is happening. I do not want to do this over Bluetooth, Infrared or WiFi because the range is not long enough. If this cannot be done, the next best thing would be to

Neighbouring cell information is inaccurate

我怕爱的太早我们不能终老 提交于 2019-12-20 03:47:06
问题 I'm trying to make use of a mobile information about neighbouring cells, available on Android via TelephonyManager class and its getNeighboringCellInfo method. Below I'm posting a part of code (mostly taken from publicly available sources) which does the job, and one example of output which this code produces (shown in attached screenshot). The code and the image are placed "as is" without any changes, so it should be relatively easy to associate one with the other and make sure it should

How to send Multi-part unicoded SMS using At Commands And PDU-Submit Not with Text-Mode?

孤者浪人 提交于 2019-12-19 11:46:27
问题 In my project, I want to send a unicoded text(UTF-8) SMS message through PDU-Submit. I've been searching a lot but all answers using Text-Mode and not PDU-Submit command, therefore I can't send multipart SMS. I want to have a solution for multi-part unicode messages. 回答1: Finally I have found the answer and use it.my program works fine. Sending a Concatenated(Multi-Part) SMS in Unicode Format Using PDU, is the same sending a simple septet-character SMS using AT+CMGS Command except you must

Send At Command to gsm modem with Java

冷暖自知 提交于 2019-12-19 10:34:23
问题 I am trying to make a program to send a sms. I wrote the program but doesn't successfully send the message. My program send an At command to the Port COM in my computer but I do not get a response from my gsm modem. I am using COM terminal (Temp pro...) to send sms with the at command and I am able to send sms. Therefore I don't know why the program can't send a sms. import java.io.*; import java.util.*; import gnu.io.*; public class prawiefinal { static Enumeration portList; static

eCGI and CGI for LTE and GSM networks

…衆ロ難τιáo~ 提交于 2019-12-19 03:24:33
问题 I'm trying to determine the CGI (the Cell Global Identifier) the UE is connected to. From the 3GPP specs, it's defined as follows: 3G: CGI = PLMN-ID + LA code + CID 4G: ECGI = PLMN-ID + ECI I can already get the LAC (location area code) and CID (Cell ID) from the system. And I can generate the PLMN-ID from the MCC (Mobile Country Code) and MNC (Mobile Network Code). My question is can I also get the CGI from the system? 回答1: The CGI (2G and 3G) and eCGI (ofr 4G) is always a 15 decimal digit

What is the maximum number of characters in an USSD message?

本小妞迷上赌 提交于 2019-12-19 02:31:45
问题 I've understood that an USSD message consists of 160 bytes. For 7 bit data coding schemes, the maximum number of characters is 160*8/7 which gives 182 characters. It's unclear to me what is the maximum number of characters for UCS2 encoding. Normally, it would be something like 160/2, but I have some mixed information on this. 回答1: The maximum size of a USSD message is 160 bytes. For GSM 7 Bit messages you are correct in saying the limit is 182 characters. UC2 encoding per definition is fixed

Send Unicode (USC2) SMS with AT commands

时光怂恿深爱的人放手 提交于 2019-12-17 20:27:27
问题 I am trying to send Unicode SMS using at commands and USC2 encoding. But it doesn't work, as I get errors. Here is my inputs: AT OK AT+CSCS = ? +CSCS: ("IRA","GSM","UCS2") AT+CSCS="UCS2" OK AT+CMGF=1 OK AT+CSMP=1,167,0,8 //So this one doesnt work, let's try with 17,167,0,8 ERROR AT+CSMP=17,167,0,8 OK AT+CMGS="+370********" ERROR Or maybe I should use PDU mode to achieve this? I have tried using older modem, and USC2 works in that one, however not in one im using. But im sure this conflicting

Class 0 SMS (flash SMS) on Android

陌路散爱 提交于 2019-12-17 18:38:06
问题 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