LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SMS Application - Hardware:GSM Modem & Software:LabView



@Dennis Knutson wrote:

Apple,

Your questions are getting more confusing. When I refered you to this post, I didn't notice that you had already posted to it quite a while ago. Are you attempting to call a cellular phone from your pc or are you attempting to control your Nokia phone from the pc. Those are two different tasks. If you want the ability to call any phone, then add a GSM modem to the pc. The Nokia phone driver has nothing to do with that sort of task.

Message Edited by Dennis Knutson on 02-05-2007 07:07 AM


Dennis, I agree that Apple's postings are a bit inconsistent and generally spring onto any topic that has to do in some ways with cellular phones.

However, functionality wise I think there is not a big difference between controlling a specific GSM modem or a GSM mobile phone. My old Siemens mobile phone had an RS-232 interface with a somewhat similar AT command set to the Wavecom commands. But Siemens being Siemens had a few other ideas about implementing some more advanced commands for SMS retrieval, reading, storing than Wavecom eventhough there also existed an ETSI variant for those commands.

The difficulty with Nokia at least in the past was that they had their own proprietary communication interface with special drivers that had to be installed and officially you could not interface those drivers, but some open source projects existed that accessed those drivers anyhow so you could relatively easily reverse engineer that to be used in LabVIEW (which I never did).

I'm not sure how that is nowadays both with Nokia in general and with modern phones having USB or bluetooth interfaces instead of RS-232 or proprietary 2 channel serial links. Could try my Motorola but then I would first have to get a bluetooth interface for my compi.

Rolf Kalbermatter

Rolf Kalbermatter
My Blog
Message 31 of 82
(6,412 Views)
Ok, just for anyone who might look for this again in the future. I did check my Motorola V600 device with a cheap bluetooth adapter I had somewhere laying around and it does seem that the standard way for at least this device is to be installed and connected to as a modem under Windows. That means from within LabVIEW you simply connect to the phone through serial VISA using the virtual COM port that is assigned to this modem connection.
 
The communication protocol itself seems AT style commands but some research seems to indicate that the commands Motorola uses may not always match the ones other manufacturers use. On motodev the interested person can register and download a number of AT command reference documents for the different services (standard AT, Fax/Voice, and SMS) that should work for all Motorola phones.
 
It does seem there is another protocol to connect to this phone called P2K with more capabilities but I have not investigated further with that.
 
Good luck for anyone trying this.
 
Rolf Kalbermatter
Rolf Kalbermatter
My Blog
Message 32 of 82
(6,397 Views)

Hi,

I followed your discussions about the SMS sending via GSM modem, and wandring if you can help me a litle. I will appriciate any kind of help. My question is:

How can I use GS64 modem (connected to a PC via RS232) to send and receive an SMS (the SMS will contains some configurations as an ASCII codes), and have the opportunity to send and receive info. to and from the GPRS via IP address (both dynamic and fixed IP address).

With my regards

Dlawer Marouf

0 Kudos
Message 33 of 82
(6,306 Views)


@dlawer wrote:

Hi,

I followed your discussions about the SMS sending via GSM modem, and wandring if you can help me a litle. I will appriciate any kind of help. My question is:

How can I use GS64 modem (connected to a PC via RS232) to send and receive an SMS (the SMS will contains some configurations as an ASCII codes), and have the opportunity to send and receive info. to and from the GPRS via IP address (both dynamic and fixed IP address).



Sorry, can't help you. I have no idea what kind of modem you are using. But a good idea is to go and get the command reference manual of any modem if you want to program it and read through it. If there is no command reference manual, which I would doubt for a RS-232 connected modem, then you can always try the ETSI documentation, but that is typically quite a bit trial and error as I have not yet found a GSM modem that follows the ETSI standard to the letter. So without a command reference manual you are in deep trouble for sure.

If your modem is mostly ETSI standard compatible, then there are various toolkits such as at http://www.citengineering.com/pagesEN/products/sms.aspx you can buy to get a jump start into communicating with such a modem. That is not to say you can't develop your own VIs but typically that will cost you some serious time and therefore it is up to you to decide how expensive your own time is.

Rolf Kalbermatter
Rolf Kalbermatter
My Blog
Message 34 of 82
(6,293 Views)
hi' all
          Now i also use GPRS MODEM whit Labview for SMS project. I use Wavecom m1306b gprs modem problem is it can send only 160 char.
i try to send in PDU mode also but it can't send more. actually i want to send message more than 200 char.
          any body can help me? Please.

Thank.
Power boy
0 Kudos
Message 35 of 82
(6,098 Views)

Hai,

I have developed an application similar to this.  I have used the Gxxx combo module for sea.  it plugs into compact rio and provides all the functionalities of the GSM and GPRS.   Functionalities like SMS , Data transfer can be done through this.  It also provides vi's to query message status and arrival of messages.

Visit www.teltonika.it for GSM modems to connect to PC via com port.  AT commands can be used to send and recive the sms through this GSM modem.

With regards

JK

With regards,
JK
(Certified LabVIEW Developer)
Give Kudos for Good Answers, and Mark it a solution if your problem is solved.
Message 36 of 82
(6,090 Views)

Hi all...

This is my first time using LabView and I need you all help for how to building an application to send SMS using LabView and a Wavecom Fastrack Modem (a GSM modem using RS-232). If possibly, i need you all who have a example vi for this application and send it to me, please!!! Urgently! my email aloon83@hotmail.com

Appreciate for you all help!!!

Thank you,

aloon....

0 Kudos
Message 37 of 82
(5,115 Views)


@aloon wrote:

Hi all...

This is my first time using LabView and I need you all help for how to building an application to send SMS using LabView and a Wavecom Fastrack Modem (a GSM modem using RS-232). If possibly, i need you all who have a example vi for this application and send it to me, please!!! Urgently! my email aloon83@hotmail.com

Appreciate for you all help!!!

Thank you,


There are several more or less working GSM modem VI libraries out there, even free ones. Most modems use the AT command set for SMS services as specified in the ETSI GSM 07.05/07.07 standard. There are usually small deviations in the exact syntax or behaviour of those commands between manufacturers but it is possible to write one single library that can talk to most modems if all you want to do is sending off SMS.

You can ceratinly look here, and on www.lavag.org to see if you can find those libraries. There are also commercial libraries such as http://www.citengineering.com/pagesEN/products/sms.aspx. Without saying it is perfect with most of these libraries you do get what you pay for.

One last note: Urging readers on fora like this to send you VIs, files or such is considered by most including me bad behaviour. If you have a problem and show what you have done so far to get something working on your own, most here are much more likely to help you to understand what you have to do yourself to make it fully work.

Rolf Kalbermatter


Message Edited by rolfk on 07-29-2008 08:31 PM
Rolf Kalbermatter
My Blog
Message 38 of 82
(5,107 Views)

Hi all,

Need you help for the AT command write to Labview! I don't know how to write the AT command to labview to send the message to my phone?

However i had try the ATD <phone no>; command, its can work and ring my handphone. But when i want send the message, the command steps is first AT+CMGF=1,

then AT+CMGS="phone no"....then enter the message want to sent! My problem is how can i write the commands by using the LabView(the step)?

Appreciate you help!!

 

Thanks,

al:):)n....

0 Kudos
Message 39 of 82
(4,776 Views)

As mentioned, use the VISA functions. Take a look at VISA examples.

I suggest you first send a SMS with hyperterminal, then try with Labview

Message 40 of 82
(4,761 Views)