New serial protobuf transport approximately works and is backward

compatiable with the text debug output.
This commit is contained in:
geeksville
2020-04-27 09:36:39 -07:00
parent e5d2d24e2c
commit cceecf5f8e
7 changed files with 84 additions and 17 deletions

View File

@@ -57,12 +57,12 @@ class PhoneAPI
PhoneAPI();
/// Do late init that can't happen at constructor time
void init();
virtual void init();
/**
* Handle a ToRadio protobuf
*/
void handleToRadio(const uint8_t *buf, size_t len);
virtual void handleToRadio(const uint8_t *buf, size_t len);
/**
* Get the next packet we want to send to the phone