Hi,
I'm wondering if anyone has looked into programmatic control of the XDAII from a PC? I'm not talking about PocketVNC style desktop-control - more the ability to send a command to an XDA [via bluetooth or USB] to make it do something.
Specifically, I'd like to be able to send an instruction to the phone to tell it to dial a specific number, without using voice control, and without touching the phone itself :lol:
Anyone looked into this?
Ta,
Scott
Microsoft Remote Display Control ?
http://www.snapfiles.com/get/pocketpc/msremotedisplay.html
That's a simple AT command..
A few characters sendt through the COM port of your choise..
MRDC would be very much unnecesery work..
So I could use a serial to XDA cable, open the relevant COM port on the PC and treat the XDA like a modem? Nothing else required?
I've decided to take a different route with this; I've written a TAPI application to initiate the voice calls, and am going to use winsock to communicate between the PC and the XDA. This should give me far more flexibility
Related
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.
RE: bluetooth
i was wondering if it is possible to send a message using bluetooth, like with the Nokia phones, where you search for a bluetooth device nearby, and then send a message.
also, when my device is paired up with my computer, i can not seem to be able to use more than one connection, e.g.: if i'm using my bluetooth headset, i can't sync the Himalaya. i was wondering if it is normal or not.
in connection with bluetooth and the computer, i can't see any service other than these two: "OBEX Object Push" and "SSA"
are these the only two service available from the device, or are there more?
thanks in advance...
p.s.: i use a Widcomm stack for my D-Link bluetooth dongle
Hi,
To chat with other devices, you can use:
http://www.mysql.com/downloads/mysqlcc.html
Depending on your settings, you normally can use more services at once from your computer...
http://www.geekzone.co.nz/content.asp?contentid=449
Hope this helps...
Sam
hey,
the MySQL thing is not available for the Himalaya, only for a desktop PC.
i looked through the website of geekzone, but i could not find anything about multiple bluetooth connections
thanks for your help tho...
NfScLambo
PocketBlueChat.exe
hmm...can i know what the program is, and how good it is, according to experiences, so as not to mess up my brand new Himalaya, pls?
also, i went and googled on the program and found this out:
Before downloading pocketBlueChat, make sure you meet all the prerequisites:
PocketPC 2002 Device
Bluetooth capable device
Click to expand...
Click to collapse
does this mean that it won't work on my Himalaya?
Hi,
Sorry for the MySQL-link... The wrong link was on my clipboard... :?
I posted too fast...
I wanted to enter the link of PocketBlueChat (the other post)...
You can find some more information on http://www.thegedanken.com/Bluechat/ (this should be the right one)... Sorry...
It works great! The only problem is that the other client also needs BlueChat, but it's only one "exe", so you can beam it to your other contact!
Sam
o ok
i was hoping for something like nokia's bluejacking system
you send a person a contact through bluetooth, and this contact contains a message. i see that's not possible by default, but i wonder if there is an add on for it
samvds said:
It works great! The only problem is that the other client also needs BlueChat, but it's only one "exe", so you can beam it to your other contact!
Sam
Click to expand...
Click to collapse
I've just tried using BueChat on my XDA2 and its comes up with the following error
'Unable to open the ReadPort'
How did you get yours to work?
Put on bluetooth and softreset, it work.
Guys,
As I'm reading the threads I see over and over "what is this value", "please upload this file", etc. Is there a remote client like PCanywhere, telnet, Timbuk2 that would allow poepl on XDA to give up control of there machines for guys like itsme or others who have developed tools without even touching a device.
Any way to do this over the internet with home routers and everything else in the way?
We could do this by going PC-PC with timbuktu and then controlling active sync to load or pull files. How could you find the IP address through the router? With ipconfig -all all I get is my router assigned IP with no indication of how to access the machine from the internet.
Anyone know a way to do this?
What´s wrong with "Pocket controller"?
There is no other program that has it´s superb features.
You can completely remote controll your XDA/XDAII/XDAIII.
If you are asking to remote controll an xda thru the internet, id say forget
about it. It´s to complicated and to bulky to use. And by the way, what is it supposed to be used for?
If you want to remotely control your computer with your XDA thru the internet, there is good software for this already.
My wife had mapopillis installed on her phone and could not get it up and going or get the GPS to show her position: I would like to have a program icon that she can click on which would (automatically) connect to the internet, display an IP address of her connection and activate remote control. I would then use the IP that she gives me to log onto her phone and setup and test her Mapopillis and GPS.
All I get from her is "I don't know, it just doesn't work" and I can't debug much with this response.
What would be nicer is to have the IP address automatically SMS'd to my phone when my number was preprogramed in. This way her required actions would be less. She just wants me to make the thing work.
here's another vote for Pocket Controller.
it truely is a wonderous utility packed with cool features
no need for anything else !
hi everyone,
i am a noob to this side of things, i need an app to work with a bluetooth remote that is wonderful, i need this because i cant remember what letters to press for what. what i would like is a media center remote to work like NiveusPocketRemote, i just need the interface mapped, is this easy to do? how can i?
you can make a program which use bluetooth com port
setup the comports on the pda and on the pc
then develeop a client frondend on the pda
and a "server" on the pc which interp the commands
from the pda client and do it's stuff using com or some
dll to talk to the program you want to remote
Guys,
i know im not that great of a programmer. But i was wondering if anyone can program the following setup? it would help A LOT of us newbies .
- Serial Port emulator for PocketPC.
a. Input has to be transfert from a serial port (for use with activesync) to the internet service (TCP) with a specific IP-adress and back.
- Serial Port emulator for PC.
a. The emulator needs to listen to a specific port for TCP connection requests. And forward everything to the emulated com-port and back.
I know there excist many serial emulators for the pc, but none with an TCP/IP server integraded.
For a visual display, take a look at the picture that is included.
This is a very interesting thing. It would just provide ActiveSync over ANY TCP/IP connection (so also WiFi and such).
The serial ports part can certainly be done (not that I looked into how difficult it is, but I know it is possible)
I am however still unclear in how doing this would enable ActiveSync to work. Sure I can connect the PC side to a COM port, but how would this work on the PPC side? If I look in ActiveSync there, I don't see an option to connect to a COM port. Maybe I am overlooking something.
There are several USB-over-IP solutions out there, would they help in achieving your goal?? although its not clear to me what your goal is...
Hope this is helpful,
Cheers!
nid