Com ports over bluetooth

Hi there,

We're trying to communicate with a PPC (O2 Orbit, windows mobile 5) using COM Ports over bluetooth which have done sucessfully, sending data in both directions. (VS2005 .netCF v2)

However, we're now trying to mointor the status of the RTS / CTS pin and although we can set it both ends, on the PPC end the status is not updated - does anyone have any suggestions?

We're using Bluetooth connecter from LM Technologies.

Thanks

[700 byte] By [DavidCabmaster] at [2008-1-10]
# 1

It’s a virtual port, there are no pins involved. In theory everything on serial port can be simulated over BT but I seriously doubt manufacturers would bother with that. Probably all your settings are ignored (speed, flow control, etc.). BT simply provides a pipe for data from one device to another, that’s it.

IlyaTumanov at 2007-10-3 > top of Msdn Tech,Smart Device Development,Smart Devices VB and C# Projects...
# 2

Thanks for your reply - it's been very helpful in understanding why it's not working Smile

The reason we're trying to do this is to monitor the state of a serial pin on a very old device using a PDA - our plan was to wire the old device to the CTS pin on a bluetooth transmitter and monitor the signal across bluetooth using the virtual serial port connection.

Obviously this now won't work but does anyone have any suggestions as to how we might do it? Is there a piece of hardware we could but to take an on/off serial siganl and send it via bluetooth?

Thanks!

DavidCabmaster at 2007-10-3 > top of Msdn Tech,Smart Device Development,Smart Devices VB and C# Projects...
# 3

I like this kind of Things thanks for discuss this in the forum...could be helpfull for any

..i would like to get some code from data reciving from any serial bluetooth device to axim 51V...i′m programming Vbasic or Vcsharp...in NetCompact Framework 2.0...i′m opening my port but i cant to read any data..

Option Explicit On

Imports System.IO.Ports.SerialPort

Imports System.Math

Imports System.Drawing.Graphics

Imports System.Drawing

Imports System.Windows.Forms

Public Class Form1

Public Sub New()

InitializeComponent()

End Sub

Private Sub Btn_conect_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Btn_conect.Click

Sp.PortName = CboxPorts.Text

TexMes.Text = Sp.PortName

Sp.DtrEnable = True

Sp.Open()

End Sub

Private Sub Btn_disconn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Btn_disconn.Click

Sp.DtrEnable = False

Sp.Close()

TexMes.Text = " "

End Sub

Private Sub Sp_DataReceived(ByVal sender As System.Object, ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles Sp.DataReceived

TexDrx.Text = Sp.ReadExisting()

End Sub

End Class

I discover my device in bluetooth serial port....by my Axim51v...and this is on and GREEN when i press Btn_Connenct..

But i cant read data...

thanks for any information

AdrianChavarro at 2007-10-3 > top of Msdn Tech,Smart Device Development,Smart Devices VB and C# Projects...