J
jayderk
Hello all,
I have an interesting challange, we are trying to hook a pda up to a
satellite antenna to send data to our server. we are of course using the
docking port on the pda and .net compact framework. Am I going to be able to
send a webrequest/response over the docking port?
what I mean is in order for the pda to transfer data over the docking port
activesync has to have made a connection, if I just use openNETCF.IO.Serial.
open("COM1:\0") will the .net compact framework call
*****************************************
req.Method = "POST";
req.ContentType = "text/plain; charset=utf-8";
byte[] encodedBytes = Encoding.UTF8.GetBytes(requestXml);
req.ContentLength = encodedBytes.Length;
if(timeOut.Length > 1)
req.Timeout = int.Parse(timeOut);
Stream reqStream = req.GetRequestStream();
reqStream.Write(encodedBytes, 0, encodedBytes.Length);
reqStream.Close();
WebResponse result = req.GetResponse();
return (Stream)result.GetResponseStream();
if(req != null)
req = null;
******************************************
know to use the docking port to communicate?
Cheers,
Jay
I have an interesting challange, we are trying to hook a pda up to a
satellite antenna to send data to our server. we are of course using the
docking port on the pda and .net compact framework. Am I going to be able to
send a webrequest/response over the docking port?
what I mean is in order for the pda to transfer data over the docking port
activesync has to have made a connection, if I just use openNETCF.IO.Serial.
open("COM1:\0") will the .net compact framework call
*****************************************
req.Method = "POST";
req.ContentType = "text/plain; charset=utf-8";
byte[] encodedBytes = Encoding.UTF8.GetBytes(requestXml);
req.ContentLength = encodedBytes.Length;
if(timeOut.Length > 1)
req.Timeout = int.Parse(timeOut);
Stream reqStream = req.GetRequestStream();
reqStream.Write(encodedBytes, 0, encodedBytes.Length);
reqStream.Close();
WebResponse result = req.GetResponse();
return (Stream)result.GetResponseStream();
if(req != null)
req = null;
******************************************
know to use the docking port to communicate?
Cheers,
Jay