12#ifndef __MESHX_UNIT_TEST_H__
13#define __MESHX_UNIT_TEST_H__
19#include "argtable3/argtable3.h"
27#if CONFIG_ENABLE_UNIT_TEST
31#define UT_GET_ARG(_x, _type, _argv) (_type) atoi( _argv [_x] )
Internal configuration settings for MeshX.
meshx_err_t
MeshX Error Codes.
Definition meshx_err.h:43
Defines module IDs for different elements in the BLE mesh node application.
module_id_t
Enumeration of module IDs.
Definition module_id.h:27
Structure to hold the unit test callback function.
Definition unit_test.h:53
module_callback_t callback
Definition unit_test.h:54
meshx_err_t register_ut_command()
Registers the unit test (ut) command with the MeshX shell.
Definition unit_test.c:84
meshx_err_t(* module_callback_t)(int cmd_id, int argc, char **argv)
Callback function for unit test modules.
Definition unit_test.h:48
meshx_err_t register_unit_test(module_id_t module_id, module_callback_t callback)
Register a unit test for a specific module.
Definition unit_test.c:137
struct callback_node unit_test_callback_t
Structure to hold the unit test callback function.
meshx_err_t init_unit_test_console(void)
Initialize the unit test console.
Definition unit_test.c:103