This site is no longer active and is available for archival purposes only. Registration and login is disabled.

How to use bluetooth?


How to use bluetooth?

Postby gott_e » Nov 4, 2002 @ 4:07pm

Hi pals,

I was wondering if anyone tried to use bluetooth under PPC 2002?
Which libraries have I to use?

Regards..

Marco.
gott_e
pm Member
 
Posts: 16
Joined: Nov 2, 2002 @ 6:52pm


Postby cryo » Nov 5, 2002 @ 12:32pm

Hi,

i have to use BT in a running project too. I don't know if this is of any use, since it seems to be for CE .NET only, but i have not had the time to take a closer look:



cryo
User avatar
cryo
pm Member
 
Posts: 204
Joined: Sep 19, 2001 @ 6:01am
Location: Bonn, Germany


Postby Jim » Nov 5, 2002 @ 1:03pm

User avatar
Jim
pm Member
 
Posts: 97
Joined: Feb 8, 2002 @ 5:03pm
Location: London


Postby sponge » Nov 5, 2002 @ 2:05pm

If you know the Bluetooth dialog is going to pop up, can't you momentarily minimize your program properly, so that it doesn't end up messing up your graphics/sound?

I do see the problem, I just don't see how the solution is so tough.

BTW, will you still get serial speed if you redirect BT to the COM port? (as an incentive to buy the $1000 SDK of sorts)
holy internets batman.
User avatar
sponge
Not sponge
 
Posts: 12779
Joined: Jan 13, 2002 @ 8:04am
Location: New Hampshire


Postby cryo » Nov 5, 2002 @ 2:30pm

Does anyone know if the BT implementation in the iPAQ 3970 also is from widcomm?

cryo
User avatar
cryo
pm Member
 
Posts: 204
Joined: Sep 19, 2001 @ 6:01am
Location: Bonn, Germany


Postby gott_e » Nov 5, 2002 @ 2:44pm

Jim: if you like and send me a small test program I can test it on the 39XX IPaq.

Its a pitty that it seems like that there is no better solution..

Regards..

Marco.
gott_e
pm Member
 
Posts: 16
Joined: Nov 2, 2002 @ 6:52pm


Postby Jim » Nov 5, 2002 @ 4:49pm

User avatar
Jim
pm Member
 
Posts: 97
Joined: Feb 8, 2002 @ 5:03pm
Location: London


Postby Jim » Nov 5, 2002 @ 5:00pm

User avatar
Jim
pm Member
 
Posts: 97
Joined: Feb 8, 2002 @ 5:03pm
Location: London


Postby gott_e » Nov 5, 2002 @ 5:21pm

Is this legal? Are you allowed to use this in a commercial product?

Regards...

Marco.
gott_e
pm Member
 
Posts: 16
Joined: Nov 2, 2002 @ 6:52pm


Postby sponge » Nov 5, 2002 @ 10:05pm

holy internets batman.
User avatar
sponge
Not sponge
 
Posts: 12779
Joined: Jan 13, 2002 @ 8:04am
Location: New Hampshire


Postby Jim » Nov 6, 2002 @ 11:39am

User avatar
Jim
pm Member
 
Posts: 97
Joined: Feb 8, 2002 @ 5:03pm
Location: London


Re: How to use bluetooth?

Postby Sergey Chaban » Nov 12, 2002 @ 6:52pm

Recently I've spent some time trying to figure out how to access Bluetooth stack directly on iPaq 3x70.
If this will be of some help I put some source code for download on this page:



Not very useful at the moment but I'm going to spend some time developing this stuff. (In fact what I want is a wrapper to access BT from the .NET Compact Framework).
There are basicaly three ways to work with BT on iPaqs (some of them were already mentioned).
Hard way: Use file handles for "BTS1:" & "BTP1:" devices and I/O CTRL to talk to device directly;
Easy way: Use Widcomm API which resides in the wbtapiCE.dll;
High-level way: Use Compaq's API from BTCore.dll;

API is pretty much straight-forward but there are lots of quirks, e.g. initializing stack requires some ugly cruft.

Have fun,
S.C.
Sergey Chaban
pm Member
 
Posts: 72
Joined: Nov 12, 2002 @ 1:45am


Postby cryo » Nov 25, 2002 @ 12:13pm

widcomm is not the only one, there is also BTAccess from high point . I don't know which one is better in terms of functionality, I have yet to receive my widcomm lib. Anyway, the BTAccess one is cheaper.

cryo
User avatar
cryo
pm Member
 
Posts: 204
Joined: Sep 19, 2001 @ 6:01am
Location: Bonn, Germany


Postby Sergey Chaban » Nov 25, 2002 @ 10:06pm

Sergey Chaban
pm Member
 
Posts: 72
Joined: Nov 12, 2002 @ 1:45am


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum