Brp_Close_Session - Siemens SIMATIC RF1060R Operating Instructions Manual

Simatic ident
Hide thumbs Also See for SIMATIC RF1060R:
Table of Contents

Advertisement

Programming interface
4.1 The functions of the DLL
Function call
int
brp_open_usb_session(
int * Handle,
DWORD ProductID
);
Description of the parameters
Parameter
brp_open_usb_session
Return value
4.1.2

brp_close_session

This function terminates an existing USB connection that was established earlier.
Function call
int
brp_close_session(
);
Description of the parameters
Parameter
brp_close_session
Return value
12
Description
The parameter opens a connection to the reader via USB
Handle
Session key initialized by this function.
ProductID
The product ID of the device to be connected.
You will find more information on return values in the section "Return val-
ues (Page 18)".
int Handle
Description
This parameter terminates a connection.
Handle
The session key returned by the function "brp_open_usb_session()".
You will find more information on return values in the section "Return values
(Page 18)".
BRP_OK
BRP_ERR_BUSY
BRP_ERR_GENERAL_IO
BRP_ERR_BUFFER_OVERFLOW
BRP_ERR_NO_MORE_HANDLES
BRP_ERR_INSUFFICIENT_MEM
BRP_OK
BRP_ERR_WRONG_HANDLE
Operating Instructions, 05/2017, C79000-G8976-C432-02
SIMATIC RF1060R

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents