From f17e8e195bd1ee3f911ae311dce8e8f7df4f8457 Mon Sep 17 00:00:00 2001 From: Julian T Date: Wed, 12 Feb 2020 16:47:08 +0100 Subject: Added assignments for emb_m3 --- sem4/embedded/m3/EBNF.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 sem4/embedded/m3/EBNF.txt (limited to 'sem4/embedded/m3/EBNF.txt') 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; -- cgit v1.2.3