aboutsummaryrefslogtreecommitdiff
path: root/sem4/embedded/m3/EBNF.txt
diff options
context:
space:
mode:
Diffstat (limited to 'sem4/embedded/m3/EBNF.txt')
-rw-r--r--sem4/embedded/m3/EBNF.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/sem4/embedded/m3/EBNF.txt b/sem4/embedded/m3/EBNF.txt
new file mode 100644
index 0000000..8c1a81a
--- /dev/null
+++ b/sem4/embedded/m3/EBNF.txt
@@ -0,0 +1,14 @@
+l2frame = 0x02, len, l3packet, checksum, 0x03;
+len = byte;
+checksum = byte, byte;
+l3packet = type, recv_id, transducerl, quiet, nummasters, masters;
+recv_id = byte, byte, byte;
+transducerl = byte;
+quiet = byte;
+nummasters = byte;
+masters = master | { master };
+master = rssi, txid, txidtime;
+rssi = byte;
+txid = byte, byte, byte;
+txidtime = byte, byte;
+byte = 0 | 1 | 2 | ... | 255;