try to adapt Bus Pirate ds30client