次の方法で共有


SOL_IRLMP (Compact 2013)

3/26/2014

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

Reference

Socket Options