BthSetLocalEirRecord (Compact 2013)
3/26/2014
This function updates an existing Extended Inquiry Response (EIR) record or creates a new local record.
Syntax
Int BthSetLocalEirRecord(
BYTE cbLength,
BYTE bDataType,
PBYTE pData
);
Parameters
- cbLength
[in] Length of the EIR record in bytes.
- bDataType
[in] Data type of the EIR record.
- pData
[in] Pointer to the record data blob.
Return Value
The following table shows the possible return values.
Value |
Description |
---|---|
ERROR_SUCCESS |
Success. |
ERROR_SERVICE_NOT_ACTIVE |
The Bluetooth stack is not present. |
Remarks
The local name data type is reserved. It can only be set internally by the Bluetooth stack.
Requirements
Header |
bt_api.h |
Library |
Btdrt.lib |
See Also
Reference
Bluetooth API Connection Functions
BthRemoveLocalEirRecord
BthGetEirRecord