i have a bluetooth server advertising on my computer , which is set to listen for text commands from phone.
(well, i tried sending data from comp. (server) to phone(client), and it works)
my aim is to send data to the server. the program shows "sending done", without any error, but nothing is received on the computer.
this is my client code (note the blue part):
import btsocket as socket
print "Discovered: %s, %s"%(addr,services)
for x in choices],u'Choose port:')
print "Connecting to "+str(address)+"...",
test= appuifw.query(u"Type words", "text", u"")
print "sending done"
# Allow time for data to be sent to work around a bug in the socket