Honeywell interview question

How would you bitbang an unknown databus. How would you set it up?