Anybody interested in an XDA as infrared datamodem? - Windows Mobile Development and Hacking General

Is anybody interested in this?
If there are some votes I could build an application which provides a infrared to datamodem proxy.
UnKnOwN

This feature is already part of the new 3.16 ROMs currently under test.

Thx for the info.
UnKnOwN

If you are looking for a project, would you consider this?
I have a tracking unit in my car. I can send it an SMS message from my XDA and it will return a full GPS NMEA string with a header. Can anyone tell me the feasability of writing an application that could post this incoming data directly to the TomTom maps program and display the vehicles exact position at street level.
The GPS application supplied with TomTom maps can obviously do this with streaming NMEA strings through the serial port.
If this application is possible I think there is a lot of potential. I am in the telematics business and I know that the majority of tracking devices work the same way.
John Bateman
[email protected]globalnet.co.uk

I think it's possible to write this application. All you have to do is to build a virtual serial port driver in Platform Builder and to check incoming SMS messages in a user level application.
If you are interested in a real bussiness project just let me know.
John

hi @all
a REALY GOOD project would be to use the WM as GSM Gateway. that would be the HIT
best regards
noway

Related

Data Call between two XDA's

Hi
I am new to this form.
I had a look at the tsril.zip example as it seems from this forum that to make/receive a data call the ril is the only option. Unfortunately the documentation for ril is nonexistent and I want to ask if someone has done an example of a client/server data call, data transfer between to XDA's.
Thanks in advance.
Anton
It all depends on what type of data you want to transfer. I have never used RIL so I don't know the advantages of it, over the normal programming interface. I say normal, not thinking there is anything wrong with RIL but the little I do know is that RIL is operating system level and is normally hidden from the application programmer. There must be times when RIL must be used if Microsoft forgot functions in the normal APIs.
However I would say that for a data link between 2 devices then RAS seems the way forward. One device would be the Server and the other the Client. I have only ever programmed RAS from the client side, making a Telnet link to an already running server.
I just had a look at the help on Embedded Visual C++ 3.0 and under 'Creating a TCP Stream Socket Application' it explains the server side and then links to the client side. Have a read there.
RAS is not an option as it is a server consept, which I think does not even exist as a service on the desktop windows os let alone on a Pocket PC.
What I am looking for is something similar that you would be able to do with a landline modem or a gsm modem connected to a serial port of a pc (even a usb modem) which is to send AT commands to make/accept a call and then to make use of the serial port as if it is an io stream. This is possible on windows, linux using either c#, c++ or java. I can even do this with an embedded gsm module like the siemens TC45 java module.
What I can not understand is why Microsoft and the XDA suppliers (I am using a Qtex running Pocket PC 2002) is making it so difficult to make/answer a data call and let you run your own protocol over the connected stream.
RAS (Remote Access Services) is built into all Windows Operating Systems, including Windows CE. Did you look up the help example I pointed to ? What you do with RAS on an application level is for you to code but the connection itself is handled by the operating system.
As to making a connection similer to a modem and using AT commands. Then no you can't use AT commands directly, but you don't need to. To get that type of connection you need to use TAPI. Once Tapi has made a DATA_MODEM type connection, you use the TAPI callback connect event to then ask for a file handle that you can use with the normal WriteFile and ReadFile commands.
I already have something on this forum about that see:-
http://forum.xda-developers.com/viewtopic.php?p=7857&highlight=#7857
The problem is not so much making the data call but it is accepting/answering the data call that I can not get working on the XDA
Not sure if this is your problem, but in Australia they have a seperate "data" phone number for the same SIM. If yo call one number you get voice, if you call another number you get data on the same sim. Not sure if this may be effecting you.
I just looked into all this ras stuff a bit deeper, and yes I think I may of been talking rubbish. Although RAS does exist in PPC2002, it can't see any functions that allow the device to answer the line. I can see that PPC2003 has a Ras Server and RasIOControl that looks like the answer there.
Also looking into Tapi, I can't see how you answer a data call using that.
So I now understand your problem. It seems PPC is made as a client device.
Is GPRS the answer ? With that the link is always present and then you can use the built in Ras functions on seperate devices. Since you only pay for data actually sent then would it matter if the network link was always present ?
I have only worked out Tapi and Ras from the client side so I have never had this problem, but I agree it is an interesting one. I will have a bow out of this thread for a bit and see if anybody else knows how to Answer a Call.
Thanks for trying.
GPRS is also not the answer as you need a server in between that both XDA's can connect too and use as a router as the XDA's do not get fixed IP adresses but actually a NAT adres from the APN so you can not connect directly between the two.
Now that's an interesting thought, how about using some free web space to act as a pigion hole for your data ?
Believer: A seperate number? How do you know this, and what would the number be?
I can actually make two XDA connecting to each other using TCP. The trick is that I have one client always connect to a server to register it IP address with an ID. Then the caller send a query to the server to look up the callee's IP address.
In this way, accept() and connect() work fine.
I am using AT&T network and not sure about if other networks behave the same.
I wrote two application using TAPI. One is ModemDial and the other is ModemWatch, if I make a voice call the ModemDial dials the number successfully and ModemWatch reports that an incoming call exist. But when I change the behavior of call to DATAMODEM, the ModemWatch couldn't track any incoming call.
Is there any one, had some experience with pick a call for DataModem?
Best regards,
A. Riazi
riazi said:
I wrote two application using TAPI. One is ModemDial and the other is ModemWatch, if I make a voice call the ModemDial dials the number successfully and ModemWatch reports that an incoming call exist. But when I change the behavior of call to DATAMODEM, the ModemWatch couldn't track any incoming call.
Is there any one, had some experience with pick a call for DataModem?
Best regards,
A. Riazi
Click to expand...
Click to collapse
In your ModemWatch application make sure you are calling lineOpen with dwPrivileges (the 7th parameter, 1 based) equal to LINECALLPRIVILEGE_OWNER and dwMediaModes (the 8th parameter) equal to LINEMEDIAMODE_DATAMODEM.
If you're able to answer a voice call successfully, making these changes to the ModemWatch application should allow you to answer a data call.

Positiontracking for several mobile phones with GPS via GPRS

We are looking for a solution that allows us to track the position of several Qtek 2020 all equipped with GPS. The idea is that a local application sends the current position to a central server and a webserver displays the positions on a map.
Do you now any solution like that?
Thanks,
Guido
Track position of two or more GPS connected devices
Saw this in another posting...
http://www.jgui.net/gps/gpswait/
Seems to offer some of the functionality you're after.
This company offers a solution which uses GPRS rather than GPS. The map can be viewed from any web browser (assuming you know the user name and password) and there is no limit to the number of units
http://www.cms-uk.net/
Thanks for the information:
http://www.jgui.net/gps/gpswait/ is doing the tracking by SMS, which is not what I am looking for.
The link http://www.cms-uk.net/ is not working.
Any other ideas.
Thanks
Guido

vehicle fleet managment application

I am looking for an adviser/consultant to develop an aplication to pass data from a pc to pda (XDA IIi or cross-platform) and vice versa via gprs (not sms). The application should also be able to integrate with TomTom for navigation and tracking on the base station. The application is intended to be used in vehicle fleet management. Ready to pay for the right service - pls email [email protected] if interested. UK-based developers preferred.
ajanaman
have look at roadtech www.roadtech.co.uk there roadrunner system sounds like it could be for you
vehicle fleet managment system
quote ..... 'have look at roadtech www.roadtech.co.uk there roadrunner system sounds like it could be for you'
I am not looking for someone that could advise and/or help write the source code for the system. the source is needed for integration into another application.
vehicle fleet management system
Dear all
correction!!
my last post should read:
I am looking for someone that could advise and/or help write the source code for the system. the source is needed for integration into another application.
thanks
You just need to transfer data between PC and PDA via GPRS? That's easy enough isn't it?
Integrating into GPS etc should also be fine, sending packets of locator info from PDA's GPS to cross reference with POI in PC based navigator programs...
V
vijay555 said:
You just need to transfer data between PC and PDA via GPRS? That's easy enough isn't it?
Integrating into GPS etc should also be fine, sending packets of locator info from PDA's GPS to cross reference with POI in PC based navigator programs...
V
Click to expand...
Click to collapse
Can you please point me in the direction of some sample code or text books on this. thanks.
i'm away from any desk right now but you're just after tcp connections and/or rapi i think...check pocketpcdn for a start...we can chat when i get back from holiday next week.
v

ConnMgrEstablishConnection Linking Error

I would appretiate if any one has any input on this subject.
I'm developing an application that will run on an Orange M1000 runnign Windows Mobile 2003, i'm using EVC++ 4.0 as my development environment.
The application needs to upload GPS data via the GPRS connection to a webserver. I'm under the impression the best approach to accomplishing this is by use of the Connection Api. However whenever i try compiling examples that use the connection api functions i.e.
ConnMgrEstablishConnection or ConnMgrEstablishConnectionSync I am always met with a linker error which states it is an unresolved external.
I've taken the code directly from the MSDN example with the inclusion of all the header files they suggest, but i still get these errors during linking, does anyone have any idea what-so-ever what may be causing this?
Thank you in advance
Resolved: I had to link cellcore.lib to the project

Cell Tower ID

Hi All,
I am MSc student, doing my final year project. I want to get the Cell ID and it's GPS locations. I can get the GPS locations, there are lot of code samples.
But not for CEll ID/Tower ID which I am currently connected.
I have tried "Field Test", this is what excatly wanted, I need a source code.
Can some one help me to get the Tower ID using C++ or C# ?
Ganesh
mail me which phone do you have give details
To get the CellID of the tower use RIL_GetCellTowerInfo()
http://msdn.microsoft.com/en-us/library/aa923065.aspx
RIL is the Radio Interface Layer. If you don't know what the RIL is, start here:
http://msdn.microsoft.com/en-us/library/aa920475.aspx
The function will only give you the unique ID of the tower, not its location. Google use their own web service to translate this into GPS Coords.
Another spanner to be thrown into the works, is that it is up to the OEM how the RIL is implemented, and whether all items items are supplied filled in on the various RIL_Getxxxxxxxxxxxxx functions to query the state of the radio.

Categories

Resources