The only way to understand cable_test is to programm a "virtual" switch and then send some random answers to the existing software