×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jan 2011
    Posts
    1

    Question Using Bluetooth OBEX

    Hey guys, I'm having a little trouble using the OBEX protocol in python.

    How exactly is bt_obex_receive() meant to be used? I understand its arguments
    and everything, but i dont understand how to use it. If OBEX Push protocol is used
    on the server phone, bt_obex_receive() on the client seems pointless as the file
    is actually pushed to the client, regardless of whatever code is running on the
    client phone.

    If it isnt very clear what i mean, please say and ill try to explain it a different way.

    Thanks

  2. #2
    Registered User
    Join Date
    Jun 2010
    Posts
    49

    Re: Using Bluetooth OBEX

    Hi.
    We should make a difference between the OBEX protocol and the OBEX Push Profile (OPP). OPP runs on OBEX (and OBEX can run on RFCOMM or IrDA). OPP is the service that allows transferring files, contacts via Bluetooth.
    Sending with PyS60 a file using OPP works very well - see the book chapter http://wiki.forum.nokia.com/index.ph.../ZZ._Bluetooth (it has code sample, etc). In this case indeed bt_obex_receive() is useless.
    Sending with PyS60 a file using non-OPP OBEX seems to be a bit buggy. Here you would need to use on the receiver bt_obex_receive(), as well.

    Best regards.

Similar Threads

  1. How to share files using OBEX via Bluetooth ?
    By islam.abdo in forum Bluetooth Technology
    Replies: 3
    Last Post: 2009-06-24, 10:36
  2. Obex Bluetooth
    By arungupta_2jan in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2009-02-05, 10:42
  3. Self-replication application using obex via bluetooth
    By amgr in forum Bluetooth Technology
    Replies: 14
    Last Post: 2008-08-29, 18:21
  4. Bluetooth OBEX ( image transfer using bluetooth ) problem
    By atiqkamran in forum Bluetooth Technology
    Replies: 7
    Last Post: 2008-08-14, 08:02
  5. send image to phone over bluetooth using OBEX
    By utako in forum Bluetooth Technology
    Replies: 3
    Last Post: 2008-08-05, 09:52

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×