CAN frame - multiposition switch

Hi

Is there a way to simulate the sending can frame as a multi position switch. i.e for boost levels or traction control.

Something like the BTi or CANchecked will let you create a button with X number of states.

https://www.canchecked.de/help/maxxecu-einrichtung/

Thanks

Two easy solutions would be button that is rotating a dummy value, or slider to set a dummy value. Then make a trigger that sends a CAN frame when dummy variable changes.