.NET Components for Mobility

Bluetooth Windows Mobile Notification Messages

Last post 04-19-2007 8:36 PM by alanjmcf. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-18-2007 8:32 PM

    Bluetooth Windows Mobile Notification Messages

    I am not the fimiliar with bluetooth connections and I have a windows mobile phone appliation that watches for .pgc files sent via bluetooth to the phone (Sprint PPC-6700).  Currently this application does not directly communicate with a bluetooth device, it just watches for a new file to show up in "/My Documents", which the bluetooth on the phone does.  Currently with windows mobile a user must accept an incoming file by selecting "yes", which is asked by a notification message that pops up when an incoming bluetooth file arrives.  This however, will not work with my application becasue I don't want a "user" to have to to anything (click yes to accept the file).  Therefore, I must find a way to answer of the following two quetions.

    1. Is there a way to eliminate the "Notification Messages" and just have the phone automatically accept the incoming .pgc file?  I have looked for several ways to make these messages go away but to no prevail.  I did find away to not display the message (via a phone setting) but by doing this the phone is not granted permission to obtain the file.

     2. If question 1 cannot be answer then this question will hopefully provide a workable alternative.  I will then need to try and connect via my application direclty to the bluetooth application that is sending me the file.  By doing this, maybe the phone will not interact and cause unwanted "accepting messages" to be prompted for a user to be required to respond to.  Does anyone know how I would go about doings this (preferably C# else vb)? 

     Like I say, I have not had much experience working with Bluetooth, so any help would be greatly appreciated.

    THANKS for you HELP!

  • 04-19-2007 8:36 PM In reply to

    Re: Bluetooth Windows Mobile Notification Messages

    Such file transfers are done using the OBEX protocol, there is both client and server support in the (32feet.NET) library, and there's also support for server in the Brecham.Obex library.  The built-in OBEX server in CE can apparently be disabled and one's own application using those server implementations used in its place.  I'm not a PPC guy so can't offer specific instructions but see earlier posts here e.g. http://32feet.net/forums/thread/2616.aspx

    Otherwise, CE's built-in OBEX server functionality is extensible, by COM as I understand it, see http://msdn2.microsoft.com/en-us/library/aa916802.aspx

    Alan J. McFarlane
    http://www.alanjmcf.me.uk/
    Please follow-up in the newsgroup for the benefit of all.
    Have I helped? Consider visiting my Amazon wishlist, see my homepage.
Page 1 of 1 (2 items)
Copyright © 2001-2008 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy.