FujiProtocolParser C++ lib. Protocol parser library for Fujinon CCTV lenses
The FujiProtocolParser C++ library version 1.0.1 designed for encoding control commands and checking responses for Fujinon CCTV lenses.
LICENSE: We sell source code of this library as is, without future updates and technical support according to perpetual non-exclusive royalty-free license. You pay once and can use this library in your software and hardware products without limits. Please read the license agreement before purchasing: DOWNLOAD LICENSE. You can buy technical support service for this product.
The FujiProtocolParser C++ library version 1.0.1 designed for encoding control commands and checking responses for Fujinon CCTV lenses.
LICENSE: We sell source code of this library as is, without future updates and technical support according to perpetual non-exclusive royalty-free license. You pay once and can use this library in your software and hardware products without limits. Please read the license agreement before purchasing: DOWNLOAD LICENSE. You can buy technical support service for this product.
The FujiProtocolParser C++ library version 1.0.1 designed for encoding control commands and checking responses for Fujinon CCTV lenses.
LICENSE: We sell source code of this library as is, without future updates and technical support according to perpetual non-exclusive royalty-free license. You pay once and can use this library in your software and hardware products without limits. Please read the license agreement before purchasing: DOWNLOAD LICENSE. You can buy technical support service for this product.
Purchase options
You can by this software online by card or you can buy the software by bank transfer. Bank transfer available only for companies. To buy software by bank transfer please send us request to info@constantrobotics.com. Also, you can buy technical support service for this product.
Overview
The FujiProtocolParser C++ library designed for encoding control commands and checking responses for Fujinon CCTV lenses. The library includes basic methods for preparing commands (encoding) and interpreting the camera responses (checking command arguments). It uses C++17 standard. The library provides simple interface and doesn't have third party dependencies. Also, the library includes demo application to test communication with lenses via serial ports.
Downloads
Programmer’s manual: DOWNLOAD
Simple interface
class FujiProtocolParser
{
public:
/// Get library version.
static std::string getVersion();
/// Encode Fuji lens command.
bool getCommand(uint8_t* data,
int& size,
FujiCommand id,
int arg1 = 0,
int arg2 = 0);
/// Check Fuji lens response.
bool checkResponse(uint8_t* data,
int size,
FujiCommand id,
int& arg1,
int& arg2);
};
Prepare lens command example
// Encode command.
uint8_t buffer[32];
int size = 0;
if (!parser.getCommand(buffer, size,
FujiCommand::SET_ZOOM_POSITION,
10000))
return false;
// Send command to serial port.
if (g_serialPort.write(buffer, size) != size)
return false;