Solved

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

Posted on 2006-11-17
6
321 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 15

Expert Comment

by:ozymandias
ID: 17969075
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
ID: 17970870
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
ID: 17970887
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
ID: 17970905
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
ID: 17970917
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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

752 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