FujiSxParser C++ lib. Protocol parser library for Fujinon SX series CCTV cameras.
The FujiSxParser C++ library version 2.0.0 designed for encoding control commands and decoding responses from Fujinon Sx series CCTV cameras (block daylight cameras with integrated zoom 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 FujiSxParser C++ library version 2.0.0 designed for encoding control commands and decoding responses from Fujinon Sx series CCTV cameras (block daylight cameras with integrated zoom 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 FujiSxParser C++ library version 2.0.0 designed for encoding control commands and decoding responses from Fujinon Sx series CCTV cameras (block daylight cameras with integrated zoom 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 FujiSxParser C++ library version 2.0.0 designed for encoding control commands and decoding responses from Fujinon Sx series CCTV cameras (block daylight cameras with integrated zoom lenses). Fujinon Sx cameras use custom Pelco-D communication protocol. The library includes basic methods for preparing commands (encoding) and interpreting the camera responses (decoding). It uses C++17 standard. The library provides simple interface and doesn't have third party dependencies. Also, the library provides demo application to test communication with cameras via serial ports.
Downloads
Programmer’s manual: DOWNLOAD
Simple interface
class FujiSxParser
{
public:
/// Encode fuji command.
bool getCommand(uint8_t data[7], int address,
FujiSxCommand id, int arg1 = 0, int arg2 = 0);
/// Decode fuji response.
FujiSxResponse decodeResponse(uint8_t nextByte, int& arg1, int& arg2);
/// Get library version.
static std::string getVersion();
};
Prepare camera command example
// Init variables.
uint8_t packet[7];
uint8_t cameraAddress = 7;
// Prepare zoom tele.
parser.getCommand(packet, cameraAddress, FujiSxCommand::ZOOM_TELE);
// Prepare zoom tele.
parser.getCommand(packet, cameraAddress, FujiSxCommand::FOCUS_NEAR);