×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2009
    Posts
    17

    Post send string from hyperterminal - pys60

    Hello,

    I am trying to send some strings from hyper terminal (via bluetooth dongle), even though the connection is established, i am not able to get any string in my N82. I am using the following code in mobile which is working with other mobile sending string instead of hyperterminal

    server = socket.socket(socket.AF_BT, socket.SOCK_STREAM)
    channel = socket.bt_rfcomm_get_available_server_channel(server)
    server.bind(("", channel))
    appuifw.note(u""+str(channel))
    server.listen(1)
    appuifw.note(u"Waiting for clients...")
    conn, client_addr = server.accept()
    fd = conn.makefile("r+")
    appuifw.note(u"Client connected!")
    cmd = fd.readline()
    appuifw.note(u"Received: " + cmd)

    Please help me!!

    Thanks
    Cyan

  2. #2
    Super Contributor
    Join Date
    Nov 2007
    Location
    Sertaozinho/Brazil
    Posts
    768

    Re: send string from hyperterminal - pys60

    Hello mt.jijo

    If it is working with other phone ... how about to use other program ?
    I recommend putty.

Similar Threads

  1. try to send string via W-LAN
    By schedlik in forum Symbian
    Replies: 2
    Last Post: 2009-08-17, 09:02
  2. New to Python for S60 (PyS60)? Read this first!
    By croozeus in forum Nokia N9
    Replies: 2
    Last Post: 2008-10-17, 19:23
  3. Send SMS AT Command with PDU mode from Hyperterminal
    By bmlephoto in forum General Messaging
    Replies: 0
    Last Post: 2006-12-18, 18:07
  4. How to send parameter (query string) via POST method?
    By pop2518 in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2004-01-25, 13:53
  5. nokia 7210 modem via IR doesn't work !
    By oussamaaiadi in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-03-06, 10:46

Posting Permissions

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