IOCTL_BTHX_QUERY_CAPABILITIES is used to query the capabilities of the transport driver. Profile drivers use IOCTL_BTHX_GET_VERSION to get the version supported by the transport driver. The IOCTL_BTH_SDP_SUBMIT_RECORD_WITH_INFO request adds an SDP record to the local SDP server along with attributes that are not part of the SDP record itself. The IOCTL_BTH_SDP_SUBMIT_RECORD request allows a profile driver to add an SDP record to the local SDP server, allowing the client to advertise that a service is available on the local computer. The IOCTL_BTH_SDP_SERVICE_SEARCH request contacts a remote device with an SDP request for handles to SDP records of a particular service class or classes. This allows a caller to directly obtain SDP records from a remote device. The IOCTL_BTH_SDP_SERVICE_ATTRIBUTE_SEARCH request combines an SDP service and attribute search into a single operation. The local server will no longer offer this record to remote devices. The IOCTL_BTH_SDP_REMOVE_RECORD request removes a local SDP record that the profile driver previously submitted. ![]() The IOCTL_BTH_SDP_DISCONNECT request closes a connection to a remote SDP server. The IOCTL_BTH_SDP_CONNECT request creates a connection to the SDP service on a remote Bluetooth device. The IOCTL_BTH_SDP_ATTRIBUTE_SEARCH request obtains attributes for the specified SDP record. The IOCTL_BTH_HCI_VENDOR_COMMAND request allows Bluetooth applications to send vendor-specific commands to radios. The IOCTL_BTH_GET_RADIO_INFO request obtains information about the specified remote radio. The IOCTL_BTH_GET_LOCAL_INFO request returns information about the local Bluetooth system and radio. ![]() The IOCTL_BTH_GET_DEVICE_INFO request returns information about all cached, previously discovered remote radios that are Bluetooth-enabled. Profile drivers use IOCTL_BTH_DISCONNECT_DEVICE to request the operating system to disconnect the specified remote device. The Bluetooth SdpValidateStream function is used to parse a raw SDP record and determine if it contains errors. The Bluetooth SdpRetrieveUuid128 function is used to copy an unaligned 128-bit universally unique identifier (UUID) from an SDP stream. The Bluetooth SdpRetrieveUint64 function is used to copy an unaligned 64-bit integer from an SDP stream. The Bluetooth SdpGetNextElement function is used to iterate through the entries found in an SDP record stream. Profile drivers implement a SCO callback function to provide the Bluetooth driver stack with a mechanism to notify the profile driver about incoming SCO connection requests from remote devices, and any changes to the status of a currently open SCO connection. The BthReuseBrb function reinitializes a Bluetooth request block (BRB) to be reused. The IsBluetoothVersionAvailable function checks whether a given Bluetooth version is supported by the operating system. ![]() ![]() The BthInitializeBrb function initializes a Bluetooth request block (BRB) allocated on the local stack. The BthFreeBrb function frees a Bluetooth request block (BRB) that was allocated previously with BthAllocateBrb. The BthAllocateBrb function allocates a Bluetooth request block (BRB) of the specified type. Profile drivers implement an enhanced L2CAP callback function to provide the Bluetooth driver stack with a mechanism to notify the profile driver about any changes to the status of a currently open L2CAP or eL2CAP connection. Profile drivers implement a L2CAP callback function to provide the Bluetooth driver stack with a mechanism to notify the profile driver about incoming L2CAP connection requests from remote devices, and any changes to the status of a currently open L2CAP connection. The raw bytestream version is suitable for publication on a local SDP server. The Bluetooth SdpConvertTreeToStream function is used to produce a raw bytestream representation of an SDP record from a tree representation. The Bluetooth SdpConvertStreamToTree function is used to create a Microsoft proprietary tree-based representation of an SDP record, while leaving the original stream-based representation unmodified. The Bluetooth SdpByteSwapUuid128 function is used to reverse the byte order of a 128-bit universally unique identifier (UUID). The Bluetooth SdpByteSwapUint64 function is used to reverse the byte order of an unsigned 64-bit integer. The Bluetooth SdpByteSwapUint128 function is used to reverse the byte order of an unsigned 128-bit integer. To develop Bluetooth, you need these headers:įor the programming guide, see Bluetooth.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |