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.
Loading...
Searching...
No Matches
meshx_io_interface.hpp File Reference

MeshX Abstract IO Interface. More...

#include <cstdint>
#include <vector>
#include <memory>
#include "meshx_c_header.h"

Go to the source code of this file.

Data Structures

class  meshx::MeshXIoInterface
 Abstract IO Interface. More...

Namespaces

namespace  meshx

Typedefs

using meshx::IoFactoryFunction = std::unique_ptr<MeshXIoInterface>(*)(uint8_t logical_pin, const char* name)
 IO Factory function type.

Enumerations

enum class  meshx::IoFunction {
  meshx::SET_LEVEL = 0 ,
  meshx::GET_LEVEL ,
  meshx::TOGGLE ,
  meshx::SET_PWM_DUTY ,
  meshx::SET_PWM_FREQUENCY ,
  meshx::REGISTER_INTERRUPT ,
  meshx::UNREGISTER_INTERRUPT ,
  meshx::ENABLE_INTERRUPT ,
  meshx::CUSTOM_FUNCTION ,
  meshx::FUNCTION_MAX
}
 IO Function Types for function-based API. More...

Detailed Description

MeshX Abstract IO Interface.

This file defines the abstract IO interface for unified IO operations. The interface provides a function-based API for extensible GPIO, PWM, and custom IO.

Author
MeshX Team
Date
2024