Export (0) Print
Expand All

BTH_L2CAP_EVENT_INFO structure

The BTH_L2CAP_EVENT_INFO structure contains data about events associated with an L2CAP channel.

Syntax


typedef struct _BTH_L2CAP_EVENT_INFO {
  BTH_ADDR bthAddress;
  USHORT   psm;
  UCHAR    connected;
  UCHAR    initiated;
} BTH_L2CAP_EVENT_INFO, *PBTH_L2CAP_EVENT_INFO;

Members

bthAddress

Remote radio address with which the L2CAP event is associated, in the form of a BTH_ADDR structure.

psm

Channel number established or terminated.

connected

Status of the connection. If nonzero, the channel has been established. If zero, the channel has been terminated.

initiated

Provides connection information. If nonzero, the local radio initiated the L2CAP connection. If zero, the remote Bluetooth device initiated the L2CAP connection. If connected is zero, this member is undefined and not applicable.

Remarks

Notifications for a destroyed channel are only to be sent for channels that have been successfully established.

Requirements

Minimum supported client

Windows Vista, Windows XP with SP2 [desktop apps only]

Minimum supported server

None supported

Header

Bthdef.h

See also

BTH_ADDR
Bluetooth and WM_DEVICECHANGE Messages

 

 

Community Additions

ADD
Show:
© 2014 Microsoft