Get Message 命令详情
更新时间:2025/06/26
在Gitcode上查看源码

修订记录

openUBMC版本号修订日期修订人修订内容
25.062025/06/26pengqiang-gs初稿,新增命令详情

基本信息

功能说明

标准命令,获取消息的缓存队列中的消息。 This command is used to get data from the Receive Message Queue.

权限

ReadOnly

命令信息

请求信息

无请求参数

响应信息

字节顺序域取值说明
1Completion 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.
2Channel 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.

 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
3:NMessage Data. Max. Length & format dependent on protocol associated with channel.

命令样例

样例1:获取消息的缓存队列中的消息

  • 请求:
  • 响应:

返回到索引