.NET Components for Mobility

Change a BT name by obex header

Last post 09-29-2006 1:58 PM by Andy Hume. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 09-25-2006 11:20 AM

    • PeppeM
    • Not Ranked
    • Joined on 08-24-2006
    • Posts 0

    Change a BT name by obex header

    Is it possible to use breacham.obex api in order to change a name displayed(to device) when a push operation is started?
  • 09-26-2006 9:52 AM In reply to

    Re: Change a BT name by obex header

    If I understand that you want to send a file but with a different filename, then just supply the new name as the name parameter to PutFrom.  For instance

       Using(src As FileStream = File.OpenRead("database\card.vcf"))
          sess.PutFrom(src, "my business card.vcf", null, src.Length)
       End Using

    Andy
  • 09-26-2006 11:48 AM In reply to

    • PeppeM
    • Not Ranked
    • Joined on 08-24-2006
    • Posts 0

    Re: Change a BT name by obex header

    I wish to change bluetooth device name..
  • 09-26-2006 9:47 PM In reply to

    Re: Change a BT name by obex header

    Err, I don’t understand…  What is the name for?  Is the receiving device name, or the sending device name?  And where is this name to be displayed differently?
  • 09-27-2006 8:41 AM In reply to

    • PeppeM
    • Not Ranked
    • Joined on 08-24-2006
    • Posts 0

    Re: Change a BT name by obex header

    Scenario:
    PC with bluetooth dongle send a message to a cellular.
    I want to change the PC name displayed in a cellular display.
  • 09-29-2006 1:58 PM In reply to

    Re: Change a BT name by obex header

    Ahh, ok.  No I don't think that there is anything OBEX can do to affect that behaviour, there's no OBEX Header related to that area.

    I presume that when the receiving device discovers the sender it queries it for its name at the Bluetooth level, and when the transfer starts it displays that name.  Of course, in Windows XP the Bluetooth Devices applet allow one to manually rename a remembered device but I guess that's not the side you want to do the renaming from.

     Andy
     

Page 1 of 1 (6 items)
Copyright © 2001-2010 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy.