This adds a command from ms-basic-connect-extensions to reset a modem: https://learn.microsoft.com/en-us/windows-hardware/drivers/network/mb-modem-reset-operations
I tested this on a Fibocom FM150-AE running in mbim mode. It sometimes get's into a state where it won't connect anymore for me. Resetting it helps. In older modemmanager versions the reset was done via a similar command with qmi but with newest modemmanager this isn't working anymore as qmi acces via mbim is blocked.
If this could go in I could maybe change the reset functionality in modemmanager to use this?