Re: Are there any samples about SPP of bluetooth?
From: Matthew Townsend (hyiothesia_rem0ve_this_part__at_hotmail.com)
Date: 06/28/04
- Next message: Matthew Townsend: "Re: BUG / PRB OBEX file transfer over bluetooth"
- Previous message: Matthew Townsend: "Re: Bluetooth bthcsr.dll problem with ActiveSync and virtual COM connection idle/overflow"
- In reply to: elice meng: "Are there any samples about SPP of bluetooth?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 28 Jun 2004 10:22:54 -0700
We've modified the code in netui.dll. But you can use the sample directly.
(be warned, there are bugs!). To access this, with bluetooth preinstalled
on your image, simply go to control panel and you will see a bluetooth
manager as one of the icons. Open this. Then hit the scan device button.
Then, via the contect menu for the service you wish to connect to, set up a
trusted relationship (by clicking "trusted"). Then, via the same context
menu, click active. The MS bluetooth stack has now set up a virtual comm
port for your connection. It will be named BSPX: Where X is a number from
1 - 9. If you want to modify this name the code is in
common\oak\drivers\bluetooth\sample\btenum. The code for the bluetooth
manager is in C:\WINCE420\PUBLIC\COMMON\OAK\DRIVERS\NETUI (mostly in
btmgmtui.cpp).
To connect to the device you will need to use a terminal program or your own
program which opens and talks on BSPX:.
Hope this helps.
"elice meng" <elicemeng@discussions.microsoft.com> wrote in message
news:136765E3-F50A-490A-BB50-1A44679E3E28@microsoft.com...
> I can't find samples about spp (Serial Port Profile) in Windows CE .NET.
> Just find "comtest","ssa","sca" .But these samples can't realize cable
>
> replacement.
> :-(
>
> I have got a couple of BT products that realize cable replacement and
>
> can be used for cable replacement. Now , I must use my bt module
>
> (connecting to PXA255 ) to connect the slave one of BT products with
>
> SPP.
>
> Then, are the following steps correct??
>
> 1, I must inquiry the Sevice of the slave BT product. I use the
>
> phoneui.exe sample and decovery the SDP record about the BT product. (Is
>
> it the SDP record of the BT product?----Jinou3236(4a494e001db2)(c=1) .AM
>
> I right?)
>
> 2, I must custom the settings of my BT module to match the slave one?
>
> 3, I can connect the slave BT product?
>
> 4, I can communicate the slave BT product?
>
> Is there any sample about SPP?
>
>
> Thanks
>
> Jessy Huang
- Next message: Matthew Townsend: "Re: BUG / PRB OBEX file transfer over bluetooth"
- Previous message: Matthew Townsend: "Re: Bluetooth bthcsr.dll problem with ActiveSync and virtual COM connection idle/overflow"
- In reply to: elice meng: "Are there any samples about SPP of bluetooth?"
- Messages sorted by: [ date ] [ thread ]