|
PiImageStreamer
|

Go to the source code of this file.
Macros | |
| #define | COMMAND_MSG_TYPE (0x00000100) |
| #define | STATUS_REPORT_MSG_TYPE (0x00000200) |
| #define | HEARTBEAT_MSG_TYPE (0x5AA55AA5) |
| #define | BROADCAST_MESSAGE_TYPE (0x7FFFFFFF) |
This code is developed as part of the MSOE SWE4211 Real Time Systems course, but can be freely used by others.
SWE4211 Real Time Systems is a required course for students studying the discipline of software engineering.
This Software is provided under the License on an "AS IS" basis and without warranties of any kind concerning the Software, including without limitation merchantability, fitness for a particular purpose, absence of defects or errors, accuracy, and non-infringement of intellectual property rights other than copyright. This disclaimer of warranty is an essential part of the License and a condition for the grant of any rights to this Software.
This file defines the message types. The type is placed in the messageType field of a networkMessageStruct and the commandType field of a CommandQueueEntry, and it determines how the message is routed.
| #define BROADCAST_MESSAGE_TYPE (0x7FFFFFFF) |
A broadcast message is sent to all devices / components within the system.
| #define COMMAND_MSG_TYPE (0x00000100) |
This indicates that we have a command being sent. A command type indicates that a device is being commanded to perform some operation.
| #define HEARTBEAT_MSG_TYPE (0x5AA55AA5) |
A heartbeat message indicates a request or response is being sent to see if a given device is operating properly.
| #define STATUS_REPORT_MSG_TYPE (0x00000200) |
This indicates that we have a status report. A status report is sent from a device to another device.