pymeasure / leco-protocol

Design notes for a generic communication protocol to control experiments and measurement hardware
https://leco-laboratory-experiment-control-protocol.readthedocs.io
MIT License
6 stars 3 forks source link

remove possibility for multiple content frames #55

Closed bklebel closed 1 year ago

bklebel commented 1 year ago

In #54 we concluded that we want, for the first version of the protocol, to restrict messages to a single json-rpc frame. This now corrects an additional place where multiple frames were mentioned.

BenediktBurger commented 1 year ago

I would not restrict the Message format to have only one payload frame. The restriction applies only to the json rpc messages.

That allows the routing etc. to handle more than one content frame (for future or user applications), while the parsing of commands (in LECO's native format: jsonrpc) takes place only in the first frame.

bklebel commented 1 year ago

Okay, I understand, fine with me, closing this.