C API for BALTECH SDK

§ brp_Sys_Reset()

brp_errcode brp_Sys_Reset ( brp_protocol  protocol)

This command reboots the reader.

Its main purpose is to apply configuration changes made e.g. with brp_Sys_CfgSetValue().

Close and reopen the connection after running Sys.Reset

Close the connection to the reader immediately after running Sys.Reset. Depending on the protocol, the connection may be lost. In this case, you need to reconnect.

When to reconnect?

The reset takes about 500 to 1000 ms to complete. Thus, we recommend you wait about 100 ms after closing the connection. Then try to reconnect every 100 ms.

When is a reconnect successful?

Consider a reconnect successful as soon as the reader executes a command. Opening a port is not a guarantee that you've reconnected.

Parameters
[in]protocolused to execute the command