Skip to content

Adding bytearray interface next to the json based serial interface #88

@beniroquai

Description

@beniroquai

Currently the way commands are sent to the board is the via serial in the form of of Json based formats. This creates additional Overhead as we have to send large strings over usb to the board. It would be more efficient to send byte arrays and interpreting them directly instead of casting them from json Everytime. For this we would need to update both, the serial interface on the esp side as well as the python library. Probably only the serial class has to be upgraded .https://github.com/openUC2/UC2-REST/blob/master/uc2rest/mserial.py We want to keep both Interfaces and want to be able to select them in a reasonable way. Either with a switch that can be switched via serial or a compile switch.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions