Intel AMT Features > Event Manager > Use Cases > Get Intel AMT PET Capabilities
CollapseAll image

Get Intel AMT PET Capabilities

The following step describes how to get details about the sensors that an Intel AMT System supports. Sensor capabilities are based on the PET specification.

1.  Invoke AMT_PETCapabilities.Enumerate.

2.  If no objects were returned, there are no sensors on the platform. Otherwise, examine the properties of each object to determine the supported sensors:

a.  InstanceID: Intel(r) AMT: PET Capabilities %d" where %d is the sensor number.

b.  EventSensorType: Based on the PET specification. For example, 01h is temperature.

c.  EventType: Based on the PET specification. For example, 01h is Threshold-based; 6Fh is sensor-specific.

d.  DeviceAddress: The SMBus address of the physical sensor device that implements the logical sensor.

Use this information to create an event filter.

Click here for a snippet demonstrating this step

You can execute this snippet by inserting it into the execution template found here.

  

$PETCapabilitiesRef=$wsmanConnectionObject.NewReference("AMT_PETCapabilities")

 

foreach($elementCapabilitiesItemin$PETCapabilitiesRef.Enumerate("http://schemas.dmtf.org/wbem/wsman/1/wsman/SelectorFilter",$null))

{  

 

    $capabilitiesInstance=$elementCapabilitiesItem.Object     

 

    $inctanceID=$capabilitiesInstance.GetProperty("InstanceID")

 

    $eventSensorType=$capabilitiesInstance.GetProperty("EventSensorType")

 

    $eventType=$capabilitiesInstance.GetProperty("EventType")

 

    $deviceAddress=$capabilitiesInstance.GetProperty("DeviceAddress")

 

}

 

 

 

Instance Diagram

Classes Used in This Flow

SDK Sample

Not applicable

 

See Also:

   Sensors and Sensor Events

 

Copyright © 2006-2022, Intel Corporation. All rights reserved.