Specifications
5
Managing Alarms and Events
97
Parameter values for setting alarm controls
ThefollowinglistidentifiesthepossiblesaHpiControlSet()functionparametervalues:
•SessionId=<asreturnedbythesaHpiSessionOpen()function>
•ResourceId=<resourceIdoftheFRUgivingacce sstoalarmindicators,seeTable 13on
page 95>
•CtrlNum=<controlnumberofthegivencontrol,seeTable 14onpage 96>
• CtrlMode=SAHPI_CTRL_MODE_MANUAL
• CtrlState=<oneofthefollowing>
ForAlarmLEDcontrols:
(ATCA‐6000only)
•.Type= SAHPI_CTRL_TYPE_OEM
• .StateUnion.Oem.MId=0
• .StateUnion.Oem.BodyLength=6
• .StateUnion.Oem.Body=<refertosection4.5.7ofthe
HPI‐to‐AdvancedTCAMappingspecification>
ForAudiblecontrol:
(ATCA‐6000only):
•.Type= SAHPI_CTRL_TYPE_STREAM
• .StateUnion.Stream.Repeat=SAHPI_TRUE
• .StateUnion.Stream.StreamLength=2
•.StateUnion.Stream.Stream=<two‐bytepatternto
representdesiredbeepingpattern>
ForLCDPanelcontrol:
(ATCA‐6000only)
•.Type= SAHPI_CTRL_TYPE_TEXT
• .StateUnion.Text.Line=1,2,orSAHPI_CLN_ALL_LINES
• .StateU nion.Text.Text.DataType=SAHPI_TL_TYPE_TEXT
• .StateUnion.Text.Text.Language=SAHPI_LANG_ENGLISH
• .StateU nion.Text.Text.DataLength=<0‐40>or<0‐80>if
LineisSAHPI_TLN_ALL_LINES
• .StateU nion.Text.Text.Data=<user‐specifiedASCIItext>
ForTelcoAlarmcontact
controls:
(ATCA
‐6000,ATCA‐6006):
•.Type= SAHPI_CTRL_TYPE_DIGITAL
• .StateUnion.Digital=SAHPI_CTRL_STATE_OFFor
SAHPI_CTRL_STATE_ON