Re: Bluetooth application development



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


.



Relevant Pages

  • Re: Bluetooth application development
    ... On the laptop you'll need to configure an incoming COM port for Bluetooth to ... Then once that's done and you have paired your laptop and your Pocket PC ...
    (microsoft.public.pocketpc.developer)
  • Re: Bluetooth communication basics
    ... There are a lot of challenges because the Pocket PC will typically be using ... the Widcomm stack, while your Smartphone is using the MS Bluetooth stack. ... In our particular case, we have a headless CE device (Bluetooth, GPRS, GPS) ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: IPAQs and Bluetooth and Visual Studio 2005 beta 2
    ... Widcomm stack SDK from high-point.com - the full version is a bit expensive ... > Note that if you don't have a device running the Microsoft Bluetooth stack, ... Try searching the Pocket PC newsgroup archives at ...
    (microsoft.public.pocketpc.developer.networking)
  • Re: want to use laptop as bluetooth keyboard for PocketPC
    ... heres a description of what remote display control allows you to do ... laptop personal computer. ... of the Pocket PC to a large audience. ... > Bluetooth HW and SW seems to work fine, except that there> seems to be 16 extra flavors of bluetooth connectivity> available with no explanation any any help files re: ...
    (microsoft.public.pocketpc)
  • Re: Bluetooth application development
    ... What Bluetooth services does the propiertary hardware advertise when you ... If it advertises the serial port protocol then you don't need to ... worry about the current Bluetooth stack on your Pocket PC. ... a COM port on the Pocket PC using CreateFileand treat it as a regular COM ...
    (microsoft.public.pocketpc.developer)