Callbacks

DeviceCommandAbortableParseResponseFn (self, abort_response, *user_data)

MessageForeachRawTlvFn (type, value, length, *user_data)

Details

Qmi.DeviceCommandAbortableParseResponseFn(self, abort_response, *user_data)
Parameters:
Returns:

True if the abort succeeded, False if error is set.

Return type:

bool

Callback to run when processing the command abortion. This callback should parse the abort response provided by the device, and build an appropriate output.

New in version 1.24.

Qmi.MessageForeachRawTlvFn(type, value, length, *user_data)
Parameters:
  • type (int) – specific ID of the TLV.

  • value (int) – value of the TLV.

  • length (int) – length of the TLV, in bytes.

  • user_data (object or None) – user data.

Callback type to use when iterating raw TLVs with Qmi.message_foreach_raw_tlv().

New in version 1.0.