다음을 통해 공유


BTH_SNIFF_MODE (Windows CE 5.0)

Send Feedback

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

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Ws2bth.h.

See Also

Bluetooth Application Development Structures | setsockopt (Bluetooth)

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.