Q: PyFirmata sendSysex struggle

Hi!

I'm struggling to get PyFirmata (from Raspberry) to work with Arduino and AccelStepperFirmata, mostly due to almost complete lack of examples, and cumbersome to understand documnetation

For example

Stepper zero

accelStepper will store the current absolute position of the stepper motor (in steps).

Sending the zero command will reset the position value to zero without moving the stepper.

0 START_SYSEX (0xF0)

1 ACCELSTEPPER_DATA (0x62)

2 zero command (0x01)

3 device number (0-9)

4 END_SYSEX (0xF7)[

Which results in this sequnce

def accStepFmt_Zero(dev_no):
    badata = bytearray([START_SYSEX, ACCELSTEPPER_DATA, ACCELSTEPPER_ZERO, dev_no, END_SYSEX])
    send_sysex(???, badata)

However, its not completely clear, what should be fist argument (byte command) in this case (from PyFirmata docs).

send_sysex(sysex_cmd, data)

    Sends a SysEx msg.
    Parameters:	sysex_cmd – A sysex command byte

    : arg data: a bytearray of 7-bit bytes of arbitrary data

Is sysex_cmd = ACCELSTEPPER_DATA, or what?
PyFirmata function "send_sysex" seems like automatically appends START_SYSEX and END_SYSEX, so they don't needed in badata.