Adding KEEP_ALIVE response.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2022-09-20 15:31:34 +02:00
parent 8b97791d8f
commit 5a4aff7008
6 changed files with 33 additions and 5 deletions

View File

@@ -61,6 +61,8 @@ enum {
};
extern void led_set_blink(uint32_t mode);
extern bool is_req_button_pending();
#define SW_BYTES_REMAINING_00() set_res_sw (0x61, 0x00)
#define SW_WARNING_STATE_UNCHANGED() set_res_sw (0x62, 0x00)
#define SW_WARNING_CORRUPTED() set_res_sw (0x62, 0x81)