Bagikan melalui


SOL_IRLMP

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The following table describes SOL_IRLMP Socket Options. See getsockopt and setsockopt for more information on getting and setting socket options. To enumerate protocols and discover supported properties for each installed protocol, use the WSAEnumProtocols function.

SOL_IRLMP

These contansts are defined in %WINCEROOT%\SDK\

Option    get/set Optval Type Description

IRLMP_ENUMDEVICES

get

DEVICELIST

Returns a list of IrDA device IDs for IR capable devices within range.

IRLMP_IAS_QUERY

get

IAS_QUERY

Queries IAS on a given service and class name for its attributes.

IRLMP_IAS_SET

set

IAS_SET

Enables an application to set a single class in the local IAS. The application specifies the class to set, the attribute, and attribute type.

IRMP_IRLPT_MODE

set

int

Disables TinyTP mode and sends data directly over IrLMP frames.

IRLMP_EXCLUSIVE_MODE

 

int

Sets socket to bypass TinyTP layer to directly communicate with IrLMP

IRLMP_9WIRE_MODE

set

int

Puts the IrDA socket into IrCOMM mode

IRLMP_SHARP_MODE

set

int

Enables the Sharp mode.

IRLMP_SEND_PDU_LEN

get

int

Retrieves the maximum PDU length required to use IRLMP_9WIRE_MODE

See Also

Concepts

Socket Options