RepBufRepBuf is a new protocol for retrieving data from the buffer of PortStore2 PL products. It is now possible to re-read data that have already been sent, as well as confirm data reception. RepBuf increases the reliability of CMDR/CDR data transfer and processing in call accounting applications.
The RepBuf protocol supports controlled reading and deletion of individual memory blocks, as well as re-reading all stored data. It uses extended NVT commands; however, it does not support the Client/Server mode. RepBuf overview
How does RepBuf workRAW and Raw + NVTIn the standard RAW and Raw + NVT modes, the internal PortStore memory works as a LIFO buffer. When a connection to the unit is established, all stored data are transmitted first, and then the unit acts as a transparent TCP/IP to serial port bridge. In the RAW and Raw + NVT modes, PortStore2 starts firing off the stored data as soon as a connection is established.
RepBufIn the RepBuf mode, data download is fully controlled, via NVT commands, by the PC application (TCP Client) that initiated the connection. The NVT commands allow to:
In the RepBuf mode, after a connection is established, the PortStore2 device waits for a RepBuf command sent using the NVT protocol. Newly incoming data are stored in the internal buffer first, and the PC application detects them by periodically polling the buffer state and subsequently reading the data.
How to use / implement RepBuf
|