Dispatcher Demo
Overview
There is an example implementation of the dispatcher Demo application available in the apps folder. In this implementation, it contains all the API functions and demos for how to use them
Features
In every API for this driver, the Structure input argument is provided by the user.
The sample application includes Test Suite APIs. The test suite API was used to test the module registration and consume the messages
Example Usecase
In dispatcher demo, Modules (Module VP, Module Sparkelt,..) registered and dispatch the messages based on the module id and consume the messages once exists..
Example input data:
Module Registration: (rs_dp_register_modul)
Using this function ,modules registered using bit field.
Module 1 registered successfully
Module 2 registered successfully
Module 3 registered successfully
Message dispatch : (rs_dp_dispatch_msg)
Using this function, dispatch the messages based on the module id.
Message consumption: (rs_dp_consume_msgs)
Using this function, Consume the messages gathered in the module id.
Dispatcher Module Driver
Please refer below section,