Share via


BTH_SNIFF_MODE

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure stores information about an ACL connection to a peer Bluetooth device that is in SNIFF mode.

Syntax

typedef struct _BTH_SNIFF_MODE {
  unsigned short sniff_mode_max;
  unsigned short sniff_mode_min;
  unsigned short sniff_attempt;
  unsigned short sniff_timeout;
  unsigned short interval;
} BTH_SNIFF_MODE, *PBTH_SNIFF_MODE;

Members

  • sniff_mode_max
    The maximum acceptable number of Baseband slots between each sniff period. The time length is equal to N * 0.625 msec, or 1 Baseband slot. The valid range for N is 0x0001 to 0xFFFF. The valid time range is 0.625 msec to 40.9 seconds.
  • sniff_mode_min
    The minimum acceptable number of Baseband slots between each sniff period. The time length is equal to N * 0.625 msec, or 1 Baseband slot. The valid range for N is 0x0001 to 0xFFFF. The valid time range is 0.625 msec to 40.9 seconds.
  • sniff_attempt
    The number of Baseband receive slots for sniff attempt. The length is equal to (2 * N –1) * 0.625 msec. The valid range for N is 0x0001 to 0x7FFF. The valid time range is 0.625 msec to 40.9 seconds.
  • sniff_timeout
    The number of Baseband receive slots for sniff timeout. If N is greater than 0, the length is equal to (2 * N –1) * 0.625 msec. If N is equal to 0, then the length is equal to 0 msec. The valid range for N is 0x0000 to 0x7FFF. The valid time range is 0 msec to 40.9 seconds.
  • interval
    The number of Baseband slots between sniff intervals.

Requirements

Header ws2bth.h
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Bluetooth Application Development Structures
setsockopt (Bluetooth)