Intel NetStructure® MPCBL0001 High Performance Single Board Computer

Contents

3.16.1.2Configuration of Buffering/Filtering

Configuration of the Serial Buffering and Filtering features is accomplished with Intel-specific (OEM) IPMI commands: Set Serial Buffer Configuration and Get Serial Buffer Configuration. The Set Serial Buffer Configuration command can enable/disable both filtering and buffering.

The lower seven bits of the first byte of the Set Serial Buffer Configuration command are reserved and should be set to 0. If the most significant bit (80h) is set, then the buffer will be cleared when the parameters are set.

The second data byte defines which parameters will change and what they will change to. Bits 4 and 5 are mask bits that enable the usage of bits 1 and 0 respectively. If 00h is the value of this byte, then no changes in configuration will happen. Bit 0 is used to enable/disable filtering and bit 1 is for enabling/disabling buffering. A 00h value can be used when clearing the buffer without changing any parameters.

Table 40. Set Serial Buffer Configuration Command: Net Function=30h, Command=32h

 

Byte

 

 

Data Field

 

 

 

 

 

 

 

[7]

1b = Clear buffer

 

 

[6]

Reserved

 

 

[5]

1b = Use value in [1] to enable/disable buffering

 

 

0b

=

Ignore setting in [1]

 

 

[4]

1b = Use value in [0] to enable/disable filtering

Request Data

1

0b =

Ignore setting in [0]

 

 

[3:2] – Reserved

 

 

[1]

–1b = Enable buffering if [5] == 1b

 

 

0b

= Disable buffering if [5] == 1b

 

 

[0]

–1b = Enable filtering if [4] == 1b

 

 

0b

= Disable filtering if [4] == 1b

 

 

 

Response Data

1

Completion code

 

 

 

 

 

Table 41. Get Serial Buffer Configuration Command: NetFn=30h, Cmd=31h

 

Byte

 

Data Field

 

 

 

 

1

Completion code

 

 

 

 

 

[7:2] – Reserved

Response Data

 

[1]

–1b = Buffering is enabled

2

0b

= Buffering is disabled

 

 

 

[0]

–1b = Filtering is enabled

 

 

0b

= Filtering is disabled

 

 

 

 

3.16.1.3Reading Buffered Data

The buffer has the capability to hold approximately 2048 characters. The buffer is circular so that when it fills, it will automatically start overwriting the oldest data first. This provides a “snapshot” of the last 2048 characters written to the COM2 port.

76

Technical Product Specification

 

Order #273817

Page 76
Image 76
Intel MPCBL0001 manual Configuration of Buffering/Filtering, Reading Buffered Data, Response Data