Re: Bluetooth application development
- From: "Davis Ford" <davisford@xxxxxxxxx>
- Date: 17 Jul 2006 14:23:37 -0700
Hi Sean, I don't have that hw yet, so not sure, but I suspect that it
will use the SPP. However, since I don't have the hw, I need to
simulate it via my laptop. Therefore, I need to setup my laptop to
advertise the SPP, and send packets...
Can you elaborate quickly on how one would go about this on the laptop?
Is there anything more complicated than configuring the laptop to use
COM* port and writing to it?
Regards,
Davis
Sean McLeod wrote:
What Bluetooth services does the propiertary hardware advertise when you
browse it via the Bluetooth Manager?
If it advertises the serial port protocol (SPP slave) then you don't need to
worry about the current Bluetooth stack on your Pocket PC. You can just open
a COM port on the Pocket PC using CreateFile() and treat it as a regular COM
port.
All the Bluetooth stacks on the Pocket PC support this.
I've written an aviation specific moving map program that uses this approach
to communicate with Bluetooth GPS units.
Cheers
"Davis Ford" <davisford@xxxxxxxxx> wrote in message
news:1153147489.185062.183220@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi, the landscape for developing BT applications on .net cf / pocketpc
seems a bit convoluted given all the different stack implementations,
application libraries (that seem to have specific dependencies on stack
implementations), and microsoft's poor API support / documentation for
development of BT apps using .net cf.
I am new to this, and what I want to do seems relatively simple, but I
wonder if someone might be able to point me in the right direction.
End Goal:
There is a proprietary piece of hardware which will interface with a
pocket pc device over bluetooth. I don't know what the bt stack, etc.
is on that proprietary hardware -- someone else is developing this. I
am developing the pocketpc side. On the pocket pc side, I have windows
mobile 5.0, which appears to have the Broadcom/Widcomm stack.
The messages that are exchanged are a proprietary network protocol. I
built an application that ping/pongs these messages over Wi-Fi using
UDP. Once I get the UDP packet, I strip out the payload, interpret the
proprietary header/data, etc. I want to do the same over Bluetooth,
but I'm not even sure where to start.
I tried looking at Peter Foot's 32feet bluetooth API, but it is not
compatible with my device.
I need to develop a client/server approach with the pocketpc talking to
my laptop and my laptop simulating the hardware device that will
eventually act as the server. So, I need to develop both sides of this
application. My laptop also has integrated Bluetooth with the
Broadcom/Widcomm stack.
Q: Do I need to buy some 3rd party libraries to accomplish this?
http://franson.com/bluetools/index.asp?ref=google
http://www.high-point.com/
Q: If the answer to that is no, can I just develop some way to set up
the serial profile over the COM port? I see this page:
http://msdn.microsoft.com/embedded/usewinemb/ce/sharedsrccode/west/default.aspx
I downloaded that code/library -- documentation is nil. I am unsure
exactly how to use it or if it will indeed work both on pocket pc and
on windows xp.
Thanks in advance!
Regards,
Davis
.
- References:
- Bluetooth application development
- From: Davis Ford
- Re: Bluetooth application development
- From: Sean McLeod
- Bluetooth application development
- Prev by Date: RE: Pocket PC Network Connection Error
- Next by Date: Re: Error message: unable to load shim engine as running application verifier
- Previous by thread: Re: Bluetooth application development
- Next by thread: Re: WM, CE, PPC Hell
- Index(es):
Relevant Pages
|