puzzlebox
Loading...
Searching...
No Matches
Overrides

Override functions from pbdrv-mod. More...

Detailed Description

Functions

void pb_route_cmd_magic_res (pb_msg_t *msg)
 Handle a MAGIC message with action RES.
 

Function Documentation

◆ pb_route_cmd_magic_res()

void pb_route_cmd_magic_res ( pb_msg_t * msg)

This function registers the I²C address of the puzzle module that replied to the MAGIC REQ command into a list of "known puzzle modules", which are then periodically updated during gameplay.

Note
Up to CFG_PB_MOD_MAX puzzle modules can be registered simultaniously.