|
SDK for TESAIoT Dev Kit
API reference & tutorials (ModusToolbox)
|
#include <stddef.h>#include <stdint.h>#include "vendor/jsmn.h"Go to the source code of this file.
Functions | |
| void | nus_commands_dispatch (const char *json, size_t json_len, const jsmntok_t *toks, int n_toks, const jsmntok_t *t_cmd) |
| Route a top-level "cmd" frame to its handler; internal to the RX path. | |
| void | nus_commands_emit_ack (const char *ack_cmd, size_t ack_cmd_len, const char *ok_true_or_null, const char *error_or_null, int n) |
| Emit a command ack (verb hard-truncated at 32 chars); void — a send failure is invisible. | |
| void | nus_commands_handle_time_sync (const char *json, const jsmntok_t *toks, int n) |
| Handle the one-shot {"time":[epoch,tz]} frame; no ack is emitted. | |
| void | nus_radio_emit_state_event (const struct radio_status_s *st) |
| The shipped on_state hook — only ever used as a function pointer, never called directly. | |