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.
RETURNS
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