puzzlebox
Loading...
Searching...
No Matches
pbdrv

Standalone puzzle bus driver. More...

Detailed Description

pbdrv is a standalone portable static library for handling (i.e. (de)serialization) of puzzle bus messages. pbdrv is meant for use within applications that handle puzzle bus messages, but are not puzzle modules themselves. For a complete puzzle module driver, please see pbdrv-mod.

If you order to use pbdrv, you need to include this folder in your CMakeLists.txt file, include the extension for your target platform, and link the pbdrv library with your executable.

Example
# include pbdrv
add_subdirectory(lib/pbdrv)
# <use extension>
# link with executable
target_link_libraries(main pbdrv)

Components

 Extensions
 Platform-specific pbdrv implementations.
 
 Buffer
 Binary data buffer type used in pbdrv.
 
 Memory
 Platform-specific memory management functions.
 
 Message
 Message (de)serialization.
 
 Serial
 Internal (de)serialization functions using mpack.
 
 Types
 Datatypes used within pbdrv.
 
 Bus
 Constants for the puzzle bus hardware.