`board.detect.js` sounds good to you? 

Also, what if people want to use the BBB as a host (using Arduino through serial port)?