|
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.
|
Property-based tests for GPIO platform abstraction validation. More...
#include <string.h>#include <stdbool.h>#include "unit_test.h"#include "../../meshx/interface/gpio/meshx_gpio.h"#include "../../meshx/interface/gpio/meshx_gpio_platform.h"#include "../../meshx/interface/logging/meshx_log.h"#include "../../meshx/inc/module_id.h"#include "../../meshx/inc/meshx_err.h"Functions | |
| static meshx_err_t | test_property_platform_interface_adherence (void) |
| Property 8.1: Platform Interface Adherence. | |
| static meshx_err_t | test_property_platform_interrupt_support (void) |
| Property 8.2: Platform Interrupt Support. | |
| static meshx_err_t | run_gpio_platform_property_tests (void) |
| Run all Property 8 tests. | |
| static meshx_err_t | gpio_platform_property_test_handler (int cmd_id, int argc, char **argv) |
| GPIO platform property test command handler. | |
| meshx_err_t | register_gpio_platform_property_tests (void) |
| Register GPIO platform property tests. | |
Property-based tests for GPIO platform abstraction validation.
This file implements property-based tests for Property 8: BSP Abstraction and Platform Compatibility.
|
static |
GPIO platform property test command handler.
| meshx_err_t register_gpio_platform_property_tests | ( | void | ) |
Register GPIO platform property tests.
|
static |
Run all Property 8 tests.
|
static |
Property 8.1: Platform Interface Adherence.
Validates that the platform interface functions are present and return expected results for basic operations.
|
static |
Property 8.2: Platform Interrupt Support.
Validates that the platform correctly handles interrupt registration and enabling.