BALTECH Docs |
C API for BALTECH SDK
|
BRP_LIB brp_errcode brp_set_io | ( | brp_protocol | protocol, |
brp_protocol | io_protocol | ||
) |
Assigns an I/O protocol to a composite protocol (protocol stack).
This is similar to the following call:
brp_set_layer(protocol, BRP_LAYERID_IO, io_protocol).
Attention: In contrary to brp_set_layer 'io_protocol' will be destroyed if this call fails for some reason (brp_destroy() must not be called in this case)!
protocol | the composite protocol, which I/O shall be set. |
io_protocol | the new I/O protocol of the composite prot. |