obex_test push file error with Nokia 5700

Help
aptc
2007-10-05
2013-05-01
  • aptc

    aptc - 2007-10-05

    I run obex_test on Ubuntu 7.04 with Nokia 5700, this is what happened:
    wujunbao@ubuntu:~/Desktop$ obex_test -b 00:1A:16:BE:50:66 10
    Using Bluetooth RFCOMM transport
    OBEX Interactive test client/server.
    > c
    Connect OK!
    Version: 0x10. Flags: 0x00
    > x
    PUSH filename> /usr/test.txt
    name=/usr/test.txt, size=13
    Going to send /usr/test.txt(test.txt), 13 bytes
    Filling stream!
    Filling stream!
    PUT failed 0x4f!

    and this is what happened when i tried to connect twice:
    wujunbao@ubuntu:~/Desktop$ obex_test -b 00:1A:16:BE:50:66 10
    Using Bluetooth RFCOMM transport
    OBEX Interactive test client/server.
    > c
    Connect OK!
    Version: 0x10. Flags: 0x00
    > c
    Connect failed 0x49!
    > c
    Connect failed 0x49!

    if I PUSH file directly:
    wujunbao@ubuntu:~/Desktop$ obex_test -b 00:1A:16:BE:50:66 10
    Using Bluetooth RFCOMM transport
    OBEX Interactive test client/server.
    > x
    PUSH filename> /usr/test.txt
    name=/usr/test.txt, size=13
    Going to send /usr/test.txt(test.txt), 13 bytes
    Filling stream!
    Filling stream!
    Link broken!
    Error while doing OBEX_HandleInput()

    then, when I test it with my other mobile Nokia 6670, everything is OK:
    wujunbao@ubuntu:~/Desktop$ obex_test -b 00:0E:ED:F6:D3:5F 10
    Using Bluetooth RFCOMM transport
    OBEX Interactive test client/server.
    > c
    Connect OK!
    Version: 0x10. Flags: 0x00
    > x
    PUSH filename> /usr/test.txt
    name=/usr/test.txt, size=13
    Going to send /usr/test.txt(test.txt), 13 bytes
    Filling stream!
    Filling stream!
    PUT successful!

    also I push file to "Bad" Nokia 5700 successfully by using "Bluetooth File Sharing" in butuntu.

    I'm using openobex libs to write a application, this error causes troubles in the application, please help me solve the problem, let 5700 work with openobex!

    Thanks

     
    • aptc

      aptc - 2007-10-05

      I'm sorry, I got it, I used a wrong channel.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks