When code is received, parse all the events in mininotation strings and tag them with unique identifiers, probably prefixed with an identifier that is sent with the code.
Send back these locations as e.g. tuples of (id, x, y, length) to the sender.
Then as events are triggered, send timestamped messages with the id and duration of the event.
When code is received, parse all the events in mininotation strings and tag them with unique identifiers, probably prefixed with an identifier that is sent with the code. Send back these locations as e.g. tuples of
(id, x, y, length)
to the sender. Then as events are triggered, send timestamped messages with the id and duration of the event.