need help with pcmcia gsm card
when i start route 66 i need a program that initialize pcmcia gsm card
on com port 4, card is ubinetics gc201, the card need to be in
following mode, at+cnmi=1,2,0,0,0 and at+cmgf=1 this makes sms
forwarding to com 4 as a text message, can anybody help me ?
sincerly jesper |
Request for Question Clarification by
mathtalk-ga
on
30 Jul 2003 15:25 PDT
Hi, scro-ga/jesper:
I'd be pleased to assist you with this question. However I will need
you to clarify a few points.
Is this the "laptop only" PCMCIA Ubinetics GC201 GSM phone card?
What operating system are you running on your laptop?
Is the card known to be initialized to use COM port 4, or is part of
your question whether you can force the intialization to use that
port?
Would you be satisfied with some manual instructions on how to send
the prescribed "AT" commands to the card, or is it required to have a
"program" to do this?
regards, mathtalk-ga
|
Clarification of Question by
scro-ga
on
30 Jul 2003 16:44 PDT
One more thing
the phone card is at com 3, no need to force it there.
route 66 can se the card but not speak to it. (the 2 at commands does it possible)
sincerly
jesper rødtnæs
|
Clarification of Question by
scro-ga
on
30 Jul 2003 16:58 PDT
Ups I gave some personal info and my reply to you where trashed.
yes it is the laptop only gsm card.
windows xp
The card is on com 3 sorry for the wrong info.
Dont need to force it to com 3 it is on com 3.
route 66 can se the card but no info are forwarded to route 66.
when i open hyper terminal the at commands works on the gc201, but
when ht i closed the modem turns down and looses all info on commands.
When i open route 66 it turns on the modem and then when modem it
ready the at command must be sent to it.
Then modem and route 66 are "talking same language"
I want to use the gc201 as a modem to forward sms messages that
contain gps string.
Have done this with a eriksson gsm phone and cable on com port and it
works.
sincerly
jesper rødtnæs
|
Clarification of Question by
scro-ga
on
30 Jul 2003 17:06 PDT
If you want to do the programming for a nokia d211 gsm card, we can do that.
I have a brand new one, and all software, just for solving this problem.
Its your call
sincerly
jesper rødtnæs
|
Clarification of Question by
scro-ga
on
31 Jul 2003 02:10 PDT
hi mathtalk
is it not possible to make a small program that sets the at commands?
sincerly jesper
|
Request for Question Clarification by
mathtalk-ga
on
31 Jul 2003 07:36 PDT
Hi, Jesper:
Yes, it is certainly possible to do this. But I thought that your
motive for doing so was in order to be able to obtain GPS data from
the card for Route 66.
While you can set the Ubinetics GC201 card to forward SMS "messages"
to the COM port, unless the card supports the NMEA (National Marine
Electronics Association) 01803 protocol (version 2.0 or later), most
dynamic mapping software like Route 66 will be unable to interface
with it.
I could find no evidence that the Ubinetics GC201 PCMCIA card has a
GPS receiver built into it, much less that it supports the NMEA
standard.
You obviously are aware of Hyperterminal as a "tool" for issuing the
AT commands to the card, and I can certainly elaborate on the
limitations and usefulness of that tool. I could even write you a
program (in almost any language you want) that will issue the commands
to the card through COM port 3. But I believe the failure of Route 66
to work with your card(s) is more fundamental.
regards, mathtalk-ga
|
Request for Question Clarification by
mathtalk-ga
on
31 Jul 2003 07:40 PDT
Hi, Jesper:
One other thing: A "patch" seems to be required to make the Ubinetics
driver work under Windows XP. It sounds like you probably already
have this, but if not I'd be glad to provide (as a free comment) a
link to the eXpansys forum where the support for Ubinetics has moved
(and where the patch is available).
regards, mathtalk-ga
|
Clarification of Question by
scro-ga
on
31 Jul 2003 09:39 PDT
hi mathtalk
there is no gps in gc201, but it supports gsm, and i have a unit in a
car that provides those sms (gps strings).
The unit I have is sending gps string in a sms, and I have tryed with
a nokia 6210 gsm phone and a seriel cable on my com 3 and route 66
accepts these sms as if it was a gps. The nokia 6210 is also a "real
modem phone"
Can you do java programming?
Nokia phone card d211 has a feature where you can do your own java
program, and then you can make the d211 phone card act the way I want
it to.
I have a gps that provides a cpu with verified positions, the cpu
delivers to the phone, the phone makes a sms containing the gps data,
and then the sms is send to the gc201 card.
It works. Hyper terminal was open so I saw the message.
So my conclusion is that gc201 can do the job.
But now gc201 must be connected to route 66.
When gc201 runs in default settings, it runs in pdu mode, no good.
Route 66 dont understand pdu, only text mode.
The commands at+cmgf=1 set the gc201 in text mode
Then gc201 need to know what is it going to do with the sms, the
at+cnmi=1,2,0,0,0 tell it to
1= discard indication and reject new received messages unsolicited
result codes when modem DTE link is reserved(e.g. in on line data
mode). Otherwise forward them directly to the DTE.
2= sms deliver are routed directly to the DTE using unsolicited result
code +CMT
0= no CBM indications are routed to the DTE
0= no sms status reports are routed to the DTE
0= modem buffer of unsolicited results codes defined within this
command is flushed to the DTE when <mode> 1-3 is entered
Hope this makes more sense, because it WERY difficult to explain.
But if you can do java programs why no do it on the nokia card then?
This problem MUST be solved, I need the solution badly.
Sincerly jesper Rødtnæs
|
Clarification of Question by
scro-ga
on
31 Jul 2003 09:43 PDT
Hi mathtalk
And yes I have the xp driver for gc201, and it works wine as a gsm phone.
I use ubinetics phone tool, this works ok.
Sms and phone call is perfekt.
Sincerly jesper rødtnæs
|
Clarification of Question by
scro-ga
on
31 Jul 2003 09:47 PDT
Hi mathtalk
I am from denmark and time here now is 6:49 pm.
So I hope you bare with my school english, and maby the slow anwsers
because of time differens.
Sincerly
jesper rødtnæs
|
Request for Question Clarification by
mathtalk-ga
on
31 Jul 2003 11:21 PDT
I'll be happy to praise your English language skills, as they far exceed my Danish!
Okay, I think we might be able to make this work.
regards, mathtalk
|
Clarification of Question by
scro-ga
on
31 Jul 2003 12:50 PDT
Hi mathtalk
YOUR THE MANN (or woman)!
Remember to see the International space station, me and the kids did
se i for the first time yesterday.
Nasa homepage provides you with sighting information
sincerly jesper rødtnæs
|
Request for Question Clarification by
mathtalk-ga
on
01 Aug 2003 11:20 PDT
Hi, Jesper:
Before we invest too much in the Java programming or other efforts,
let's return to the Hyperterminal experiment.
If it is going to work, then it should work as well with issuing the
configuration commands through Hyperterminal as it will with any other
terminal. However I think I know what went wrong before, and I'm
going to suggest a seemingly minor change for you to try.
Make sure the GSM card is installed and initialized, using whatever
utilities and drivers came bundled with the card. Now open
Hyperterminal and create a new connection (or edit an old one that you
may have created for this purpose).
Notice the drop down list at the bottom of the "Connect to" dialog
that says:
Connect using:
At the top of the list you'll probably see any real modem as well as
the Ubinetics card. Don't use that. Instead, go down the list to
where it says:
Direct to COM3
(or whatever port the PCMCIA card is redirecting to). Now issue your
"AT" commands, and view the SMS output briefly to make sure the
location information is coming across from the unit in your car. (It
would be helpful to identify the make and model of this GPS unit so
that we can verify its level of NMEA compliance.)
Now when you close the Hyperterminal connection, it should not "hang
up" the phone call. I think the difference is, when you open a
Hyperterminal connection for a modem, it will by default "hang up" the
connection when you close it as a convenience... otherwise many people
(like myself) would absent-mindedly forget to do this.
So it's basically what you did before, except perhaps using "Direct to
COM3" as the device.
I found this "tip" among the suggestions listed on this Ubinetics
GC201 forum at eXpansys.com:
[Ubinetics GC201 Forum]
http://www.expansys.com/forum.asp?code=UBIN-GC201
[GC201 - Tips and Tricks]
http://www.expansys.com/forumthread.asp?code=UBIN-GC201&thread=4
You will need to establish the phone call between your PCMCIA card the
location device in your car. Without knowing the make and model of
that device, it's hard to guess how that connection is best
established.
Let me know how this works, and we can proceed accordingly.
regards, mathtalk-ga
|
Clarification of Question by
scro-ga
on
01 Aug 2003 13:39 PDT
hi mathtalk
I did what you mention, com 3 direkt (card is on com 3 cheked it), at
commands are written, sms are send to the gc201 card, recieves sms god
and properly.
BUT when i want to exit hyper terminal the gc201 is turned off and
goes back to default.
sincerly jesper rødtnæs
|
Request for Question Clarification by
mathtalk-ga
on
03 Aug 2003 19:34 PDT
Hi, Jesper:
I have contacted the sellers (Eltima) of a software program for
Windows XP to verify that it will do what I outlined in my last
Comment, ie. to share the GPS information provided through the virtual
serial port of the Ubinetics GC201 between two applications: one
(Hyperterminal) with read/write access and one (Route 66) with read
only access.
Since you are fluent in Danish (Dansk), I think you would be better
able than I to follow the discussion on the thread at this site:
http://www.kandu.dk/dk/news/274272/groupid/20215
which seems to be related.
regards, mathtalk-ga
|
Clarification of Question by
scro-ga
on
04 Aug 2003 02:00 PDT
Hi mathtalk
I will go to the danish forum you provided and ask qusitions, trying
to find out any solutions, I keep you informed with the answers.
lets try the "DIRTY" way.
Look forward to hear from you.
sincerly
jesper rødtnæs
|
Request for Question Clarification by
mathtalk-ga
on
05 Aug 2003 12:07 PDT
Hi, Jesper:
I received this email reply from the developer of Serial Splitter:
****************************************************
Serial Splitter 2.0 uses common WinAPI functions (CreateFile, ReadFile
and WriteFile) for accessing serial port which should be replicated.
This means, that any port (including existing virtual one) could be
replicated without any problems.
I hope I have answered your question. Please, feel free to contact me
further.
Best Regards,
Vitaliy Golubenko.
-------------------
ELTIMA Software GmbH,
4 Georg-Wilhelm str.
10711 Berlin, Germany
http://www.eltima.com
****************************************
I suggest you download the trial version from their Web site, here:
[Eltima -- Serial Splitter 2.0]
http://www.eltima.com/splitter.php
which has a 14 day free trial period, and see if it works. The idea
would be to configure it to pick up the COM3 interface provided by the
Ubinetics GC201 card and propagate that into (say) a COM2 (read/write)
interface for Hyperterminal and a COM4 (read only) interface for Route
66 to acquire.
Let me know of your progress...
regards, mathtalk-ga
|
Clarification of Question by
scro-ga
on
13 Aug 2003 14:08 PDT
Hi Mathtalk
I tryed what you said, but it does not work.
Installed the serial splitter (no problem).
Then I opened the ht and then the route 66, did not work.
Then I tryed to open the route 66 and then ht, did not work.
Off course I installed the right com port for the route 66 and ht,
tryed in many combinations but with no sucess.
And good ideas ?
sincerly jesper
|
Request for Question Clarification by
mathtalk-ga
on
14 Aug 2003 06:26 PDT
Probably the most expeditious thing is for me to report the results to
the developer and get his feedback. He might be willing to license
the source code for a "one off" application, provided he gets the
benefit of enhancement to use in his code. I can always ask, at any
rate!
I'll provide the info about my own experiences with Serial Splitter,
but if you could be a bit more precise about what ports you set Serial
Splitter up to "virtualize" (and whether Hyperterminal was able to see
them at all), then I could round out the report with you experiences
also.
regards, mathtalk
|