|
MeshX 0.4
This repository provides an implementation for Bluetooth Low Energy (BLE) Mesh network nodes. The project allows you to create BLE mesh nodes that can communicate with each other, enabling the development of smart home solutions or other IoT-based applications.
|
Platform-agnostic shell interface for MeshX. More...
#include "meshx_err.h"Go to the source code of this file.
Data Structures | |
| struct | meshx_shell_cmd_t |
| Shell command structure. More... | |
Macros | |
| #define | MESHX_SHELL_MAX_COMMANDS 32 |
Typedefs | |
| typedef int(* | meshx_shell_func_t) (int argc, char **argv) |
| Shell command function pointer type. | |
Functions | |
| meshx_err_t | meshx_shell_init (void) |
| Initializes the MeshX shell core and the underlying platform console. | |
| meshx_err_t | meshx_shell_register_command (const meshx_shell_cmd_t *cmd) |
| Registers a command with the MeshX shell. | |
| meshx_err_t | meshx_shell_start (void) |
| Starts the MeshX shell task. | |
| void | meshx_shell_printf (const char *fmt,...) |
| Prints a message to the shell console. | |
Platform-agnostic shell interface for MeshX.
Copyright © 2024 - 2025 MeshX
| #define MESHX_SHELL_MAX_COMMANDS 32 |
| typedef int(* meshx_shell_func_t) (int argc, char **argv) |
Shell command function pointer type.
| meshx_err_t meshx_shell_init | ( | void | ) |
Initializes the MeshX shell core and the underlying platform console.
| void meshx_shell_printf | ( | const char * | fmt, |
| ... ) |
Prints a message to the shell console.
| [in] | fmt | Format string. |
| [in] | ... | Arguments. |
| meshx_err_t meshx_shell_register_command | ( | const meshx_shell_cmd_t * | cmd | ) |
Registers a command with the MeshX shell.
| [in] | cmd | Pointer to the command structure. |
| meshx_err_t meshx_shell_start | ( | void | ) |
Starts the MeshX shell task.