Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 339
  • Last Modified:

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

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
saudiprogrammer
Asked:
saudiprogrammer
  • 3
  • 2
1 Solution
 
ozymandiasCommented:
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
 
saudiprogrammerAuthor Commented:
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
 
ozymandiasCommented:
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
 
saudiprogrammerAuthor Commented:
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
 
ozymandiasCommented:
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now