|
SDK for TESAIoT Dev Kit
API reference & tutorials (ModusToolbox)
|
#include <stdbool.h>#include <stddef.h>#include <stdint.h>Go to the source code of this file.
Functions | |
| int | nus_emit_event (const char *json) |
| Send one JSON event frame (no trailing newline — the LF is appended); 0/-1 only. | |
| void | nus_events_push_pending_ack (const char *id) |
| Push a notification id onto the pending-ack FIFO; dedups, evicts oldest when full. | |
| bool | nus_events_drain_pending_ack (const char *id) |
| Remove an id from the FIFO; true if found — the CM55 tap's bento.user.ack path. | |
| size_t | nus_events_pending_ack_count (void) |
| Number of ids in the FIFO; telemetry and host unit tests. No caller anywhere. | |