Searched refs:bleObj (Results 1 – 2 of 2) sorted by relevance
65 def sendCommand(bleObj, cmd): argument67 bleObj.writeData(cmd, len(cmd))70 if (bleObj.dataAvailable(1000)):71 bleObj.readData(bleBuffer, bufferLength)
48 function sendCommand(bleObj, cmd, callback) argument51 bleObj.writeData(cmd, cmd.length);54 if (bleObj.dataAvailable(1000))56 bleObj.readData(bleBuffer, bufferLength);