Solved

hello all im having a huge trouble dealing with my PCMCIA Card

Posted on 2006-11-17
6
284 Views
Last Modified: 2008-02-01
hello all, this is my first query here, im trying to use a GPRS PCMCIA card to send and recieve sms msgs, im trying to do it with .net C# 2005, first i want the program to idle until sms is recieved (have it like a system tray program) i have no idea how to do this. then, i want the program to read the msg and save it in a string (will be easy if i could fetch the msg from the GPRS card) then send it to another computer depending on some calculation that i have in mind. i know guys there is more than one question, but please help me im really in need. thanks alot
0
Comment
Question by:saudiprogrammer
  • 3
  • 2
6 Comments
 
LVL 15

Expert Comment

by:ozymandias
Comment Utility
What makes you think this is possible using C# ?
Do you have some interface that will allow you to talk directly to this to this PCMCIA GPRS card ?
0
 

Author Comment

by:saudiprogrammer
Comment Utility
well i have tried the heyas commands, and i have found a library called system.io.ports but i dont know how to use it. C# is a hi and low level lanaguage i think its possible to do it with c#.
0
 
LVL 15

Expert Comment

by:ozymandias
Comment Utility
You are not going to be able to do this in C#.
I don't think System.IO.Ports addresses PCMCIA devices.

You may be able to address the device using calls to Native win32 dlls called from within your C#, but without a proper driver or API for the card how will you know how to address it ?
0
 

Author Comment

by:saudiprogrammer
Comment Utility
well if you take a look at windows hyper terminal you can address the pcimcia card with commands like at++ and so on. but these arent standard. well the hyper terminal doesnt tell you when a new sms msg arrives. do you have any ideas ?
0
 
LVL 15

Accepted Solution

by:
ozymandias earned 500 total points
Comment Utility
You can address the pcmcia card using hyperterminal because the pcmcia card has been installed as a modem and had a port bound to it.
That only allows you to use it as a geneic modem.
That interface has no idea that the device is GPRS or that it can received/send text messages.

To use the text messaging features yeo need to be able to address the radio and sim interfaces of the card.
For this you need a special driver.
A driver like this will have come with the card but it will be specific to the card.
The driver will be native code so you will have to work out how to import and load it in C#.
Even if you can do this, there is no guarantee that this driver has an open or documented interface.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now