24 #ifndef _BLACKBOARD_NET_MESSAGES_H_
25 #define _BLACKBOARD_NET_MESSAGES_H_
27 #include <interface/interface.h>
28 #include <netcomm/utils/dynamic_buffer.h>
39 MSG_BB_INTERFACE_LIST = 1,
40 MSG_BB_OPEN_FOR_READING = 2,
41 MSG_BB_OPEN_FOR_WRITING = 3,
42 MSG_BB_OPEN_SUCCESS = 4,
43 MSG_BB_OPEN_FAILURE = 5,
46 MSG_BB_INTERFACE_MESSAGE = 8,
47 MSG_BB_DATA_CHANGED = 9,
48 MSG_BB_READER_ADDED = 10,
49 MSG_BB_READER_REMOVED = 11,
50 MSG_BB_WRITER_ADDED = 12,
51 MSG_BB_WRITER_REMOVED = 13,
52 MSG_BB_INTERFACE_CREATED = 14,
53 MSG_BB_INTERFACE_DESTROYED = 15,
76 char type_pattern[INTERFACE_TYPE_SIZE_];
77 char id_pattern[INTERFACE_ID_SIZE_];
83 char type[INTERFACE_TYPE_SIZE_];
84 char id[INTERFACE_ID_SIZE_];
85 unsigned char hash[INTERFACE_HASH_SIZE_];
91 char type[INTERFACE_TYPE_SIZE_];
92 char id[INTERFACE_ID_SIZE_];
93 unsigned char hash[INTERFACE_HASH_SIZE_];
110 char type[INTERFACE_TYPE_SIZE_];
111 char id[INTERFACE_ID_SIZE_];
176 char msg_type[INTERFACE_MESSAGE_TYPE_SIZE_];
Fawkes library namespace.
blackboard_msgid_t
BlackBoard network message types.
blackboard_neterror_t
Error codes.
@ BB_ERR_UNKNOWN_ERR
Unknown error occured.
@ BB_ERR_WRITER_EXISTS
You tried to open an interface for writing but there is already a writing instance for this interface...
@ BB_ERR_HASH_MISMATCH
The hashes of the interfaces do not match.
@ BB_ERR_UNKNOWN_TYPE
Requested interface type is unknown.
uint32_t serial
instance serial to unique identify this instance
uint32_t data_size
size in bytes of the following data.
Message for interface events.
Message to identify an two interface instances.
uint32_t event_serial
instance serial to unique identify instance that caused the event.
uint32_t serial
instance serial to unique identify own instance
Message for interface info.
uint32_t writer_readers
combined writer reader information.
int64_t timestamp_usec
data or write timestamp, usec part
int64_t timestamp_sec
data or write timestamp, sec part
uint32_t serial
instance serial to uniquely identify this instance (big endian)
Message to transport a list of interfaces.
dynamic_list_t interface_list
dynamic buffer list with interface info
Message to request constrained interface list.
uint32_t serial
interface instance serial
uint32_t data_size
data for message
uint32_t hops
number of hops this message already passed
Message to identify an interface on open.
Message to send update data.
uint32_t error_code
Error code.
Interface open success The serial denotes a unique instance of an interface within the (remote) Black...
uint32_t serial
instance serial to unique identify this instance
uint32_t data_size
size in bytes of the following data.
uint32_t writer_readers
combined writer reader information.
Message to identify an interface instance.
uint32_t serial
instance serial to unique identify this instance