TransportConfigFrame

public void TransportConfigFrame(TransportConfigFrame.TransportMessage transportMessage, Array<byte> payload)

Build a TransportConfigFrame to send to the remove device to configure or inform of status changes.

Parameters

transportMessage

The type of message to send.

payload

A byte array containing the payload to attach to this message.


Build a TransportConfigFrame to send to the remove device to configure or inform of status changes. Helper for messages that don't need to send a payload.

Parameters

transportMessage

The type of message to send


public void TransportConfigFrame(Array<byte> rawFrame)

Constructor primarily used to re-build config/setup messages that come across the bluetooth radio.

Parameters

rawFrame

A byte array. Usually direct output from the bluetooth radio.