modem

Permission denied for ttyACM0 Port in nexus 5

守給你的承諾、 提交于 2019-12-13 04:27:18
问题 I am trying to connect external GSM modem with nexus 5 and send AT command using android RIL layer.I am using android 5.0 AOSP for nexus 5 downloaded from Google source. Error: Permission denied with trying to open ttyACM0 port. i have checked this by changing permissions but still permission denied error. Does there any other permissions do i have to change to open port? 回答1: You are getting permission denied because the Android RIL doesn't have the appropriate selinux(Security Enhanced

AT+CUSD Not Working on modem Huawei e3131a

删除回忆录丶 提交于 2019-12-12 21:39:39
问题 I am trying to send at commands to get balance on huawei e3131a modem but i always receive "Ok" as answer no matter the configuration i use (GSM, IRA, UCS2). I also tried to change the operator code ( #123# ) to many formats like Hex PDU Simple String but no way to get the balance. Here is the command i sent : AT+CUSD=1,"#123#",15 . Thanks in advance for the help. NB: I am using Putty to send commands. 回答1: I finally found the method to send USSD At commands. Some 3G Modem doesn't support

AT COMMANDS - USSD returns only OK

只愿长相守 提交于 2019-12-12 16:15:03
问题 I have bought ZTE MF667 GSM Modem and i am using Hyper Terminal to send AT COMMANDS, i have a problem with USSD e.g : AT+CUSD=1,"*111#",15 (to check balance) but it returns only OK AT+CUSD=1,"*111#" returns only OK I have tested another AT COMMADS which work fine like AT+CMGL="ALL" to read SMS (WORKS) How could i resolve the problem please ? 回答1: First of all USSD messages are fairly similar to SMS in that a message is sent from the mobile device to the operator network. This means when you

How to enumerate all installed usb modem using Windows API

不问归期 提交于 2019-12-12 15:27:18
问题 I have bought a ZTE MF190 usb modem and began to harness it. So far, I have managed to programmatically have an sms sent to another mobile equipement using free AsyncPro components of TurboPowers . I wonder wether there is a way to retrieve the list of all installed modems along with their attached serial COM ports (hopefully with other valuable capabilities). Thanks in advance. 回答1: To list the installed modems you can use the Win32_POTSModem WMI class Check this sample code. {$APPTYPE

SMSLib doesn't send SMS with E226 3G modem

不问归期 提交于 2019-12-12 10:15:08
问题 I would like to know if someone knows why I can't send sms with my E226 3g modem. I have configured the example class, I setted modem model, PIN and Smsc number. public class SendMessage { public void doIt() throws Exception { OutboundNotification outboundNotification = new OutboundNotification(); System.out.println("Example: Send message from a serial gsm modem."); System.out.println(Library.getLibraryDescription()); System.out.println("Version: " + Library.getLibraryVersion());

Cannot send SMS more then 140 via HUAWEI USB stick modem

天涯浪子 提交于 2019-12-11 18:56:19
问题 I use HUAWEI USB stick modem and code below to send SMS successfully but under 140 of length (see the code pls -- double lenMes = textsms.Length / 2; ). But nowdays I see the really big SMS messages. So I am wondering what's wrong with AT commnds or may me hardware is old so I cannot send big SMS. Please any clue? using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO.Ports; namespace sendSMSPDU { class Program {

Using Modem for Caller id

浪子不回头ぞ 提交于 2019-12-11 12:08:48
问题 I want to create a simple code that detects the caller ID only of an incoming call. Can I use any modem, and implement the right code? Or do I have to buy a modem that supports caller id? How can I tell if a modem supports caller id? Im asking this question because I have tried so many times to make this work, and I never found any script that worked, then I found a post that said a caller id modem is needed. Thank you in advance 回答1: You should be able to use the AT#CID=1 command on most

GSM Modem AT commands memory “OM” “DM”

别说谁变了你拦得住时间么 提交于 2019-12-11 11:18:51
问题 I am currently working on a project that involves automating sending and receiving text messages using a RAZR v3. Usually, when choosing the memory for the phone, there is "ME", "SM",or "MT" which stands for phone, sim, and both respectively. However when inserting a specific sim card, its different. When I do a AT+CPMS=?, I get ("MT","IM","OM","BM","DM"), ("OM","DM"),("IM") I know what MT is, and BM is for broadcast messages. What does "OM" and "DM" stand for and what are their relations to

Telephony parameters not available through framework APIs

主宰稳场 提交于 2019-12-10 09:39:28
问题 I have to fetch the info related to following Telephony parameters: BCCH, Band, DL ARFCN,UL ARFCN, BLER, MOS DL, MOS UL, Txpwr & Handover Parameters. I searched a lot but didn't find any way to get this information through APIs. There may be some other ways (I am not sure), like: Using AT command. Using AIDL, talk to RIL & fetch the info. Using NDK, write c code which will directly talk to modem/low level implementation. But I don't know which is the right way or how to proceed with the right

How to read incoming messages from GSM Modem in JAVA

走远了吗. 提交于 2019-12-08 11:50:29
问题 package pack1; import java.io.*; import java.util.*; import javax.comm.*; public class Java_SerialCommTest1 implements Runnable, SerialPortEventListener { public void run() {} static Enumeration portList; static CommPortIdentifier portId; static String messageString = "My Message to be sent"; static char ch = '"'; static String dest = "*********"; // 10 Digit Mobile Number. static InputStream inputStream; static SerialPort serialPort; static OutputStream outputStream; public void serialEvent