send data to a bluetooth module using python qt
<p>In python-qt i have created a form with for buttons.I have to send data to a bluetooth module.On pressing one button one particular data have to be send.When another button is clicked another data have to send.for this i have opened a socket and tried to send the requried data using sock.send.during all the time the socket is open.but this method is showing me an error.the error is "bluetooth.btcommon.BluetoothError 107 :Transport endpoint not connected".
how i can i solve this problem??can anyone help me out?? </p>
