Get error code for the local channel
NABTO_CLIENT_DECL_PREFIX NabtoClientError NABTO_CLIENT_API nabto_client_connection_get_local_channel_error_code(NabtoClientConnection* connection)
- [in] The connection on which the local channel is opened for which the error should be retrieved.
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