Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (7 sloc) 187 Bytes
import lightblue
print 'connecting to the bluetooth chip'
s = lightblue.socket()
s.connect(('00:12:04:06:71:54', 1))
while True:
data = raw_input('Type data ')
s.sendall(data)