modem

Establish & Receive Calls via a GSM modem in PHP

隐身守侯 提交于 2019-12-01 07:06:32
问题 I am having a CRM (Customer Relationship Management Software) built on php and running it on localhost (windows XP system). This contains the list of my clients. I want to be able to call these clients directly from my CRM and keep a log of the same. (Call time, call duration and record the calls). For incoming calls, I should be able to link it to my CRM, display the client details and log the data. I have a voice enabled 3G GSM Modem (with USB connector) which can be used for this purpose.

How to send SMS by GSM modem in PDU mode?

半世苍凉 提交于 2019-12-01 06:54:42
问题 I want to send SMSs in PDU mode. I have checked the spec for my modem, and it supports PDU mode. I have developed a PDU encoder and decoder, but now I do not know how to send data to my modem. I tried these AT commands: AT AT+CMGF=0 after sending these commands I sent the PDU data like this: AT+CMGW="16079189390500410011000C918939050000000000AA02E834" I have checked the correctness of this PDU using this online tool : http://www.twit88.com/home/utility/sms-pdu-encode-decode but after sending

How to get Caller ID in C#?

时光毁灭记忆、已成空白 提交于 2019-11-29 09:08:11
问题 I want to use 56K modem for getting telephone number of who calls the home phone. Is there a way to achieve this with C# ? 回答1: Not all modems support caller ID. And for those that do, the implementation varies between manufacturers. There caller ID is passed through the serial data so you will have to use the TAPI library (or Windows' HyperTerminal to test it). The caller ID number typically appears between the first and the second ring. You will need to issue a command to the modem to

Hayes AT Commands: Detect Remote Hangup?

社会主义新天地 提交于 2019-11-28 06:13:21
问题 How are you supposed to programatically detect when the remote modem on your call hangs up? I am writing a C program which interfaces with a SoftModem device /dev/ttySL0 in Ubuntu linux. I am able to configure the modem using Hayes AT commands and communicate with the remote modem. However, I haven't been able to determine how I'm supposed to detect that the other end has hung up the line. I have the modem configured so that when the other end hangs up, the device prints NO CARRIER and

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);

How does Modem code talk to Android code

别来无恙 提交于 2019-11-26 22:31:32
问题 I would like to know high level idea of how Android Modem code will call/pass message to Android application layer. Say we take SMS for example. If network sends SMS and Modem (say Qualcomm C code parses it) how is it transmitted to Android Application layer? Is there always a JNI call happening? as interface between modem and Android? Can you please share the information with us. Thanks 回答1: In almost all android source base as found in the AOSP/CAF/CM source (Android Open Source Project,

Which standard specifies the AT&W AT command?

本秂侑毒 提交于 2019-11-26 17:24:43
问题 While discussing how to process AT commands with a colleague, we discovered that contrary to our belief the command AT&W (store user profile) is not specified in V.250 (it only specifies ATZ and AT&F , which are related), leaving us wondering - where is it specified then? Update: Yes, we expected the command to have its origin in the Hayes command set, virtually all the basic syntax commands does. However, most of the Hayes command have been imported into formal standards like V.250 by ITU or

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

筅森魡賤 提交于 2019-11-26 12:33:50
问题 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\". 回答1: 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

Full examples of using pySerial package [closed]

我的未来我决定 提交于 2019-11-26 06:11:17
问题 Can someone please show me a full python sample code that uses pyserial , i have the package and am wondering how to send the AT commands and read them back! 回答1: Blog post Serial RS232 connections in Python import time import serial # configure the serial connections (the parameters differs on the device you are connecting to) ser = serial.Serial( port='/dev/ttyUSB1', baudrate=9600, parity=serial.PARITY_ODD, stopbits=serial.STOPBITS_TWO, bytesize=serial.SEVENBITS ) ser.isOpen() print 'Enter

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 =