C API for BALTECH SDK

§ brp_open()

BRP_LIB brp_errcode brp_open ( brp_protocol  protocol)

Set up a connection via this protocol.

Has to be called before running any communication sequence via this protocol.

If the protocol is already opened, nothing is done and BRP_OK is returned.

Parameters
protocolprotocol handle to open