From dc091b9d6cfdc2e4901c315d289b45268155a37c Mon Sep 17 00:00:00 2001 From: Muyun Cai Date: Fri, 24 Dec 2021 10:42:44 -0500 Subject: [PATCH 1/2] Update protocol.md with connection flags definition --- src/hardware/developing-an-iox/protocol.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/developing-an-iox/protocol.md b/src/hardware/developing-an-iox/protocol.md index bad752e22..6b31f65e9 100644 --- a/src/hardware/developing-an-iox/protocol.md +++ b/src/hardware/developing-an-iox/protocol.md @@ -195,7 +195,7 @@ Sent from the IOX to the GO device when the IOX wants to create a log that can f | --- | --- | | 1 | Connected = 1, Disconnected = 0 | | 2-3 | Data ID | -| 4-5 | Connection flags | +| 4-5 | Connection flags:
**1st bit:** Handshake Confirmation ACK
0 means no Ack to Handshake Confirmation message will be sent by the GO device.
1 means the Handshake Confirmation is to be ACKed with a Third Party Data Acknowledge message.
**2nd bit:** Binary Data Packet Wrapping
0 means the passthrough data from the server will be passed to the external device without modification.
1 means the passthrough data from the server will be wrapped in a Binary Data Packet message before being sent to the external device.
**All other bits:** Reserved for future implementation, must be set to 0
| #### Log Type: 2 (GenericFaultRecord) From f4cce47ec7f7fdc9e8a966afe45d1d51eb4edb96 Mon Sep 17 00:00:00 2001 From: Muyun Cai Date: Mon, 11 Apr 2022 14:12:36 -0400 Subject: [PATCH 2/2] Modified 1st bit because it has no effect --- src/hardware/developing-an-iox/protocol.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/developing-an-iox/protocol.md b/src/hardware/developing-an-iox/protocol.md index 6b31f65e9..9495491e0 100644 --- a/src/hardware/developing-an-iox/protocol.md +++ b/src/hardware/developing-an-iox/protocol.md @@ -195,7 +195,7 @@ Sent from the IOX to the GO device when the IOX wants to create a log that can f | --- | --- | | 1 | Connected = 1, Disconnected = 0 | | 2-3 | Data ID | -| 4-5 | Connection flags:
**1st bit:** Handshake Confirmation ACK
0 means no Ack to Handshake Confirmation message will be sent by the GO device.
1 means the Handshake Confirmation is to be ACKed with a Third Party Data Acknowledge message.
**2nd bit:** Binary Data Packet Wrapping
0 means the passthrough data from the server will be passed to the external device without modification.
1 means the passthrough data from the server will be wrapped in a Binary Data Packet message before being sent to the external device.
**All other bits:** Reserved for future implementation, must be set to 0
| +| 4-5 | Connection flags:
**1st bit:** Reserved, please set to 0
**2nd bit:** Binary Data Packet Wrapping
0 means the passthrough data from the server will be passed to the external device without modification.
1 means the passthrough data from the server will be wrapped in a Binary Data Packet message before being sent to the external device.
**All other bits:** Reserved for future implementation, must be set to 0
| #### Log Type: 2 (GenericFaultRecord)