|
SDK for TESAIoT Dev Kit
API reference & tutorials (ModusToolbox)
|
Functions | |
| bool | ai_engine_snapshot (ai_result_t *out) |
| Copy the latest published result; last-writer-wins — not valid inside a set. | |
| bool | ai_engine_snapshot_model (uint32_t index, ai_result_t *out) |
| One model's last verdict — the reader to use inside a parallel set. | |
| uint32_t | ai_engine_model_count (void) |
| How many models are registered; the count leads the rows. | |
| const ai_model_desc_t * | ai_engine_model (uint32_t index) |
| Registry entry, NULL if out of range — and NULL for a set pseudo-index. | |
| bool | ai_engine_mic_settling (void) |
| True while a parallel set is still filling its windows; verdicts are withheld. | |
| uint32_t | ai_engine_mic_settle_pct (void) |
| Settle progress 0..100; only meaningful inside a set (100 otherwise). | |
Six functions: the two result readers (and when each is valid), the registry enumeration pair, and the two settle readings a parallel set exposes.
| bool ai_engine_snapshot | ( | ai_result_t * | out | ) |
Copy the latest published result; last-writer-wins — not valid inside a set.
Copy the latest result. Returns false if nothing has been published yet.
| bool ai_engine_snapshot_model | ( | uint32_t | index, |
| ai_result_t * | out ) |
One model's last verdict — the reader to use inside a parallel set.
One model's last verdict. Use this, not ai_engine_snapshot(), whenever several models may be publishing: that one reports whoever wrote most recently, so three quiet models can bury a detection before it is read. False if that model has never published.
| uint32_t ai_engine_model_count | ( | void | ) |
How many models are registered; the count leads the rows.
| const ai_model_desc_t * ai_engine_model | ( | uint32_t | index | ) |
Registry entry, NULL if out of range — and NULL for a set pseudo-index.
Registry entry (NULL if out of range).
| bool ai_engine_mic_settling | ( | void | ) |
True while a parallel set is still filling its windows; verdicts are withheld.
True while the parallel set is still filling its windows. Verdicts are withheld until then; show it rather than four silent zero bars.
| uint32_t ai_engine_mic_settle_pct | ( | void | ) |
Settle progress 0..100; only meaningful inside a set (100 otherwise).
Settle progress, 0..100, for a caller that wants to show it moving.