Trident IoT SDK
Loading...
Searching...
No Matches
tr_cli_buffer.h File Reference

code for buffering bytes to be sent to the CLI utility More...

#include <stdint.h>
Include dependency graph for tr_cli_buffer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tr_cli_buffer_stats_t
 Structure containing CLI buffer driver statistics. More...

Functions

void tr_cli_buffer_init (void)
 Initializes the CLI byte buffer.
void tr_cli_buffer_byte (uint8_t new_input_char)
 Stores a byte from the UART in the buffer.
void tr_cli_buffer_process_bytes (void)
 Processes buffered bytes and hands them to the CLI.
void tr_cli_buffer_clear_stats (void)
 Clears the buffer driver statistics.
tr_cli_buffer_stats_t tr_cli_buffer_get_stats (void)
 Reads the current buffer driver statistics.

Detailed Description

code for buffering bytes to be sent to the CLI utility


SPDX-License-Identifier: LicenseRef-TridentMSLA SPDX-FileCopyrightText: 2025 Trident IoT, LLC https://www.tridentiot.com