Ever wonder if your USB C cable is USB2 or USB3? Do you have some charge-only cables hiding in a box just waiting for the right moment to spoil your project plans?!
Fear no more!

I’ve made a simple board to test most of the things!

Connect your cable to both sides and the signal LEDs will light up if they are connected. Here’s an example of a USB2 cable and a thunderbolt 3 cable.
@alvaro Just curious, how do you handle detecting CC1 versus CC2 continuity? You've got two receptacles there, so it's possible the orientation of both plugs is flipped, so neither CC1 nor CC2 connect to each other on a valid cable. Also, e-marked cables have Ra resistors. Do you detect those somehow?
@bensonleung it’s pretty dumb, just sees if there’s connectivity. You’ll have to rotate if you want it to match CC1/2.
I don’t think I have a smart cable to test the other thing though
@alvaro the thunderbolt 3 cable in your pictures has an e-marker, and therefore has Ra pulldowns on the Vconn pins in both plugs. All advanced cables (better than 3A and USB 2.0 only) have Ra's.