Google is committed to advancing racial equity for Black communities. See how.

fuchsia.bluetooth.rfcomm.test

PROTOCOLS

RfcommTest

Defined in fuchsia.bluetooth.rfcomm.test/test.fidl

Provides additional methods to initiate RFCOMM protocol behavior. These methods are strictly for testing.

Disconnect

Disconnect the RFCOMM session with the connected peer.

This is a no-op if there is no connected peer with identifier id.

  • request id is the unique identifier associated with the connected RFCOMM peer.

Request

NameType
id fuchsia.bluetooth/PeerId

RemoteLineStatus

Notify the connected peer of a change in the remote line status.

This is a no-op if there is no connected peer with identifier id.

  • request id is the unique identifier associated with the connected RFCOMM peer.
  • request channel_number is the identifier of the RFCOMM channel whose line status changed.
  • request status is the status of the line.

Request

NameType
id fuchsia.bluetooth/PeerId
channel_number fuchsia.bluetooth.bredr/RfcommChannel
status Status

STRUCTS

ENUMS

Status strict

Type: uint32

Defined in fuchsia.bluetooth.rfcomm.test/test.fidl

The status of the line.

These are defined in GSM 07.10 Section 5.4.6.3.10.

NameValueDescription
OK 0
OVERRUN_ERROR 1
PARITY_ERROR 2
FRAMING_ERROR 3