some debugging, notes on BT protocol