Partager via


BTHNS_INQUIRYBLOB (Windows Embedded CE 6.0)

1/6/2010

This structure contains additional parameters for device inquiries.

Syntax

typedef struct _BTHNS_INQUIRYBLOB {
  ULONG LAP;
  unsigned char length;
  unsigned char num_responses;
} BTHNS_INQUIRYBLOB, *PBTHNS_INQUIRYBLOB;

Members

  • LAP
    LAP from which the inquiry access code is derived when the inquiry procedure is made. By default, this value is set to GIAC, 0x9e8b33. Unless you know what this value should be, it is best to leave it set to the default value, especially if you set the value of the length and num_responses members.
  • length
    Amount of time allowed to perform the query. This value is measured in units of 1.28 seconds (time to query=length*1.28 seconds). The default value is 16.
  • num_responses
    Maximum number of devices to retrieve information about before stopping the inquiry. The default value is 16.

Remarks

If lpBlob is NULL, the default values are used.

For Windows Embedded CE, the BthNsLookupServiceBegin function returns only after the device inquiry times out or after the maximum number of queried devices specified in num_responses** are found.**

Requirements

Header bthsdpdef.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Bluetooth Application Development Structures