24 #ifndef __BLACKBOARD_NET_MESSAGES_H_
25 #define __BLACKBOARD_NET_MESSAGES_H_
28 #include <netcomm/utils/dynamic_buffer.h>
29 #include <interface/interface.h>
38 MSG_BB_INTERFACE_LIST = 1,
39 MSG_BB_OPEN_FOR_READING = 2,
40 MSG_BB_OPEN_FOR_WRITING = 3,
41 MSG_BB_OPEN_SUCCESS = 4,
42 MSG_BB_OPEN_FAILURE = 5,
45 MSG_BB_INTERFACE_MESSAGE = 8,
46 MSG_BB_DATA_CHANGED = 9,
47 MSG_BB_READER_ADDED = 10,
48 MSG_BB_READER_REMOVED = 11,
49 MSG_BB_WRITER_ADDED = 12,
50 MSG_BB_WRITER_REMOVED = 13,
51 MSG_BB_INTERFACE_CREATED = 14,
52 MSG_BB_INTERFACE_DESTROYED = 15,
73 char type_pattern[__INTERFACE_TYPE_SIZE];
74 char id_pattern[__INTERFACE_ID_SIZE];
79 char type[__INTERFACE_TYPE_SIZE];
80 char id[__INTERFACE_ID_SIZE];
81 unsigned char hash[__INTERFACE_HASH_SIZE];
87 char type[__INTERFACE_TYPE_SIZE];
88 char id[__INTERFACE_ID_SIZE];
89 unsigned char hash[__INTERFACE_HASH_SIZE];
92 uint32_t has_writer : 1;
94 uint32_t num_readers : 31;
102 char type[__INTERFACE_TYPE_SIZE];
103 char id[__INTERFACE_ID_SIZE];
135 uint32_t has_writer : 1;
136 uint32_t num_readers : 31;
166 char msg_type[__INTERFACE_MESSAGE_TYPE_SIZE];
uint32_t serial
instance serial to unique identify this instance
blackboard_neterror_t
Error codes.
Requested interface type is unknown.
uint32_t serial
instance serial to unique identify this instance
Message to identify an two interface instances.
Fawkes library namespace.
Message to identify an interface on open.
Message to transport a list of interfaces.
uint32_t errno
Error code.
Message for interface info.
You tried to open an interface for writing but there is already a writing instance for this interface...
uint32_t event_serial
instance serial to unique identify instance that caused the event.
uint32_t serial
instance serial to unique identify own instance
Interface open success The serial denotes a unique instance of an interface within the (remote) Black...
The hashes of the interfaces do not match.
uint32_t data_size
data for message
uint32_t data_size
size in bytes of the following data.
dynamic_list_t interface_list
dynamic buffer list with interface info
uint32_t serial
interface instance serial
uint32_t serial
instance serial to unique identify this instance
uint32_t serial
instance serial to unique identify this instance
blackboard_msgid_t
BlackBoard network message types.
Message for interface events.
Message to request constrained interface list.
Message to identify an interface instance.
uint32_t data_size
size in bytes of the following data.
uint32_t hops
number of hops this message already passed
Message to send update data.