LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

connecting a mobail to use as a GSM modem


Hi All,

 

I want to ask if I can connect a mobile (or smart phone) to LabVIEW and use it to send SMS from LabVIEW??

And if I can, what should I do and what application from LabVIEW 8 should I use??

 

Please attach any sample program if there is.


Regards,

Abdo

0 Kudos
Message 1 of 6
(3,501 Views)


@Abdo wrote:

I want to ask if I can connect a mobile (or smart phone) to LabVIEW and use it to send SMS from LabVIEW??

And if I can, what should I do and what application from LabVIEW 8 should I use??

 

Please attach any sample program if there is.


This depends on a lot of things. What mobile do you have? What GSM or mobile provider? etc.

Traditionally some mobile phones could be connected to a computer through a data cable. Sometimes that connection was a proprietary protocol (older Nokia models as well as Ericson and what else) sometimes it is a serial port (most Siemens models with modem functionality) or in newer models (e.g. Motorola) an USB connection that appears to be a serial port to the computer applications.
For proprietary ports you need to access the DLL provided by the telephone manufacturer.
For serial communication ports there is an ETSI standard that extends the well known AT commands for modem control. Each manufacturer implements this ETSI standard to a more or less complete degree and adds its own command extensions to this.
If your cell phone supports the serial port route you would use VISA functions to send the ETSI AT-commands to the phone and receive the answers.

Controlling modems in general and GSM phones in special over the AT commands is not very trivial but definitely easier than trying to get the information about proprietary protocols and accessing them.

Rolf Kalbermatter
Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 6
(3,487 Views)

Hi all,

I want you to know that I am using Sony Ericsson W800i mobile which has internal modem. I can connect it to PC via USB cable.

I installed all the driver needed, I want to know how can I send the AT command to the mobile using LabVIEW ?

 

If there are any sample programs for sending AT command or sending SMS using the AT commands please attach it or send it to my email.

 

Regards,

Abdo

 

Abdelrahim.ahmed@hotmail.com

 

0 Kudos
Message 3 of 6
(3,465 Views)


@Abdo wrote:

Hi all,

I want you to know that I am using Sony Ericsson W800i mobile which has internal modem. I can connect it to PC via USB cable.

I installed all the driver needed, I want to know how can I send the AT command to the mobile using LabVIEW ?

 

If there are any sample programs for sending AT command or sending SMS using the AT commands please attach it or send it to my email.

 



I'm not familiar with your modem. If the USB drivers that come with your modem install a virtual COM port on your system you would use VISA functions to communicate with your modem through this virtual COM port. In that case the specifications of the AT commands should be enclosed in your documentation or downloadable from Sony Ericson. Trying to use the ETSI standard for GSM control (which you can find and download from http://www.etsi.org/), while possible is only a second class solution since most GSM modemmanufacturers use the ETSI standard as a guideline only.

And about sample programs, I'm sorry. What I have developed only works on Wavecom modems, and has been developed for two specific applications. While the code as is wouldn't help you to much anyhow I'm afraid, I can't give it out like that. There has been considerable time and effort put into those VIs and distributing them for free is not possible.

Rolf Kalbermatter

Message Edited by rolfk on 04-05-2006 01:11 PM

Rolf Kalbermatter
My Blog
0 Kudos
Message 4 of 6
(3,463 Views)
thanx alot for your help .. i will try to run the system and i will put the results soon.
 
thanx againe bro.
 
 
 
Abdo
0 Kudos
Message 5 of 6
(3,452 Views)
Most of the GSM phones have some sort of modem in them. Once you have connected to PC with a serial or USB cable, you should be able to communicate with the modem via serial port (through VISA, for example). For testing purposes, I would advice using MAX (Devices&Interfaces -> Ports -> COMx (select the right one), ensure the communication parameters are correct -> Validate them -> Open VISA test panel.
 
The modems are usually AT-compatible. For example, you can send "AT\r" (by \r I mean you need to add carriage return to the string "AT") and you will get an "\r\nOK\r\n" back. There are many commands tha are standard (refer to GSM 07.07 or go to http://www.3gpp.org/, for example), and some that are manufacturer-specific (e.g. embedded TCP/IP stack).
 
If you do not have the time for making a library of your own, there are also libraries exist. They do some or most of the job for you, but they are not free (including my own at www.lysko.com -> products). The other option is development of your specific application- might be even less expensive.
0 Kudos
Message 6 of 6
(3,343 Views)