Share via


OID_IRDA_MEDIA_BUSY

The OID_IRDA_MEDIA_BUSY OID 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 zero 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 zero.

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

 

 

Send comments about this topic to Microsoft