aboutsummaryrefslogtreecommitdiff
path: root/sem4/embedded/m3/EBNF.txt
blob: 8c1a81ae7813eebfff0fe8258569b62263d51089 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;