Functions

get_node_for_uri (uri, node_id)

get_uri_for_node (node_id)

Details

Qrtr.get_node_for_uri(uri, node_id)
Parameters:
  • uri (str) – a URI.

  • node_id (int) – return location for the node id.

Returns:

True if node_id is set, False otherwise.

Return type:

bool

Get the QRTR node id from the specified URI.

New in version 1.0.

Qrtr.get_uri_for_node(node_id)
Parameters:

node_id (int) – node id.

Returns:

a string with the URI, or None if none given. The returned value should be freed with GLib.free().

Return type:

str

Build a URI for the given QRTR node.

New in version 1.0.