antirez / antirez/freakwan

Make command replies consistent with requests

Aperta
#22 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
503
Fork
28
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

As talked before it would be nice to have command replies (for example !bat) to answer with some consistency to command requests for easier handling by software.

As proposed before each command reply can start with the character `$`.

For example when requesting battery info through `!bat` the reply from the freakwan device could be `$battery 100%, 4.20 volts`

In this way we could avoid using for example regexps to handle every reply from the node and easily distiguish between command replies and received messages (from other freakwan nodes)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.