Delen via


GattReadRequest.RespondWithProtocolError(Byte) Method

Definition

Responds to the read request with a protocol error.

public:
 virtual void RespondWithProtocolError(byte protocolError) = RespondWithProtocolError;
void RespondWithProtocolError(byte const& protocolError);
public void RespondWithProtocolError(byte protocolError);
function respondWithProtocolError(protocolError)
Public Sub RespondWithProtocolError (protocolError As Byte)

Parameters

protocolError
Byte

byte

The protocol error to send. A list of errors with the byte values can be found in GattProtocolError.

Windows requirements

App capabilities
bluetooth

Applies to