You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file shall implement function to process incoming data from the Datenerfasser and passes the proccesed data to the Datenversender (Look comment below for example sequence diagram)
Special Cases:
If you want to stop the entire system, first the Datenerfasser has to stop collecting data, after that the loop will still run until the last item in the queue is processed, then the loop will break.
Create an verarbeitung.h which defines the functions and structs like:
Struct to apply rules, specialy for each Input Typ, with the fields:
Function type
Output-ID
Function pointer
deadline for publish
publish interval
void* to store internal information
A struct which acts as a super struct for the Input rules, with the fields
Implement verarbeitung.c
This file shall implement function to process incoming data from the Datenerfasser and passes the proccesed data to the Datenversender (Look comment below for example sequence diagram)
Example code how it could look like:
Special Cases:
If you want to stop the entire system, first the Datenerfasser has to stop collecting data, after that the loop will still run until the last item in the queue is processed, then the loop will break.
Create an verarbeitung.h which defines the functions and structs like:
Example:
The text was updated successfully, but these errors were encountered: