Can DBC Framer
This is the Can DBC framer implementation with fixed size of user initialization.
The main buffer structure variable and the internal data buffer both should be declared on the application side and the pointers of the variables are used in the module.
Usage
All API functions have the first argument configuration of framer.
Using rs_framer_parse_frame () parse the frame
Using rs_framer_prepare_frame () prepare the frame
Return codes of API functions are defined in header file.
Function |
Description |
|---|---|
rs_framer_parse_frame |
Function to Process the given data as per the give format and returns the associated ID |
rs_framer_prepare_frame |
Function to Forms the frame as per the given structure and stores it in the given buffer |
Error Code
- Every API’s for the message queue module returns some success or failure values.
Please refer below section,
Example Demo
Please refer below section,
Message Queue Header Details
Documentation from the relevant header as follows:
Warning
doxygenfile: Cannot find file “rs_framer.h