Share via


OID_IRDA_MEDIA_BUSY (Windows Embedded CE 6.0)

1/6/2010

This object identifier requests information about whether the media is busy — that is, whether the miniport driver detects packet traffic.

For a set, the miniport driver can start to monitor the media for a busy condition. IrLAP sets the value of OID_IRDA_MEDIA_BUSY to 0 to inform the miniport driver to monitor for a media-busy condition. If the miniport driver detects infrared traffic of any kind, it must:

  • Set the value of OID_IRDA_MEDIA_BUSY to nonzero.
  • Call the NdisMIndicateStatus function to indicate that the media is busy. In this call, the miniport driver passes NDIS_STATUS_MEDIA_BUSY in the GeneralStatus parameter.

After the value of OID_IRDA_MEDIA_BUSY is set to nonzero, the miniport driver does not monitor the media for a busy condition again until IrLAP resets OID_IRDA_MEDIA_BUSY to 0.

For a query, the miniport driver determines if media is currently busy. The miniport driver returns a 0 value if the media is not busy. The miniport driver returns a nonzero value if it detects packet traffic.

Requirements

Header ntddndis.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IrDA Object Identifiers
NdisMIndicateStatus

Concepts

IrDA Network Adapters