SDK for TESAIoT Dev Kit
API reference & tutorials (ModusToolbox)
Loading...
Searching...
No Matches
bento_fw.h File Reference
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Macros

#define BENTO_BUDDY_FW_VERSION   "1.4.0"

Typedefs

typedef struct jsmntok jsmntok_t

Functions

void bento_fw_handle_query (const char *json, const jsmntok_t *toks, int n_toks)
 Handler for bento.fw.query: cheap read-only metadata probe. Dispatcher-only.
void bento_fw_handle_update_begin (const char *json, const jsmntok_t *toks, int n_toks)
 Handler for bento.fw.update.begin: launches the LCD Y/N prompt; ack deferred to the decision.
void bento_fw_emit_boot_complete (void)
 Emit bento.fw.update.complete once per boot on the first CONNECTED transition.
void bento_fw_on_user_decision (int approve)
 Deliver the CM55 LCD Y/N decision for the current prompt; no-op when none is pending.

Macro Definition Documentation

◆ BENTO_BUDDY_FW_VERSION

#define BENTO_BUDDY_FW_VERSION   "1.4.0"

Typedef Documentation

◆ jsmntok_t

typedef struct jsmntok jsmntok_t