Brp_Set_Bufsize - Siemens SIMATIC RF1000 Series Operating Instructions Manual

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

Advertisement

Table 6- 1
Parameter
brp_open_usb_session
Return value
6.2.1.2

brp_set_bufsize

This function allows you to define the buffer size for the job and response telegrams. Note
that the buffer size is automatically set to the default value of 128 bytes after the restart.
Function call
int
brp_set_bufsize(
int * Handle,
int TotalBufsize,
int SendBufsize,
int RecvBufsize
);
Table 6- 2
Parameter
brp_open_usb_session
SIMATIC RF1000
Operating Instructions, 02/2019, C79000-G8976-C432-04
Description of the parameters
Description
The parameter opens a connection to the reader via the USB interface.
Handle
Session key initialized by this function. The session key is valid as soon as
"BRP_OK" is returned.
ProductID
0x00
BRP_OK
BRP_ERR_BUSY
BRP_ERR_GENERAL_IO
BRP_ERR_BUFFER_OVERFLOW
BRP_ERR_NO_MORE_HANDLES
BRP_ERR_INSUFFICIENT_MEM
You will find more information on return values in the section "Return val-
ues (Page 31)".
Description of the parameters
Description
The parameter opens a connection to the reader via the USB interface.
Handle
The session key returned by the function "brp_open_usb_session".
TotalBufsize
Specifying the maximum size of the job and response telegram
Default value: 128 bytes (data length 122 bytes)
RF1060R: max. 512 bytes (data length 506 bytes)
RF1070R: max. 1024 bytes (data length 1018 bytes)
SendBufsize
Specifying the maximum size of the request telegram
Default value: 128 bytes (data length 122 bytes)
RF1060R: max. 512 bytes (data length 506 bytes)
RF1070R: max. 1024 bytes (data length 1018 bytes)
Programming
6.2 Programming via USB interface
19

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic rf1060rSimatic rf1070r

Table of Contents