Thread
:
Sending tuples via bluez?
View Single Post
McLightning
2009-11-28 , 12:28
Posts: 308 | Thanked: 62 times | Joined on Jun 2009 @ Turkiye
#
1
hi everybody
lately im working on an exciting project
but i got a problem about about sending two variables at same time via bluez module
therefore,i need to send these two variables as a tuple object , i guess
infact i found a way send two variables at same time as string but it's too laggy and sometimes causing errors
here is my solution which is so laggy:
on client:
def senderfunction():
socket.send(str(a)+' '+str(b))
on server:
a=int(incomingdata[0:3])
b=int(incomingdata[4:len(incomingdata)]
please help
__________________
Mplayer Full ShortCut List
http://www.keyxl.com/aaa2fa5/302/MPl...-shortcuts.htm
Mclightning.com
DegCal - Right Triangle Degree Calculator
Quote & Reply
|
McLightning
View Public Profile
Send a private message to McLightning
Find all posts by McLightning