public class UartbusPacketConnectorTest extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
UartbusPacketConnectorTest.ByteArrayHolder |
Constructor and Description |
---|
UartbusPacketConnectorTest() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
bytes(int... vals) |
static UartbusEscapedStreamPacketConnector |
createLoopback(byte escape) |
static void |
testByteLoopbackSquence(byte escape,
byte[] data) |
void |
testUartbusPackUnpack() |
void |
testUartbusUnpack() |
void |
testUartbusUnpack2() |
public static UartbusEscapedStreamPacketConnector createLoopback(byte escape)
public static void testByteLoopbackSquence(byte escape, byte[] data) throws Exception
Exception
public static byte[] bytes(int... vals)
Copyright © 2020. All rights reserved.