Re: Newbie question...
- From: askaryatech@xxxxxxxxx
- Date: Sun, 11 Nov 2007 08:15:22 -0800
Yes, its exactly like SMS text message that we do with our mobile
phones.
On the device, SMS will arrive with all the required header
information contianing sender's information, time along with the
actual message in characters. Message body is where you would have
send the notification information. Unfortunately its going to be a lot
more than a single bit.
(AT)
http://www.askarya.com
On Nov 11, 9:06 pm, Nigel Thomas <nospample...@xxxxxxxxxx> wrote:
AT
Thanks for your input, all very interesting...
The SMS service, is that like a text message? or is it capable of being used to
send just 1 bit of data (I want to keep data cost to a minimum)
Nigel
askaryat...@xxxxxxxxx wrote:
Hi,
I guess in that case notification could be sent as SMS from the server
to the device. Look for SmsOpen/SmsClose function is Windows Mobile
SDK documentation. There are some additional functions related to
handling SMS on the WM phone edition devices.
You probably need to implement both mechanisms (WinSock for local
wireless and SMS for WAN).
(AT)
http://www.askarya.com
On Nov 11, 6:07 pm, Nigel Thomas <nospample...@xxxxxxxxxx> wrote:
AT
I need be able to communicate with the WM device via a Wireless connection
(which I understand is simple enough once you know it's IP address) but also
using a cellular connection GSM/3G/Whatever
Any suggestions
Nigel
askaryat...@xxxxxxxxx wrote:
There are two ways for doing WinSock based communication between the
WM device and a desktop machine.
1. For development purposes, you can establish activesync connection
between the device and the desktop. As soon as activesync is
connected, WM device and the desktop PC get their own IP addresses.
(on the desktop PC command prompt, do "ipconfig /all" command to see
the information about the newly associated adapter). The device too
will get the IP from the same subnet. I have seen them getting the IP
addresses like 169.254.2.1 (device) and 169.254.2.2 (Desktop PC).
Google for any IP config kind of utility for Pocket PC, such as
CEIPConfig, otherwise in your own code, use gethostname and
gethostbyname to find out IP address of the device.
2. For production, you might want to use Wireless networking (WLAN),
which is pretty much there these days in all WM devices. With the
device and the PC as part of same network, your application should run
without any or minor changes.
(AT)
http://www.askarya.com
On Nov 11, 12:25 pm, Nigel Thomas <nospample...@xxxxxxxxxx> wrote:
AT
I've written quite a few Client/Server applications using Winsock, so I'm
conversant with its ins and outs.
When you say Winsock is the way to go, does this mean the WM device has an IP
address which I can talk to just like an IP address on any PC?
Nigel
askaryat...@xxxxxxxxx wrote:
I guess using Winsock (Windows Sockets) is the way to go.
For a start, look at
1.http://www.microsoft.com/msj/archive/S28F.aspxwhichexplains
implementation of a winsock sample in VB (its quite old article).
2.http://www.15seconds.com/issue/010820.htm
(AT)
Windows Mobile Software
http://www.askarya.com
On Nov 10, 3:55 pm, Nigel Thomas <nospample...@xxxxxxxxxx> wrote:
askaryat...@xxxxxxxxx wrote:
If you are not particular to writing a new WM application, I wouldAT
suggest using inbuilt Pocket Internet Explorer to browse your PC which
could run a webserver (IIS, Apache). Write server side scripts (ASP,
PHP etc) and access them through a URL from the WM device.
Advantage is that you don't need to worry about writing code in client
to connect to the server, avoid writing server application, and issue
of handling multiple sessions.
Of course you need to make sure that the server IP is available to the
device. This problem will be there for any other solution too.
(AT)
Windows Mobile Software
http://www.askarya.com
On Nov 9, 1:58 pm, Nigel Thomas <nospample...@xxxxxxxxxx> wrote:
I have a PC application that retrieves data from a set of scientific instruments
(voltage levels mainly). This data is stored on the PC.
I want to be able to display these levels on a WM device with variable update
rates ranging from once every 10 seconds (when the instruments come online) to
once a minute/hour (once the system has settled)
I have a WM6 device (HTC), Broadband, VS2005 and a wealth of DOS and
VB6(Classic) programming experience. I also am starting to find my way around VB.NET
Can some please point me to a place where I can get started with developing an
application for a WM device which could solve this problem
Cheers in advance
Nigel
Thanks for your reply, the problem is, I need to notify the mobile device of
events / warnings (over voltage for example) and I'm not sure the server could
'push' these events to the mobile, or could it?
Nigel
.
- References:
- Newbie question...
- From: Nigel Thomas
- Re: Newbie question...
- From: askaryatech
- Re: Newbie question...
- From: Nigel Thomas
- Re: Newbie question...
- From: askaryatech
- Re: Newbie question...
- From: Nigel Thomas
- Re: Newbie question...
- From: askaryatech
- Re: Newbie question...
- From: Nigel Thomas
- Re: Newbie question...
- From: askaryatech
- Re: Newbie question...
- From: Nigel Thomas
- Newbie question...
- Prev by Date: Re: Newbie question...
- Next by Date: passing file via bluetooth
- Previous by thread: Re: Newbie question...
- Next by thread: Filesystemwatcher on PC not fired when syncing with Activesync
- Index(es):
Relevant Pages
|
|