Fawkes API
Fawkes Development Version
|
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_];
@ BB_ERR_WRITER_EXISTS
You tried to open an interface for writing but there is already a writing instance for this interface...
uint32_t writer_readers
combined writer reader information.
uint32_t data_size
size in bytes of the following data.
Message to request constrained interface list.
int64_t timestamp_sec
data or write timestamp, sec part
@ BB_ERR_UNKNOWN_TYPE
Requested interface type is unknown.
int64_t timestamp_usec
data or write timestamp, usec part
blackboard_msgid_t
BlackBoard network message types.
uint32_t data_size
size in bytes of the following data.
Message to send update data.
uint32_t serial
instance serial to unique identify this instance
uint32_t hops
number of hops this message already passed
Message for interface info.
@ BB_ERR_UNKNOWN_ERR
Unknown error occured.
Message for interface events.
uint32_t error_code
Error code.
uint32_t serial
instance serial to unique identify own instance
uint32_t writer_readers
combined writer reader information.
@ BB_ERR_HASH_MISMATCH
The hashes of the interfaces do not match.
uint32_t data_size
data for message
uint32_t event_serial
instance serial to unique identify instance that caused the event.
Fawkes library namespace.
Message to transport a list of interfaces.
uint32_t serial
instance serial to unique identify this instance
Message to identify an interface on open.
uint32_t serial
instance serial to unique identify this instance
Interface open success The serial denotes a unique instance of an interface within the (remote) Black...
Message to identify an two interface instances.
Message to identify an interface instance.
uint32_t serial
instance serial to uniquely identify this instance (big endian)
uint32_t serial
interface instance serial
dynamic_list_t interface_list
dynamic buffer list with interface info
blackboard_neterror_t
Error codes.