* Copyright (c) 2025 Huawei Technologies Co., Ltd.
* This program is free software, you can redistribute it and/or modify it under the terms and conditions of
* CANN Open Software License Agreement Version 2.0 (the "License").
* Please refer to the License for details. You may not use this file except in compliance with the License.
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED,
* INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
* See LICENSE in the root of the software repository for the full text of the License.
*/
#ifndef BBOX_MESSAGE_H
#define BBOX_MESSAGE_H
enum bbox_msg_type {
BBOX_MSG_NULL = 0x0,
BBOX_MSG_HELLO = 0x1,
BBOX_MSG_EXCEPTION = 0x10,
BBOX_MSG_OOM,
BBOX_MSG_EXCEPTION_MAX = 0x3F,
BBOX_MSG_REBOOT = 0x40,
BBOX_MSG_NOTIFY_MAX = 0x4F,
BBOX_MSG_ACK = 0x50,
BBOX_MSG_NAK,
BBOX_MSG_RPL_MAX = 0x5F,
BBOX_MSG_CTRL = 0x60,
BBOX_MSG_MAX = 0xFF,
};
enum bbox_msg_data_type {
DATA_MSG_T_NULL = 0,
DATA_MSG_T_FULL = 1,
DATA_MSG_T_MIN = 2,
DATA_MSG_T_DDR = 3,
DATA_MSG_T_KLOG = 4,
DATA_MSG_T_NODDR = 5,
DATA_MSG_T_DMA = 6,
DATA_MSG_T_PMU = 7,
DATA_MSG_T_SRAM = 8,
DATA_MSG_T_OOM = 9,
DATA_MSG_T_LOG = 10,
DATA_MSG_T_HDR = 11,
DATA_MSG_T_TSENSOR = 12,
DATA_MSG_T_CDR = 13,
DATA_MSG_T_RECOVER = 14,
DATA_MSG_T_MAX = 64,
};
#endif