public void Start()
{
var receiveThread = new Thread(ReceiveResponses);
var sendThread = new Thread(SendCommmands);
receiveThread.Start();
sendThread.Start();
}
public ConnectedSphero(BluetoothDevice bluetoothDevice, BluetoothSocket socket) : base(bluetoothDevice) { _spheroSocketWrapper = new StreamSocketWrapper(socket); _runner = new NonAwaitingConnectedSpheroRunner(_spheroSocketWrapper); _runner.Disconnected += (sender, args) => RaiseDisconnected(); _runner.Start(); }