×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    26

    Please Help with BT server

    Hello all,
    I would like to know if there is a way to let a server read a text file it receives from client in the python environment by calling it. I would like to implement on this code:

    Code:
    try: 
        print "Setting security to AUTH."
        set_security(s, AUTH)
        receive_path = u"c:\\password.txt"
        print "Receiving file."
        bt_obex_receive(s, receive_path)
        print "File received."
    I would really like your opinion and help on this. Thank you

  2. #2
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    65

    Re: Please Help with BT server

    This question is rather related to Python on PC than PyS60. However, a helpful link for the client side communication would be this.
    http://wiki.forum.nokia.com/index.ph...m_Mobile_to_PC
    --NirpSis

    http://sites.google.com/site/nirpsis/
    http://nirpsis.blogspot.com/

  3. #3
    Registered User
    Join Date
    Jul 2009
    Posts
    26

    Re: Please Help with BT server

    Hello nirpsis,
    That would be useful if I want to only receive a text, but what am looking for is a way to let the server (mobile) read a text it sends via Bluetooth from client (mobile as well). The server will read the text file without leaving the python environment.
    BTW, is there a way to make bluetooth examples work in the python emulator? i was able to successfully add them but when i try to run them i run into a long list of errors.
    Thank you

  4. #4
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    65

    Re: Please Help with BT server

    Quote Originally Posted by eng_electric View Post
    BTW, is there a way to make bluetooth examples work in the python emulator? i was able to successfully add them but when i try to run them i run into a long list of errors.
    Again a useful link from the Wiki,

    http://wiki.forum.nokia.com/index.ph...or_S60v3rd_SDK
    --NirpSis

    http://sites.google.com/site/nirpsis/
    http://nirpsis.blogspot.com/

Similar Threads

  1. j2se server j2me client bluetooth connection problem
    By bepolat in forum Mobile Java Networking & Messaging & Security
    Replies: 6
    Last Post: 2010-07-14, 11:05
  2. Replies: 12
    Last Post: 2009-02-16, 16:34
  3. Voice mail services for VoIP with SIP server
    By pawan_G in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2008-08-28, 13:53
  4. Invoking a UI Server from The client
    By shantanurathi in forum Symbian
    Replies: 4
    Last Post: 2008-08-11, 14:17
  5. TCP server packet receiving problem
    By raj_rr7 in forum Symbian Networking & Messaging (Closed)
    Replies: 9
    Last Post: 2007-07-12, 12:24

Posting Permissions

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