nabto_client_connection_get_local_channel_error_code()

DESCRIPTION

Get error code for the local channel

DECLARATION

NABTO_CLIENT_DECL_PREFIX NabtoClientError NABTO_CLIENT_API
nabto_client_connection_get_local_channel_error_code(NabtoClientConnection* connection)

PARAMETERS

connection:
[in] The connection on which the local channel is opened for which the error should be retrieved.

RETURN VALUES

NABTO_CLIENT_EC_OK if the device was found using mdns. NABTO_CLIENT_EC_NONE if mdns discovery was not enabled for the connection. NABTO_CLIENT_EC_NOT_FOUND if mdns was enabled but the device was not found. NABTO_CLIENT_EC_OPERATION_IN_PROGRESS if scanning is still in progress

EXAMPLES

None.