Can-Bus shield automatic baudrate detection


I want the can-bus shield to set the baudrate automatically. I have different Can-Sensors with different baudrates (125K or 250K). If I connect one Sensor to the can-bus shield I want the can-bus shield to set 125K and check wether there are incoming messages or not. If not the can-bus shield should set 250K and check again. If there are incoming messages the loop() should start (I think that the baudrate can only be set in setup()). Do you have any experiences with that which meight help me?

Thanks a lot! :slightly_smiling_face: