Click here to Skip to main content
15,886,873 members
Home / Discussions / Mobile
   

Mobile

 
Questionlicense? Pin
Rose WiFiTech & Electronics Library Research Cen30-Mar-09 3:19
Rose WiFiTech & Electronics Library Research Cen30-Mar-09 3:19 
AnswerRe: license? Pin
Joel Ivory Johnson30-Mar-09 13:53
professionalJoel Ivory Johnson30-Mar-09 13:53 
QuestionPocket Excel and compact Framework Pin
Cory Kimble27-Mar-09 11:19
Cory Kimble27-Mar-09 11:19 
AnswerRe: Pocket Excel and compact Framework Pin
Joel Ivory Johnson30-Mar-09 13:54
professionalJoel Ivory Johnson30-Mar-09 13:54 
QuestionBlackBery java Developement Building error........ Pin
shaina223126-Mar-09 21:57
shaina223126-Mar-09 21:57 
Questionhow to retreive Pocket Outlook birthday Information? Pin
Aghosh Babu25-Mar-09 23:05
Aghosh Babu25-Mar-09 23:05 
QuestionSending SMS from PPC 2003 emulator through a built-in GSM modem Pin
aarti1425-Mar-09 19:26
aarti1425-Mar-09 19:26 
QuestionIOException when writing a string to a bluetooth comm port Pin
greggardner24-Mar-09 11:32
greggardner24-Mar-09 11:32 
I am writing an application that writes a short string out of a bluetooth port to a device and reads the response that comes back from the device. It works great on an HTC Mogul running Windows Mobile 6.1 Professional, but when I run it on an HP iPAQ 211 running Windows Mobile 6 Classic it gives me an IOException at the point where it attempts to write the string to the comm port. I can open the port and connect to the bluetooth modem connected to the device OK. Here is the pertinent code:

using System.IO.Ports;

private void mnuConnect_Click(object sender, EventArgs e)
{
(inboundPort and outboundPort are both set to "COM6" and the port opens OK)
serialIn = new System.IO.Ports.SerialPort(inboundPort, baudRate, Parity.None, 8, StopBits.One);
serialOut = new System.IO.Ports.SerialPort(outboundPort, baudRate, Parity.None, 8, StopBits.One);
serialIn.ReadTimeout = 1000;
serialOut.ReadTimeout = 1000;
try
{
if (!serialIn.IsOpen)
{
serialIn.Open();
}
if (!serialOut.IsOpen)
{
serialOut.Open();
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}

private void btnConnect_Click(object sender, EventArgs e)
{
try
{
string sQuery = "U" + sUnitNum + "N?\r"; (sQuery is "U01N?\r")
(the next line is where the IOException occurs. The port is open before this line, but is closed somehow after the exception)
serialOut.WriteLine(sQuery);

What am I doing wrong?
AnswerRe: IOException when writing a string to a bluetooth comm port Pin
greggardner25-Mar-09 9:34
greggardner25-Mar-09 9:34 
QuestionHow to get caret position Pin
herman man23-Mar-09 23:05
herman man23-Mar-09 23:05 
AnswerRe: How to get caret position [modified] Pin
sivaddrahcir24-Mar-09 12:40
sivaddrahcir24-Mar-09 12:40 
QuestionHttpWebRequest & streamwriter NOT defined Pin
msnss23-Mar-09 9:55
msnss23-Mar-09 9:55 
AnswerRe: HttpWebRequest & streamwriter NOT defined [modified] Pin
sivaddrahcir24-Mar-09 12:07
sivaddrahcir24-Mar-09 12:07 
GeneralRe: HttpWebRequest & streamwriter NOT defined Pin
msnss24-Mar-09 22:09
msnss24-Mar-09 22:09 
GeneralRe: HttpWebRequest & streamwriter NOT defined Pin
sivaddrahcir26-Mar-09 7:45
sivaddrahcir26-Mar-09 7:45 
GeneralRe: HttpWebRequest & streamwriter NOT defined Pin
msnss26-Mar-09 8:24
msnss26-Mar-09 8:24 
GeneralRe: HttpWebRequest & streamwriter NOT defined Pin
sivaddrahcir26-Mar-09 11:52
sivaddrahcir26-Mar-09 11:52 
Questionwindows mobile Pin
trioum23-Mar-09 1:43
trioum23-Mar-09 1:43 
AnswerRe: windows mobile Pin
Cedric Moonen23-Mar-09 5:35
Cedric Moonen23-Mar-09 5:35 
AnswerRe: windows mobile Pin
Joel Ivory Johnson23-Mar-09 12:23
professionalJoel Ivory Johnson23-Mar-09 12:23 
AnswerRe: windows mobile [modified] Pin
sivaddrahcir24-Mar-09 12:01
sivaddrahcir24-Mar-09 12:01 
AnswerRe: windows mobile Pin
Aghosh Babu25-Mar-09 23:30
Aghosh Babu25-Mar-09 23:30 
AnswerRe: windows mobile Pin
idieh26-Mar-09 6:58
idieh26-Mar-09 6:58 
QuestionGet the name of Serial Port to which a Device is Connected Pin
Subrahmanya Narayana23-Mar-09 0:40
Subrahmanya Narayana23-Mar-09 0:40 
QuestionDetecting the connection of a device into PC Pin
ntsc2822-Mar-09 18:56
ntsc2822-Mar-09 18:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.