Bluetooth WidComm

  • Thread starter Javier Garrido Diaz
  • Start date
J

Javier Garrido Diaz

Hello.
I am developing a Bluetooth component for Windows Mobile and for Widcomm
stack, in C# and C++.
I'm having many problems, with the connections. However, I can make a
discover process and it works, byt when I try to connect to a device i
doesn't work.
Does anybody have any code?

Thanks.
 
P

Peter Foot [MVP]

Have you paired the devices with a PIN? Are you sure the device exposes the
specific service you are trying to connect to?

Peter
 
J

Javier Garrido Diaz

Peter Foot [MVP] escribió:
Have you paired the devices with a PIN? Are you sure the device exposes
the specific service you are trying to connect to?

Peter

Dear Peter.
I've done it. I've resolved the problem. In WidComm Stack, you have to
find the channel. This channel is used by the stack to connect to RFCOMM
service. Once, you have done it, you can receive data from serial port.
Now I'm trying to develop Obex Protocol. And I am having many problems
too. I've seen, I have to prepare Obex headers before attempt a connection.
Do you know something about it?I've seen that your InTheHand classes
work only with Microsoft Stack.

Thank you very much.
 
A

Alan J. McFarlane

[...]
I've done it. I've resolved the problem. In WidComm Stack, you have to
find the channel. This channel is used by the stack to connect to
RFCOMM service. Once, you have done it, you can receive data from
serial port. Now I'm trying to develop Obex Protocol. And I am having
many problems too. I've seen, I have to prepare Obex headers before
attempt a connection. Do you know something about it?I've seen that
your InTheHand classes work only with Microsoft Stack.
There's another library hosted at Peter's 32feet.NET site. It's called
Brecham.Obex. "It provides full OBEX support (PUT, GET, SETPATH,
Folder-Listings, asynchronous-style calling etc), and only needs a
Stream to connect to." It supports both full and Compact Frameworks and
also Mono's .NET implementation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top