Get Message
更新时间: 2025/06/26
在Gitcode上查看源码33h-获取消息(Get-Message)
修订记录
| openUBMC版本号 | 修订日期 | 修订内容 |
|---|---|---|
| 25.06 | 2025/06/26 | 初稿,新增命令详情 |
基本信息
功能说明
获取消息。
权限
命令信息
请求信息
| 参数(字节) | 域取值说明 |
|---|---|
| NetFn | App 06h |
| CMD | 33h |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code generic, plus following command specific completion code: 80h=data not available (queue/buffer empty) Implementation of this completion code is Mandatory. The code eliminates the need for system software to always check the Message Buffer Flags to see if there data left in the Receive Message Queue. If a non-OK, non-80h completion is encountered-software will need to check the Message Flags to get the empty/non-empty status of the Receive Message Queue |
| 2 | Channel Number [7:4] Inferred privilege level for message When the BMC receives a message for the receive message queue, it assigns an ‘inferred privilege level’ to the message as follows: If the message is received from a session-based channel, it will initially be assigned a privilege level that matches the 'maximum requested privilege level' that was negotiated via the Activate Session command |
| 3:N | If per-message authentication is enabled, but User-level authentication is disabled, the BMC will assign a level of 'User' to any messages that are received with an Authentication Type=none. (Note that per-message and user-level authentication options only apply to multi-session channels.) The BMC will then lower the assigned privilege limit, if necessary, based on the present session privilege limit that was set via the Set Session Privilege Level command If the channel is session-less (e.g. IPMB), the BMC will return ‘None’ for the privilege level 0h=None (unspecified) 1h=Callback level 2h=User level 3h=Operator level 4h=Administrator level 5h=OEM Proprietary level [3:0] channel number Message Data. Max. Length & format dependent on protocol associated with channel |
命令样例
获取消息
请求:
ipmicmd -k "0f 00 MM NN" smi 0响应:
0f MM NN