modem

ITAPI3 Sending and Receiving Data

ぃ、小莉子 提交于 2019-12-24 09:39:12
问题 I am attempting to create an application that will call a remote modem and do some data transfer (custom data in the form of byte arrays). I am using JulMar's ITapi3 wrapper and c# 4.0 running on Windows 7 64Bit OS (Compiling as x86). I have the application making the phone call and disconnecting as I expect but I am having trouble actually sending data across the line. Currently I have the following code in the CallStateChanged event when the call state is connected var handleArray =

Sending SMS using GSM Modem

限于喜欢 提交于 2019-12-24 04:31:39
问题 i wanna create a form that can send sms to multiple recipient, i've created a form that uses javascript to add or remove textbox dynamically, this code successfully send sms when i fill one recipient number, but fails to send more than one recipient, and i want to know how do i make this form sends sms towards multiple user as i try to make it send sms to more than one user by making it loop, i get this error, Can someone help? Warning: Invalid argument supplied for foreach() <SCRIPT language

Multiprocess with Serial Object as Parameter

ぃ、小莉子 提交于 2019-12-23 19:08:59
问题 I'm having a problem with Python and passing a serial object as a parameter to a separate process. The program is being run in Windows 8, so using global variables isn't an option. from multiprocessing import Queue from multiprocessing import Process import os import serial from serial.tools import list_ports from time import sleep displayMessages = Queue() modemPort = None def processDisplayMessages(displayMessages): while True: msg = displayMessages.get() #should halt until message in queue

How to I detect whether a tty belonging to a gsm/3g-modem is a data or control port?

别来无恙 提交于 2019-12-22 05:20:47
问题 I'm currently writing a small tool for a linux router that sets up a wwan (gsm/3g) connection when I plug an appropriate modem into its USB port. When the device is plugged in several ttys are registered and I currently maintain a list of manufacturers and devices and which of their registered ttys is the control / data port. If possible I want to get rid of this list and find a way to somehow probe the registered ttys directly to check if they are a control port or a data port. I examined

Open com port in php

主宰稳场 提交于 2019-12-18 17:08:31
问题 I have a usb 3G modem Huawei E1550 and Windows XP. I want to send sms with this modem trhow php. I use this function to open a modem com port: $fp = fopen ("COM3:", "wb+"); if (!$fp) { echo "Not open"; } else { echo "Open"; } And every time I get a error: Warning: fopen(COM3:) [function.fopen]: failed to open stream: Invalid argument in D:\Apache\htdocs\z91.ru\audio\test.php on line 3 回答1: You can also try removing the colon next to the COMn for this to work exec("mode COM3 BAUD=9600 PARITY=N

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

余生长醉 提交于 2019-12-16 22:17:16
问题 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 =

Send SMS from jailbroken iPhone

僤鯓⒐⒋嵵緔 提交于 2019-12-14 04:25:50
问题 What is the best way to programmatically send an SMS from the iPhone? Talking to the modem on /dev/tty.debug or using private API are options. I want to make a command line SMS utility, and I want it to work on 3.x -> 4.x iOS. Also I couldn't make it work with AT+CMGF=1 & AT+CMGS="[PHONE_NUM]"\r\n[MSG]\x1A (Talking to tty.debug, iPhone 3GS iOS 4.1). 回答1: You can probably have a look at this project which seems to achieve what you want: http://code.google.com/p/iphone-sms/ 来源: https:/

Voice call through GSM modem

北城以北 提交于 2019-12-13 11:44:51
问题 I would like to use a GSM modem to make a voice call to a phone number, play a recorded message, wait for a digit to be pressed and then disconnect the call. The system needs to know if the line was busy, if the user answered and which digit was pressed by user (if any). It should drop the line if nothing is pressed in 30 seconds. If user presses the digit before the question is completed then the voice should stop (user doesn't have to wait). Also, it would be nice if system could handle

how to send sms via a dual sim mobile using serial port

。_饼干妹妹 提交于 2019-12-13 09:10:16
问题 I am sending sms to recipients using following code private void button1_Click(object sender, EventArgs e) { var com5 = new SerialPort("COM5"); if (!com5.IsOpen) com5.Open(); com5.WriteLine("AT" + Environment.NewLine); com5.WriteLine("AT+CMGF=1" + Environment.NewLine); com5.WriteLine("AT+CMGS=\"" + 03132449297 + "\"" + Environment.NewLine); com5.WriteLine("Kashif bhai aap mujhsay kiya kehna chah rahay hen?" + (char)26); com5.Close(); } my problem is: If i use a single sim mobile usb modem to

What are the information that can GSM modem get?

随声附和 提交于 2019-12-13 04:34:38
问题 I want to know about GSM modems . I need low level info. Can the modem get me Layer 3 Messages, Rx and Tx level, Rx Qual. , C/I , BCCH , BISC , ARFCN and ... Edit Note: I'm not asking about embedded modems only, I'm asking on both embedded and external modems. Thanks and Best Regards 回答1: Your best bet for low level information is AT commands. See the answer to this SO question for specific commands for the information that you want. Although it's about Android, you can assess AT commands on