C API for BALTECH SDK

§ brp_close()

BRP_LIB brp_errcode brp_close ( brp_protocol  protocol)

Closes protocol.

If the protocol is already closed nothing is done and BRP_OK is returned.

This command does not free the allocated resources. To free the resources call brp_destroy().

Parameters
protocolprotocol handle to close