Get Channel Access 命令详情
更新时间:2025/06/26
在Gitcode上查看源码修订记录
| openUBMC版本号 | 修订日期 | 修订人 | 修订内容 |
|---|---|---|---|
| 25.06 | 2025/06/26 | pengqiang-gs | 初稿,新增命令详情 |
基本信息
功能说明
标准命令,获取通道的访问属性。 This command is used to return whether a given channel is enabled or disabled, whether alerting is enabled or disabled for the entire channel, and under what system modes the channel can be accessed.
权限
ReadOnly
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | [7:4] - reserved [3:0] - Channel number |
| 2 | [7:6] - 00b = reserved 01b = get non-volatile Channel Access 10b = get present volatile (active) setting of Channel Access 11b = reserved [5:0] - reserved |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code, generic, plus following command-specific completion codes: 82h = set not supported on selected channel (e.g. channel is sessionless.) |
| 2 | [7:6] - reserved [5] 0b = Alerting enabled 1b = Alerting disabled [4] - Per-message Authentication Enable/Disable. This bit is unspecified for channels (e.g. serial/modem) that do not support Per-message Authentication. 0b = per message authentication enabled 1b = per message authentication disabled [3] - User Level Authentication Enable 0b = User Level Authentication enabled. 1b = User Level Authentication disabled. [2:0] - Access Mode 0h = disabled channel disabled for communication 1h = pre-boot only channel only available when system is in a powered down state or in BIOS prior to start of boot. 2h = always available channel always available for communication regardless of system mode. BIOS typically dedicates the serial connection to the BMC. 3h = shared same as always available, but BIOS typically leaves the serial port available for software use. |
| 3 | Channel Privilege Level Limit. This value returns the maximum privilege level that can be accepted on the specified channel. [7:4] - reserved [3:0] - Channel Privilege Level Limit 0h = reserved 1h = CALLBACK level 2h = USER level 3h = OPERATOR level 4h = ADMINISTRATOR level 5h = OEM Proprietary level |
命令样例
样例1:获取通道1的访问属性
- 请求:
- 响应: