M1 Jogging via API


I was wondering about how to use the jogging function with the Dobot M1 via API. The API-Description document writes about the SETJOGCmd command which apparently starts the jogging. However, there is no information on the time the robot arm will jog for / how to stop the jogging procedure. So I wanted to ask how to stop the jogging procedure or is the jogging command just moving the arm by the smallest step and you have to repeatedly call it in a loop?