16#ifndef __MESHX_RTOS_UTILS_H__
17#define __MESHX_RTOS_UTILS_H__
meshx_err_t
MeshX Error Codes.
meshx_err_t meshx_rtos_get_sys_time(unsigned int *millis)
Retrieves the current system time in milliseconds.
meshx_err_t meshx_rtos_get_curr_task_id_prio(unsigned int *task_id)
Retrieves the current task ID.
meshx_err_t meshx_rtos_calloc(void **ptr, size_t num, size_t size)
Allocates memory for an array of elements and initializes it to zero.
meshx_err_t meshx_rtos_free(void **ptr)
Frees memory allocated to a pointer and sets it to NULL.
meshx_err_t meshx_rtos_malloc(void **ptr, size_t size)
Allocates memory dynamically in a thread-safe manner using FreeRTOS.
size_t meshx_rtos_get_free_heap(void)
Retrieves the amount of free heap memory available in the system.