You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current communication is purely synchrone: the client sends a command and the firmware answers.
We'd like to allow async messages to implement the following features:
from fw to client
allow to send debug messages
allow to send progress info from long running commands, such as darkside
allow to send critical battery level alerts
allow to send button press events to the client
from client to fw
allow to interrupt a long running command, such as darkside, from the client
Maybe the implementations changes should be done by taking into account a move to asyncio implementations of serial, BLE and TCP communications in the Python client.
The text was updated successfully, but these errors were encountered:
The data in the receiving buffer is now directly passed to the command function for execution. If need to implement commands similar to canceling the execution of Darkside, maybe need a double buffer, which means we cannot destroy the previous data.
Distinguish between synchronous commands and asynchronous broadcasts using status codes or command codes.
PYTHON CLI already has the ability to handle asynchronous commands, but now it is using implementation functions such as blocking and timeout.
Current communication is purely synchrone: the client sends a command and the firmware answers.
We'd like to allow async messages to implement the following features:
from fw to client
darkside
from client to fw
darkside
, from the clientMaybe the implementations changes should be done by taking into account a move to asyncio implementations of serial, BLE and TCP communications in the Python client.
The text was updated successfully, but these errors were encountered: