#define __packetdata __attribute__((packed)) __attribute__((__aligned__(4)))
-#define UBUS_MAX_MSGLEN 65535
+#define UBUS_MAX_MSGLEN 65536
#define UBUS_SYSTEM_OBJECT_EVENT 1
#define UBUS_SYSTEM_OBJECT_MAX 1024
/* invoke a method on a single object */
UBUS_MSG_INVOKE,
- /* publish an object */
- UBUS_MSG_PUBLISH,
+ UBUS_MSG_ADD_OBJECT,
+ UBUS_MSG_REMOVE_OBJECT,
/* must be last */
__UBUS_MSG_LAST,
UBUS_STATUS_METHOD_NOT_FOUND,
UBUS_STATUS_NOT_FOUND,
UBUS_STATUS_NO_DATA,
+ UBUS_STATUS_PERMISSION_DENIED,
+ UBUS_STATUS_TIMEOUT,
__UBUS_STATUS_LAST
};