Skip to content
This repository was archived by the owner on Dec 16, 2024. It is now read-only.
This repository was archived by the owner on Dec 16, 2024. It is now read-only.

why is the -p flag required? #4

Closed
@AndySchroder

Description

@AndySchroder

On

output_bytes = subprocess.check_output(["mbimcli", "-p", "-d", DEV] + command.split(),
we have a -p flag that is passed to mbimcli. What is this for? It's not working for me with that. Getting the following:

$ sudo mbimcli -p -d /dev/cdc-wdm0 --ms-set-uicc-open-channel="application-id=a0000005591010ffffffff8900000100"
error: operation failed: MBIM protocol error: NotOpened
$

However, if I remove -p, I get:

$ sudo mbimcli -d /dev/cdc-wdm0 --ms-set-uicc-open-channel="application-id=a0000005591010ffffffff8900000100"
Succesfully retrieved open channel info:
	  status: 144
	 channel: 3
	response: 6F:1F:84:10:A0:00:00:05:59:10:10:FF:FF:FF:FF:89:00:00:01:00:A5:04:9F:65:01:FF:E0:05:82:03:02:02:02
$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions