Auto matched gear set code