Get Message
更新时间: 2026/08/06
在Gitcode上查看源码

Get Message

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

Obtains messages.

Privilege

Command Information

Request Information

ByteData Field
NetFnApp 06h
CMD33h

Response Information

ByteData Field
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
3:NIf 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

Command Example

Obtain a message.

Request:

bash
ipmicmd -k "0f 00 MM NN" smi 0

Response:

text
0f MM NN

Back to Index