Thread
:
Sending tuples via bluez?
View Single Post
ali1234
2009-11-29 , 10:52
Posts: 15 | Thanked: 48 times | Joined on Nov 2009 @ United Kingdom
#
8
Consider using struct.pack and struct.unpack for this, it handles packing data into C style structs for you, and deals with endian issues transparently.
Possibly overkill in this case, but if you wanted to send more complex data it is very useful indeed.
Quote & Reply
|
ali1234
View Public Profile
Send a private message to ali1234
Find all posts by ali1234