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,
40 MSG_BB_OPEN_FOR_READING,
41 MSG_BB_OPEN_FOR_WRITING,
46 MSG_BB_INTERFACE_MESSAGE,
47 MSG_BB_DATA_REFRESHED,
50 MSG_BB_READER_REMOVED,
52 MSG_BB_WRITER_REMOVED,
53 MSG_BB_INTERFACE_CREATED,
54 MSG_BB_INTERFACE_DESTROYED,
77 char type_pattern[INTERFACE_TYPE_SIZE_];
78 char id_pattern[INTERFACE_ID_SIZE_];
84 char type[INTERFACE_TYPE_SIZE_];
85 char id[INTERFACE_ID_SIZE_];
86 unsigned char hash[INTERFACE_HASH_SIZE_];
92 char type[INTERFACE_TYPE_SIZE_];
93 char id[INTERFACE_ID_SIZE_];
94 unsigned char hash[INTERFACE_HASH_SIZE_];
111 char type[INTERFACE_TYPE_SIZE_];
112 char id[INTERFACE_ID_SIZE_];
178 char msg_type[INTERFACE_MESSAGE_TYPE_SIZE_];
A convenience class for universally unique identifiers (UUIDs).
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 data_size
size in bytes of the following data.
Uuid serial
instance serial to unique identify this instance
Message for interface events.
Message to identify an two interface instances.
Uuid event_serial
instance serial to unique identify instance that caused the event.
Uuid 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.
Uuid serial
interface instance serial
Uuid source
serial of the original message source
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...
Uuid 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.
Uuid serial
instance serial to unique identify this instance